// JavaScript Document
//onload = function() 
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"))\n'+
'MM_flash = NOT IsNull(CreateObject("ShockwaveFlash.ShockwaveFlash"))\n</scr'+'ipt>');


function Flash_Plugin_Check(plgIn) { 
  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=false; 
  }
//		document.getElementById("sidebar1").innerHTML += ok;

	if (ok == false) 
  	return false;
  else 
  	return true;
//		document.getElementById("sidebar1").innerHTML += "Test";
}


