
var FLASH_VIDEO_SUPPORT=10;function displayFlashMovie(flashFile,flashWidth,flashHeight,fallbackImage){if(flashFile&&flashFile.trim()!=''){document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="'+flashWidth+'" height="'+flashHeight+'">');document.write('  <param name="movie" value="'+flashFile+'" />');document.write('  <param name="allowScriptAccess" value="sameDomain" />');document.write('  <param name="wmode" value="transparent" />');document.write('  <embed src="'+flashFile+'" width="'+flashWidth+'" height="'+flashHeight+'" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="fma" allowScriptAccess="sameDomain" wmode="opaque"></embed>');document.write('</object>');}}
String.prototype.trim=function(){return(this.replace(/\s+$/,"").replace(/^\s+/,""));};function detectFlash(requiredMajorVersion){var requiredMajorVersion=(arguments.length==1&&!isNaN(arguments[0]))?arguments[0]:0;var detectedMajorVersion=-1;var axo;var plugin=(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]?navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:0);if(plugin){detectedMajorVersion=parseInt(plugin.description.substring(plugin.description.indexOf(".")-1));if(detectedMajorVersion==0){detectedMajorVersion=10;}}else{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}
if(axo!=null)detectedMajorVersion=axo.GetVariable("$version").split(" ")[1].split(",")[0];}
return(detectedMajorVersion>=requiredMajorVersion);}