var requiredVersion = 6;
var flashVersion = getFlashVersion();

isGood = false;

if (flashVersion >= requiredVersion) {
	//everything is good
	//document.write('<p>You have Flash ' + flashVersion + ' installed on the current browser.</p>');
	isGood = true;
}else if (flashVersion > 0) {
	//document.write('<p>The version of Flash installed on the current browser is ' + flashVersion + '.</p>');
}else if (flashVersion == 0) {
	//document.write('<p>You don\'t have Flash installed on the current browser.</p>');
}else if (flashVersion == flashVersion_DONTKNOW || flashVersion == null) {
	//document.write('<p>This browser does not support Javascript-based Flash detection.</p>');
}

if( isGood ){
	//location = "home_flash/";
	//why would we redirect? we're already here
	//alert("Flash is fine");
}else{
	location = "../home/default_nonFlash.asp";
}