	//var MM_minVersion = 5;
	var MM_hasVersion = 0;
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
	if ( plugin ) {
			var words = navigator.plugins["Shockwave Flash"].description.split(" ");
		    for (var i = 0; i < words.length; ++i)
		    {
			if (isNaN(parseInt(words[i])))
			continue;
			var MM_PluginVersion = words[i]; 
		    }
	}
	else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
	   && (navigator.appVersion.indexOf("Win") != -1)) {
		document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
		document.write('on error resume next \n');
		document.write('For flashvers = 2 to 9\n');
		document.write('	If Not IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & cstr(flashvers))) Then\n');
		document.write('		\n');
		document.write('	Else\n');
		document.write('		MM_PluginVersion = flashvers\n');
		document.write('	End If\n');
		document.write('Next\n');
		document.write('</SCR' + 'IPT\> \n');
	}
	/*function writeIfCanPlay(p_true, p_false) {
		document.write((MM_FlashCanPlay) ? p_true : p_false);
	}
	function writeFlashReplacer(p_id, p_data) {
		if (MM_FlashCanPlay) {
			var obj = MM_findObj(p_id);
			obj.innerHTML = p_data;
		}
	}*/
	var MM_FlashCanPlay = MM_PluginVersion >= 2;
	if ( MM_FlashCanPlay ) {
		MM_hasVersion = Math.round(MM_PluginVersion);
	}

	/*if(MM_FlashCanPlay)
		document.location.href="#JSStringFormat(trueURL)#";
	else
		document.location.href="#JSStringFormat(falseURL)#";*/
	
	//document.location.href="#JSStringFormat(flashURL)#" + MM_hasVersion;
function swapFlashif(d_id, min_version, new_html)
{
	var o_id = MM_findObj(d_id);
	if(o_id && MM_hasVersion >= min_version)
		o_id.innerHTML=new_html;
}

function isFlashVersion ( min_version ) {
	return (MM_hasVersion >= min_version);
}
