
  // this script requires the browser_sniffer.js be present too.

  // detect the plugin;
  var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0);
  tFlash2 = (plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 2);
  tFlash3 = (plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 3);
  tFlash4 = (plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 4);
  tFlash5 = (plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 5);
  
  // detect the activex control
  if(is_ie && is_win){
  	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
  	document.write('on error resume next \n');
  	document.write('tFlash2 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n');
	  document.write('tFlash3 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n');
  	document.write('tFlash4 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n');
	  document.write('tFlash5 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');	
  	document.write('</SCR' + 'IPT\> \n');
  }
  
  if(is_ie && !is_win){
    // if it's ie and not windows, i don't really know how to deal with it yet.
    // so we just send it through
    tFlash2 = true;
    tFlash3 = true;
    tFlash4 = true;
    tFlash5 = true;
  }
  
