function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

var DHTML = (document.getElementById || document.all || document.layers);

var theDiv;
var W3CDom = (document.getElementById && (window.opera || !document.all)) ? true:false
var ieDom  = (document.all && !window.opera) ? true:false
var nsDom  = (document.layers) ? true:false


// the old dropdown menus
function show (sObject)
{
    GetDiv(sObject);
    theDiv.display = "block";
}

function hide (sObject)
{
    GetDiv(sObject);
    theDiv.display = "none";
}

function GetDiv(sObject)
{
  if (ieDom)
  {
    theDiv = eval(sObject + '.style');
  }

  if (W3CDom)
  {
    theDiv = document.getElementById(sObject).style;
  }

  if (nsDom)
  {
    theDiv = eval('document.' + sObject);
  }
}

function getObj(name)
{
  if (document.getElementById)
  {
        this.obj = document.getElementById(name);
        this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
        this.obj = document.all[name];
        this.style = document.all[name].style;
  }
  else if (document.layers)
  {
        this.obj = document.layers[name];
        this.style = document.layers[name];
  }
}


//the new dropdown menus

function show2(d)
{
//         alert("got here");
       if (!DHTML) return;
        var x = new getObj(d);
        x.style.display = '';
}
	

var newwindow;
function getbio(url) {
	newwindow = window.open(url,'bios','toolbar=no,menubar=no,resizable=no,title=no,width=475px,height=350px,top=280px,left=350px;');
	if (window.focus) {newwindow.focus()}
}

function getbioBig(url) {
	newwindow = window.open(url,'bios','toolbar=no,menubar=no,resizable=no,title=no,width=550px,height=470px,top=280px,left=350px;');
	if (window.focus) {newwindow.focus()}
}

function getbioMed(url) {
	newwindow = window.open(url,'bios','toolbar=no,menubar=no,resizable=no,title=no,width=525px,height=400px,top=280px,left=350px;');
	if (window.focus) {newwindow.focus()}
}
function SetMenu()
{

  var pathname = location.pathname;
  var filename = pathname.substr(pathname.lastIndexOf("\\")+2, pathname.length);
  var fileprefix = filename.substr(0, 3)

  switch (fileprefix)
  {
     case "aud" :
        show('drop1');
        break;
     case "app" :
        show('drop1');
        break;
     case "pri" :
        show('drop2');
        break;
     case "pe_" :
        show('drop2');
        break;
     case "hed" :
        show('drop3');
        break;
     case "hf_" :
        show('drop3');
        break;
     case "pre" :
        show('drop4');
        break;
     case "pro" :
        show('drop5');
        break;
     case "pr_" :
        show('drop5');
        break;
     case "pub" :
        show('drop4');
        break;
  }

}