
var flashV = 6;
var jsCR = String.fromCharCode(13) + String.fromCharCode(10);

var ie = ((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))) ? 1 : 0;

var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

//alert(navigator.userAgent);

if (plugin) {
  plugin=(parseInt(plugin.description.substring(plugin.description.indexOf(".")-1))>=flashV);
} else if(ie) {
  document.write('<scr'+'ipt LANGUAGE=VBscr'+'ipt> '+jsCR);
  document.write('On Error Resume Next '+jsCR);
  document.write('plugin = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+flashV+'"))) '+jsCR);
  document.write('<'+'/sc'+'ript> '+jsCR);
}

//alert(plugin);
