// JavaScript Document

	var myVideo = new Object();
	
	function init() {
		loadFLVs();
		fixIEFlicker();
	}
	YAHOO.util.Event.onDOMReady(init);

	function loadFLVs() {
		// There are video ids at the bottom of the page. Each of these ids needs to be
		// manually added to this function before you can have Flash read the FLV path.
		// There are three examples here for reference, but we are only using one on
		// this page. The other two samples are commented out.
		myVideo.FLVPath1 = YAHOO.util.Dom.get("video1");
		// myVideo.FLVPath2 = YAHOO.util.Dom.get("video2");
		// myVideo.FLVPath3 = YAHOO.util.Dom.get("video3");
		myVideo.FLVPath1 = ".." + myVideo.FLVPath1.href.substr(myVideo.FLVPath1.href.indexOf("/video"));
		// myVideo.FLVPath2 = ".." + myVideo.FLVPath2.href.substr(myVideo.FLVPath2.href.indexOf("/video"));
		// myVideo.FLVPath3 = ".." + myVideo.FLVPath3.href.substr(myVideo.FLVPath3.href.indexOf("/video"));
		
		// SWF Object used to display video host at top right of page
		var so = new SWFObject("flash/flash_interior.swf", "flash_swf", "264", "264", "8", "#333333");
		so.addParam("wmode", "transparent");
		so.addVariable("FLVPath", myVideo.FLVPath1);
	    so.write("flash_interior");
	}
	
	function fixIEFlicker() {
	/*@cc_on
		document.execCommand("BackgroundImageCache", false ,true);
	@*/
	}
