// open a popup window
// send url, window width and window height

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function new_win(page,wdth,hght){
	var new_win = window.open(page,"new_win","width="+wdth+",height="+hght+",toolbar=0,statusbar=0,resize=1,menubar=0");
	new_win.focus();
}


// modified version of DW check plugin script for home page

function MM_checkPlugin(plgIn) { //v4.0
  var ok=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=true;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=true;
    else ok=true; }
  if (!ok) return false;
  else return true;
}
