
function createTeaser(plgIn, flashfile, Bitmap, autoGo) { //v4.0
  var ok=false; document.MM_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=autoGo; }
  if (!ok) {
  var theTag = "<img src='"+Bitmap+"' width='171' height='83'>";
  }
  if (flashfile){
  theTag = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0' width='169' height='81' name='teaser' vspace='0' hspace='0'>";
  theTag = theTag + "<param name=movie value='"+flashfile+"'>";
  theTag = theTag + "<param name=quality value=high>";
  theTag = theTag + "<embed src='"+flashfile+"' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='169' height='81' name='teaser' vspace='0' hspace='0'>";
  theTag = theTag + "</embed>";
  theTag = theTag + "</object>";
  }  
  document.write (theTag);
}

with (navigator) if (appName.indexOf('Microsoft')!=-1 && appVersion.indexOf('Mac')==-1) document.write(''+'<scr'+'ipt language="VBScript">\nOn error resume next\n'+'MM_dir = IsObject(CreateObject("SWCtl.SWCtl.1"))\n'+'MM_flash = NOT IsNull(CreateObject("ShockwaveFlash.ShockwaveFlash"))\n</scr'+'ipt>');



