var MM_contentVersion = 8;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}
if ( MM_FlashCanPlay ) {

      flColor = "#ffffff"
      flHeight = "100%"
      flWidth = "100%"

document.write('<OBJECT '
      +  'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
      + ' codebase="http://active.macromedia.com/flash2/'
      + 'cabs/swflash.cab#version=6,0,0,0"'
      + ' ID="flash"'
      + ' WIDTH="' + flWidth + '"'
      + ' HEIGHT="' + flHeight + '"'
	  + ' align="middle">'
      + '<PARAM NAME=movie VALUE="main5.swf">'
      + '<PARAM NAME=scale VALUE="exactfit">'
      + '<PARAM NAME=quality VALUE=high>'
      + '<PARAM NAME=bgcolor VALUE=' + flColor + '>'
      + '<EMBED src="main5.swf"'
      + ' name="flash"'
      + ' quality=high bgcolor=' + flColor
      + ' WIDTH="' + flWidth + '"'
      + ' HEIGHT="' + flHeight + '"'
      + ' TYPE="application/x-shockwave-flash"'
	  + ' scale="exactfit"'
      + ' align="middle"'
      + ' PLUGINSPAGE="http://www.macromedia.com/shockwave/'
      + 'download/index.cgi?P1_Prod_Version=ShockwaveFlash">'
      + '</EMBED></OBJECT>'
)

} else{
	document.write('<span style="font-family:verdana;font-size:11px">You need a newer version of the flash Player<br>to view this site.<br><br>Click on the following link to download flash Player...<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" target="_new">Download Flash Player</a></span>');
}


