
function detectFlash(){
//
macie = "uneedflash.html"
flash = "uhaveflash.html"
noflash = "uneedflash.html"
var haveFlash = false;
//
if (navigator.appName == "Microsoft Internet Explorer" &&
navigator.appVersion.indexOf("Mac") != -1 )
{
//window.location=macie;
}
	var plugin = (navigator.mimeTypes &&
		navigator.mimeTypes["application/x-shockwave-flash"] ?
		navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0);
	if ((navigator.appName == "Microsoft Internet Explorer" &&
		navigator.appVersion.indexOf("Mac") == -1 &&
		navigator.appVersion.indexOf("3.1") == -1) || (plugin &&
		parseInt(plugin.description.substring(plugin.description.indexOf(".")-1))>=
		4))
	{
		//window.location=flash;
		haveFlash = true;
	}
	else
	{
		//window.location=noflash;
		haveFlash = false;
	}

	return haveFlash;
}

