
// FLASH DETECT FUNCTIONS

var flashSix = false;
var flashElse = false;

if (((navigator.userAgent.indexOf("MSIE")>=0) || (navigator.userAgent.indexOf("Microsoft"))) && (navigator.userAgent.indexOf("5.")>=0))
{
	isIE5 = true;
}

// SEND NETSCAPE TO THE CORRECT LOCATION
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

if ( plugin )
{
	whichPlugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1));

	if (whichPlugin >= 6)
	{
		flashSix = true;
		document.location = "flashsite.html";
	} else {
		flashElse = true;
	}

}

// BUTTON ONLCICK DETECT TO VERIFY DOWNLOAD
function checkForFlash()
{
	if (flashSix){
		document.location = "flashsite.html";
	} else {
		document.location = "site_stillnoflash.html";
	}
}

function advanceToGotFlash() {
	document.location = "site_gotflash.html";
}