var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;

var videoObj=null;

function showFLV(filename){
	var url="playersingpp.swf?file="+filename;
	var buf='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="playersingpp" width="480" height="368" align="middle">';
	buf+='<param name="allowScriptAccess" value="sameDomain" />';
	buf+='<param name="movie" value="'+url+'" /><param name="quality" value="high" /><param name="bgcolor" value="#2b255c" />';
	buf+='<embed src="'+url+'" quality="high" bgcolor="#2b255c" width="480" height="368" swLiveConnect=true id="playersingpp" name="playersingpp" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>';

	buf="<table width=100% height=100% cellspacing=0 cellpadding=0><tr><td align=center valign=middle>"+buf+"</td></tr></table>";
	var o=document.createElement("DIV");
	if(!videoObj){
		o.className="videoview";
		document.body.appendChild(o);
		videoObj=o;
	}
	videoObj.innerHTML=buf;
	videoObj.style.display="block";
}

function hideFLV(){
	if(!videoObj) return;
	videoObj.innerHTML="";
	videoObj.style.display="none";
}

document.write('<style\>\n');
document.write('.videoview {position:absolute;z-index:9;width:100%;height:100%;top:0px;left:0px;}\n');
document.write('</style\>\n');