<!--/************************************************************************************** Detect Flash function**************************************************************************************/function detectFlash(){	// loop through all versions, and set actualVersion to highest detected versionfor (var i = 2; i <= 5; i++) {			if (eval("flash" + i + "Installed") == true) actualVersion = i;	}	if (actualVersion >= requiredVersion) hasRequiredVersion = true;// Determine if the browser has Flash plugin installed and enabled  if (navigator.plugins && navigator.plugins.length > 0) {  	hasPluginsArray = true;	if (navigator.plugins["Shockwave Flash"]){		var words = navigator.plugins["Shockwave Flash"].description.split(" ");		for (var i = 0; i < words.length; ++i){			if (isNaN(parseInt(words[i])))			continue;			actualVersion = words[i];            }						if (actualVersion >= requiredVersion){				var plugin = navigator.plugins["Shockwave Flash"];				var numTypes = plugin.length;										for (j = 0; j < numTypes; j++) {					mimetype = plugin[j];												if (mimetype){														if (mimetype.enabledPlugin && (mimetype.suffixes.indexOf("swf") != -1))							hasRequiredVersion = true;							// Mac wierdness								if (navigator.mimeTypes["application/x-shockwave-flash"] == null)								hasRequiredVersion = false;						}					}			}		}	}	}if (hasRequiredVersion){	alert('has required version=true');}detectFlash();//-->
