// Define popup menus hereaboutUs = new popupMenu("aboutUs");clinicalServices = new popupMenu("clinicalServices");  medicalServices = new popupMenu("medicalServices");  mentalHealthServices = new popupMenu("mentalHealthServices");  afterHoursEmergency = new popupMenu("afterHoursEmergency");  asthmaEducation = new popupMenu("asthmaEducation");  otherServices = new popupMenu("otherServices");  mhcn = new popupMenu("mhcn");healthInfo = new popupMenu("healthInfo");  healthInfoTopics = new popupMenu("healthInfoTopics");  lendingLibrary = new popupMenu("lendingLibrary");  healthPamphletSeries = new popupMenu("healthPamphletSeries");eligibility = new popupMenu("eligibility");var selectboxes = null;var selectboxTimerID = null;var selectboxTimerRunning = false;setBrowser();  // Initiate DHTML set  // Get select boxes and embedded OBJECTs so we can hide them while showing pop-up menus// ... since they sometimes overlap pop-upsif (document.getElementById) {  selectboxes = document.getElementsByTagName("select");  embedObjects = document.getElementsByTagName("object");}// Pop-up menu displayfunction popupMenu(nameToUse) {  this.boxName = nameToUse;  this.timerID = null;  this.timerRunning = false;  this.show = showPop;  this.hide = hidePop;  return this;}// Function to show pop up boxesfunction showPop(speed) {  if (isNav4) return;  if (this.timerRunning) {    clearTimeout(this.timerID);    timerRunning = false;  }    // Clear timer to re-show select boxes and then hide them  if (selectboxTimerRunning) {    clearTimeout(selectboxTimerID);    selectboxTimerRunning = false;  }  hideSelectBoxes();    if (speed == "immediately") {    setIdProperty(this.boxName, 'visibility', 'visible');  }  else {    this.timerID = window.setTimeout("setIdProperty('" + this.boxName + "', 'visibility', 'visible')", 300);    this.timerRunning = true;  }    return true;}// Function to hide pop up boxesfunction hidePop(speed) {  if (isNav4) return;    if (this.timerRunning) {    clearTimeout(this.timerID);  }    if (selectboxTimerRunning) {    clearTimeout(selectboxTimerID);  }  if (speed == "immediately") {    this.timerID = window.setTimeout("setIdProperty('" + this.boxName + "', 'visibility', 'hidden')", 50);  }    else {    this.timerID = window.setTimeout("setIdProperty('" + this.boxName + "', 'visibility', 'hidden')", 300);  }  this.timerRunning = true;  selectboxTimerID = window.setTimeout("showSelectBoxes()", 300);  selectboxTimerRunning = true;  return true;}// Function to show select boxes and embedded objects (once hidden)function showSelectBoxes() {  if (document.getElementById) {    for (x = 0; x < selectboxes.length; x++) {      selectboxes[x].style.visibility="visible";    }    for (x = 0; x < embedObjects.length; x++) {      embedObjects[x].style.visibility="visible";    }  }}// Hide select boxes and embedded objectsfunction hideSelectBoxes() {  if (document.getElementById) {    for (x = 0; x < selectboxes.length; x++) {      selectboxes[x].style.visibility="hidden";    }        for (x = 0; x < embedObjects.length; x++) {      embedObjects[x].style.visibility="hidden";    }  }}/* removed because there is a popup function in external.jsfunction popup(url, windowName, requestedWidth, requestedHeight) {  windowWidth = (requestedWidth != null) ? requestedWidth : "550";  windowHeight = (requestedHeight != null) ? requestedHeight : "450";      popupWin = window.open(url, windowName,    "width=" + windowWidth +    ",height=" + windowHeight +    ",resizable=yes,menubar=yes,scrollbars=yes");  popupWin.focus();  return false;}*/