var MM_contentVersion = 7;
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]; 
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
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('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}
if ( MM_FlashCanPlay ) {
	document.write('<OBJECT codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
	document.write('ID="newProjects" WIDTH="574" HEIGHT="244" ALIGN="" name="wmode" value="opaque">');
	document.write('<PARAM NAME=movie VALUE="/es/flash/featuredServices/tbm_loader.swf?r=' + Math.round(Math.random() * 99999) + '" />');
	document.write('<PARAM NAME=loop VALUE=true /><PARAM NAME=menu VALUE=false /><PARAM NAME=quality VALUE=high /><PARAM NAME=scale VALUE=exactfit /><PARAM NAME=bgcolor VALUE=#000000 />'); 
	document.write('<EMBED src="/es/flash/featuredServices/tbm_loader.swf?r=' + Math.round(Math.random() * 99999) + '" loop=true menu=false quality=high scale=exactfit bgcolor=#000000');
	document.write('swLiveConnect=FALSE WIDTH="574" HEIGHT="244" NAME="newProjects" ALIGN="" wmode="opaque"');
	document.write('TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer_es">');
	document.write('</EMBED>');
	document.write('</OBJECT>');	
} else {
	document.write('<img src="/es/images/home/services_needflash.png" alt="El jugador del flash es necesario." width="574" height="244" usemap="#serviceMap" />');
}

