		  var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if (plugin) {
	plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 6;
} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")))\n');
	document.write('if ( plugin <= 0 ) then plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))\n');
	document.write('<\/SCR' + 'IPT\> \n');
}

// flash //
function fls(lnk,nome,tipo, w, h, modo) {
	lnk2 = escape(lnk);
	if(!modo){
	 	modo="none";	
	}
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH='+ w +' HEIGHT='+ h +'><PARAM NAME=movie VALUE="' + nome + '.swf"><PARAM NAME=FlashVars Value="clicktag='+ lnk2 +'"><param name="wmode" value="'+ modo +'"> <PARAM NAME=quality VALUE=high><EMBED src="' + nome + '.swf?clickTAG='+ lnk2 +'" quality=high swLiveConnect=TRUE WIDTH='+ w +' HEIGHT='+ h +' TYPE="application/x-shockwave-flash" WMODE="transparent" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>');
}