<!-- 

function detectflash(){

	flashpage 		= "javascript:void(0)"
	upgradepage	= "javascript:void(0)"
	nonflashpage	= "noflash.html"
	cantdetectpage	= "noflash.html"
	
	noautoinstall = ""

	if(navigator.appName == "Microsoft Internet Explorer" && 
		(navigator.appVersion.indexOf("Mac") != -1 || 
		 navigator.appVersion.indexOf("3.1") != -1)){
			noautoinstall = "true";
	}

	if (navigator.appName == "Microsoft Internet Explorer" &&
		 noautoinstall != "true"){
			window.location=flashpage;
	}
	else if(navigator.plugins){
		if(navigator.plugins["Shockwave Flash"]){
			window.location=flashpage;
		}
		else if(navigator.plugins["Shockwave Flash 2.0"]){
			window.location=upgradepage;
		}

		else{
			window.location=nonflashpage;
		}
	}
	else {
	window.location=cantdetectpage;
	}
}

// -->

