var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
var flashcode = "";

if (plugin) {
	plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= v;
}

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('<script language=VBScript\>\n');
	document.write('on error resume next\n');
	document.write('plugin = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+v+'")))\n');
	document.write('<\/script\>\n');
}
if (plugin) {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+v+',0,0,0"');
	document.write(' id='+i+' width='+w+' height='+h+'>\n');
	document.write(' <param name=movie value="'+f+'">\n');
	document.write(' <param name=loop value='+l+'>\n');
	document.write(' <param name=menu value='+m+'>\n');
	document.write(' <param name=quality value='+q+'>\n');
	document.write(' <param name=bgcolor value='+b+'>\n');
	document.write(' <embed src="'+f+'" loop="'+l+'" menu="'+m+'" quality="'+q+'" bgcolor="'+b+'"');
	document.write(' swLiveConnect="false" width="'+w+'" height='+h+'"');
	document.write(' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">\n');
	document.write(' <\/embed>\n');
	document.write(' <\/object>\n');
} else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)){
	document.write('<img src="'+a+'" width='+w+' height='+h+' border=0>\n');
}
