<!--

var requiredVersion = 6;
var noFlashPage = "noflash.htm"
var flash5Installed = false;
var actualVersion = 0;
var hasRightVersion = false;
var jsVersion = 1.0;

// #####  Detect flash in IE browser
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.indexOf("Windows") != -1) ? true : false;
jsVersion = 1.1;
if (isIE && isWin){
//if (isIE){
// check flash version
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('flash5Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.' + requiredVersion + '"))) \n');
	document.write('</SCR' + 'IPT\> \n');
// ##### End Detect
}

//	alert(navigator.appVersion + " : " + flash5Installed+ " : " + requiredVersion+ detectPlugin('Shockwave','Flash'));


function detectFlash(){

// #####  Detect flash in NS And IE Mac browser
	if (navigator.plugins){
// check flash version
		if (navigator.plugins["Shockwave Flash"]){
			var flashDescription = navigator.plugins["Shockwave Flash"].description;
			var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));
			flash5Installed = flashVersion >=  requiredVersion;

		}

	}
// ##### End Detect

	if (eval("flash5Installed") == true) actualVersion =  requiredVersion;

	if(navigator.userAgent.indexOf("WebTV") != -1) actualVersion = 2;

	if (actualVersion >= requiredVersion) {
		hasRightVersion = true;
	}
	
}

detectFlash();

if(!hasRightVersion) {
	if(jsVersion > 1.0) {
		window.location.replace(noFlashPage);
	} else {
		window.location = noFlashPage;
	}
}

//-->