var flvpath = "";
var flvfile = "Gold-keyed";
var flvwidth = "384";
var flvheight = "384";
var flvskin = "Clear_Skin_1";
var flvtime = "";

var floaterCookieName = "";
var showFloater = true;

if ( floaterCookieName == "" ) { //if no cookie name is provided then always show floater
	showFloater = true;
	//document.write("<p>Cookie disabled.  Always Show Floater");
} else {
	if ( getCookie(floaterCookieName) == "" ) { // cookie not found so show floater
		showFloater = true;
		// set cookie so it isn't shown the next time
		setFloaterCookie(floaterCookieName)
		//document.write("<p>Shown for first time.  Cookie " + floaterCookieName + " has been set");
	} else { // don't show the floater
		showFloater = false;
		//document.write("<p>Cookie " + floaterCookieName + " says to not play again");
	}
}

function getCookie(c_name)
{
	if (document.cookie.length>0)
	{
		c_start=document.cookie.indexOf(c_name + "=")
		if (c_start!=-1)
		{
			c_start=c_start + c_name.length+1
			c_end=document.cookie.indexOf(";",c_start)
			if (c_end==-1) c_end=document.cookie.length
			return unescape(document.cookie.substring(c_start,c_end))
		}
	}
	return ""
}

function setFloaterCookie(c_name)
{
	document.cookie=c_name+ "=1;"
}

if ( showFloater ) {

document.write('<div id="fixeddiv">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="' + flvwidth + '" height="' + flvheight + '" id="FLVPlayer1"><param name="movie" value="' + flvpath + 'FLVPlayer_Progressive.swf" /><param name="salign" value="lt" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="wmode" value="transparent" /><param name="FlashVars" value="&MM_ComponentVersion=1&skinName=' + flvpath + 'Clear_Skin_1&streamName=' + flvpath + flvfile + '&autoPlay=true&autoRewind=true" /><embed src="' + flvpath + 'FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=' + flvpath + 'Clear_Skin_1&streamName=' + flvpath + flvfile + '&autoPlay=true&autoRewind=true" quality="high" scale="noscale" width="' + flvwidth + '" height="' + flvheight + '" name="FLVPlayer1" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" /></object>');
document.write('</div>');

}