fv = flashver(); flashOK = false;
with (navigator) if (appName.indexOf('Microsoft')!=-1 && userAgent.indexOf('Mac')==-1) document.write('<scr'+'ipt language="VBScript">\nOn error resume next\nMM_flash = NOT IsNull(CreateObject("ShockwaveFlash.ShockwaveFlash'+((v=='')?v:("."+v))+'"))\n</scr'+'ipt>');
with (navigator) if (mimeTypes["application/x-shockwave-flash"] && plugins["Shockwave Flash"] && (mimeTypes["application/x-shockwave-flash"].enabledPlugin != null)) flashOK = true;

function swf(filename,width,height,nv) {
	if (fv>=nv || flashOK)	document.write('<EMBED SRC="'+filename+'" QUALITY=HIGH WMODE=TRANSPARENT WIDTH="'+width+'" HEIGHT="'+height+'" NAME="myFlash" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
	else	document.write('&nbsp;<SPAN STYLE="background-color:white; padding:1px;"><A HREF="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" TARGET="_blank" STYLE="font-size:9px; font-weight:bold; color:#333333; text-decoration:none;">Download Flash Player</A></SPAN>&nbsp;');
}

function flashver() {
	with (navigator) if (appName.indexOf('Microsoft')!=-1 && userAgent.indexOf('Mac')==-1) for (v=6;v>0;v--) { document.write('<scr'+'ipt language="VBScript">\nOn error resume next\nMM_flash = NOT IsNull(CreateObject("ShockwaveFlash.ShockwaveFlash.'+v+'"))\n</scr'+'ipt>'); if (window.MM_flash) return v; } return 0;
}

