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(".")-2)) >= 10 || parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= imgSwapVersion;}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.'+imgSwapVersion+'")))\n');	document.write('</SCR'+'IPT\> \n');}if ( plugin ) {	imgSwapPortalCode =' <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';	imgSwapPortalCode +=' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+imgSwapVersion+',0,0,0" ';	imgSwapPortalCode +=' ID=cstvad WIDTH='+imgSwapWidth+' HEIGHT='+imgSwapHeight+'>';	imgSwapPortalCode +=' <PARAM NAME=movie VALUE="'+imgSwapSWF+'"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE='+imgSwapScale+'> <PARAM NAME=salign VALUE=LT> <PARAM NAME=wmode VALUE='+imgSwapWmode+'> <PARAM NAME=bgcolor VALUE=#'+imgSwapBkgCol+'> <PARAM NAME=FlashVars VALUE='+imgSwapVars+'> <PARAM NAME=AllowScriptAccess VALUE=always> '; 	imgSwapPortalCode +=' <EMBED src="'+imgSwapSWF+'" menu=false quality=high scale='+imgSwapScale+' salign=LT wmode='+imgSwapWmode+' bgcolor=#'+imgSwapBkgCol+' swLiveConnect=FALSE WIDTH='+imgSwapWidth+' HEIGHT='+imgSwapHeight+' FlashVars='+imgSwapVars;	imgSwapPortalCode +=' AllowScriptAccess=always TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>';	document.write(imgSwapPortalCode);} else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)){	document.write(imgSwapDefault);}