flash=0;
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)) >= 4;
 }
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0  && (navigator.userAgent.indexOf("Windows ")>=0))
 {
  document.write('<SCRIPT LANGUAGE=VBScript\> \n');
  document.write('on error resume next \n');
  document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');
  document.write('</SCRIPT\> \n');
 }
if ( plugin )
 {
  flash=1;
 }
else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0))
 {
  flash=0;
 }

