﻿// JScript File
<!--
	var MM_contentVersion = 8;
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ?
		navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
	var MM_FlashCanPlay = false;
	if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
		var MM_PluginVersion;
		for (var i = 0; i < words.length; ++i)
		{
			if (isNaN(parseInt(words[i])))
			continue;
			MM_PluginVersion = words[i];
		}
		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');
		document.write('on error resume next \n');
		document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)) or IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & (MM_contentVersion + 1))) or IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & (MM_contentVersion + 2))))\n');
		document.write('if not MM_FlashCanPlay then MM_FlashCanPlay = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & (MM_contentVersion + 1))) \n');
		document.write('if not MM_FlashCanPlay then MM_FlashCanPlay = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & (MM_contentVersion + 2))) \n');
		document.write('if not MM_FlashCanPlay then MM_FlashCanPlay = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & (MM_contentVersion + 3))) \n');
		document.write('</SCR' + 'IPT\> \n');
	}
	if ( MM_FlashCanPlay || confirm("PLEASE NOTE: This site uses Flash " + MM_contentVersion + ", but it is disabled or not installed.\r\nPlease enable it, or click OK to try and install the control.")) {
		if (!MM_FlashCanPlay)
			document.write('<div class=Since style=font-size:12pt;padding-right:2%;top:5%;width:100%>Please wait while Flash ' + MM_contentVersion + ' is trying to contact Macromedia, Inc.<br>This might take a few minutes.<br>If nothing happens within 5 to 10 minutes, <a style=color:yellow href="Main.aspx">click here</a></div>');
		document.write('<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
		document.write('  codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + MM_contentVersion + ',0,0,0" ');
		document.write(' ID="FlashMovie1" WIDTH="100%" HEIGHT="100%" ALIGN="none">');
		document.write(' <PARAM NAME=movie VALUE="' + Form1.txtFlashURL.value + '"> <PARAM NAME=salign VALUE=LT /> <PARAM NAME=quality VALUE=High/> <PARAM NAME=bgcolor VALUE=#ffffff/> <PARAM NAME="allowScriptAccess" value="SameDomain" />  ');
		document.write(' <EMBED src="' + Form1.txtFlashURL.value + '" salign="LT" quality="high" bgcolor="#ffffff" allowScriptAccess="SameDomain"   ');
		document.write(' swLiveConnect=FALSE WIDTH="100%" HEIGHT="100%" NAME="' + Form1.txtFlashURL.value + '" ALIGN="none"');
		document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
		document.write(' </EMBED>');
		document.write(' </OBJECT>');
	} else{
		document.write('<div><script>');
		document.write('loadPage();');
		document.write('');
		document.write('</script></div>');
	}
//-->
