// JavaScript Document
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
var winie = navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && navigator.userAgent.indexOf("Windows")>=0
var dcap = (document.all);
var gcap = (document.getElementById);
var ie4 = dcap && (!gcap);
var nisChk = false;
//
function showSwf(){
	if ( plugin ) {
		while(swf.indexOf("+")!=-1){swf = swf.replace("+", "%2B");}
		document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
		document.write(' WIDTH='+swfWidth+' HEIGHT='+swfHeight+'>');
		document.write(' <PARAM NAME=movie VALUE="'+ swf +'"><PARAM NAME=loop VALUE=true><PARAM NAME=quality VALUE=high>  '); 
		document.write(' <EMBED src="'+ swf +'" loop=true quality=high  ');
		document.write(' swLiveConnect=FALSE WIDTH='+swfWidth+' HEIGHT='+swfHeight+'');
		document.write(' TYPE="application/x-shockwave-flash">');
		document.write(' </EMBED>');
		document.write(' </OBJECT>');
	} else {
		var alternateContent = '<p class="red">This content requires the Adobe Flash Player</p>'
		+ '<p><a href="http://www.adobe.com/products/flashplayer/" target="adobe" onclick="winUp(this);return false" />Adobe Flash Player Download Center</a></p>';
		document.write(alternateContent);  //
	}
}
//
if (winie) {
	if(ie4) eval('if(self["swfWidth"]) nisChk=true;');
	else eval('try {if(swfWidth) nisChk=true;} catch(e){}');
} else {
	if(self["swfWidth"]) nisChk = true;
}
if (nisChk) {
	if ( plugin ) {
		plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 6;
	} else {
		document.write('<SCRIPT LANGUAGE=VBScript\> \n');
		document.write('on error resume next \n');
		document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))\n');
		document.write('</SCRIPT\> \n');
	}
	showSwf();
}
