// js/plugInCheck.js 


function flashCheck(URLtrue, URLfalse) { 
MM_checkPlugin('Shockwave Flash',URLtrue, URLfalse,true);
return document.MM_returnValue
}

function MM_checkPlugin(plgIn, theURL, altURL, 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) theURL=altURL; if (theURL) window.location=theURL;
}

function winOpen(URL,h,w) {
if (typeof h == 'boolean') tool = (h)? "menubar,":"toolbar," // e.g., winOpen('help.htm',false) gives toolbar
else tool = ''
if (typeof h != 'number') h = 500
if (typeof w != 'number') w = 550
if (typeof newWindow == 'object' && !newWindow.closed) newWindow.close()
var nW = 'newWindow = window.open(URL, "newWin", tool + "scrollbars,resizable,status,height=' + h + ',width=' + w + '")'
eval(nW)
		newWindow.focus()
}  