﻿/* embed flv in unstructured HTML content */
/* requires nicetitle.js */
window.addEvent('domready', function() 
{ 
	var theFlash = document.getElementById("player");
	if (theFlash) 
	{
		var flv = theFlash.getAttribute("flv");
		var noFlashContent = "<div class='noFlashMessage'><div class='noFlashcopy'><strong>HOLD UP!</strong><br />Looks like you're missing the Flash plug-in (requires Flash Player 8 or higher). Go ahead and download it for free. We'll still be here when you get back and you'll be able to see the page as we intended.<br /></div><a href='http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' target='new'><img src='/img/get_flash.gif' border='0' /></a><br /><a class='arrowTextLink' href='http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' target='new'>DOWNLOAD NOW</a></div></div>";
		theFlash.innerHTML = noFlashContent;
		var flash_vars = "&flvSrc=" + encodeURI(flv);
		var FO = { movie:"/swf/videoPlayer.swf", width:"100%", height:"100%", majorversion:"8", build:"0", flashvars:flash_vars, wmode:"transparent"};
		UFO.create(FO, "player");
	}
});

