function mmLoadMenus() {
  if (window.mm_menu_0920161828_0) return;
    window.mm_menu_0920161828_0 = new Menu("root",271,16,"Arial, Helvetica, sans-serif",10,"#000000","#FFFFFF","#CCCCCC","#245E8C","left","middle",3,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0920161828_0.addMenuItem("Pre-employment&nbsp;drug&nbsp;testing","location='pain_pre_drug.php'");
  mm_menu_0920161828_0.addMenuItem("Pre-employment&nbsp;psychological&nbsp;testing","location='pain_pre_psych.php'");
  mm_menu_0920161828_0.addMenuItem("Continuing&nbsp;medical&nbsp;education","location='pain_continuing.php'");
  mm_menu_0920161828_0.addMenuItem("Drug&nbsp;Rehabilitation&nbsp;program&nbsp;development","location='pain_rehabilitation.php'");
   mm_menu_0920161828_0.hideOnMouseOut=true;
   mm_menu_0920161828_0.bgColor='#000000';
   mm_menu_0920161828_0.menuBorder=1;
   mm_menu_0920161828_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0920161828_0.menuBorderBgColor='#245E8C';

  window.mm_menu_0920162334_0 = new Menu("root",341,16,"Arial, Helvetica, sans-serif",10,"#000000","#FFFFFF","#CCCCCC","#245E8C","left","middle",3,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0920162334_0.addMenuItem("Occupational&nbsp;Hazard&nbsp;Review&nbsp;and&nbsp;Prevention","location='corp_hazard.php'");
  mm_menu_0920162334_0.addMenuItem("Customized&nbsp;Corporate&nbsp;Preventative&nbsp;Health&nbsp;Programs","location='corp_preventative.php'");
  mm_menu_0920162334_0.addMenuItem("Background&nbsp;verification-&nbsp;employment,&nbsp;professional","location='corp_background.php'");
  mm_menu_0920162334_0.addMenuItem("Pre-employment&nbsp;drug&nbsp;and&nbsp;psychological&nbsp;testing","location='corp_pre_testing.php'");
   mm_menu_0920162334_0.hideOnMouseOut=true;
   mm_menu_0920162334_0.bgColor='#000000';
   mm_menu_0920162334_0.menuBorder=1;
   mm_menu_0920162334_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0920162334_0.menuBorderBgColor='#245E8C';

mm_menu_0920162334_0.writeMenus();
} // mmLoadMenus()


// function to pop open a sized window
function popper(lnk,w,h) {
  wLink = "popupWin = window.open('img.php?img="+lnk+"', 'NW', 'width="+w+",height="+h+",resizable=yes,toolbar=yes')"
  eval(wLink)
  popupWin.focus()
}

// function to pop open a sized window
function popWin(lnk,w,h) {
  wLink = "popupWin = window.open('"+lnk+"', 'EW', 'width="+w+",height="+h+",resizable=yes')"
  eval(wLink)
  popupWin.focus()
}

function popIt(lnk) {
   newWin=window.open(lnk,'img','width=200,height=150,resizable=yes')
}


// function to validate input
function checkInput() {
  var missing=focusVal=""
  df=document.forms[0]
  arg_num = arguments.length
  j=1
  for(i=0;i<arg_num;i=i+2) {
     current_val = eval("df."+arguments[i]+".value")
     if ( current_val == "" ) {
            missing += "- " + arguments[j] + "\n"
        if ( focusVal=="" ) focusVal = arguments[i]
         }
         j=j+2
  }

  if (missing != "") {
    alert("The following information is required:\n"+missing)
        df.item(focusVal).focus()
        return false
  }
}


function setShipping() {
  var df=document.forms[0]
  if ( df.same.checked ) {
     df.saddress.value = df.address.value
     df.scity.value = df.city.value
     df.sstate.value = df.state.value
     df.szip.value = df.zip.value
  } else {
     df.saddress.value = ''
     df.scity.value = ''
     df.sstate.value = ''
     df.szip.value = ''
  }
}

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

