function fwLoadMenus() {
// The function "MENU" has the following parameters : Menu(label, menu width, menu height, font, font size, font color, font hilight color, background color, hilight background color)
  if (window.fw_menu_0) return;
  
  // Menu for about ishib Section ("#ffffff","#ffdda9","#ffb94f","#000000")
  window.fw_menu_0 = new Menu("root",180,17,"Verdana, Arial, Helvetica, sans-serif",10,hexFColor,hexFHColor,hexBgColor,hexBgHColor);
		fw_menu_0.addMenuItem("History","location='http://www.ishib.org/AI_history.asp'");
		fw_menu_0.addMenuItem("Mission","location='http://www.ishib.org/AI_mission.asp'");
		fw_menu_0.addMenuItem("Board of Trustees","location='http://www.ishib.org/AI_boardoftrustees.asp'");
		fw_menu_0.addMenuItem("Committees and Councils","location='http://www.ishib.org/AI_comcou.asp'");
		fw_menu_0.addMenuItem("Corporate Partners","location='http://www.ishib.org/AI_corpar.asp'");
		fw_menu_0.addMenuItem("Affiliates","location='http://www.ishib.org/AI_affiliates.asp'");
		fw_menu_0.addMenuItem("Staff","location='http://www.ishib.org/AI_staff.asp'");
		fw_menu_0.addMenuItem("Press Releases","location='http://www.ishib.org/AI_media.asp'");
		fw_menu_0.addMenuItem("Contact Us","location='http://www.ishib.org/AI_contactus.asp'");
   		fw_menu_0.hideOnMouseOut=true;
		
  // Menu for programs Section
  window.fw_menu_1 = new Menu("root",195,17,"Verdana, Arial, Helvetica, sans-serif",10,hexFColor,hexFHColor,hexBgColor,hexBgHColor);
 	 	fw_menu_1.addMenuItem("Continuing Education","location='http://www.ishib.org/PR_contedu.asp'");
		fw_menu_1.addMenuItem("Education Awards","location='http://www.ishib.org/PR_eduawa.asp'");
		fw_menu_1.addMenuItem("Community Outreach","location='http://www.ishib.org/PR_comout.asp'");
		fw_menu_1.addMenuItem("Sponsorship Opportunities","location='http://www.ishib.org/PR_spoopp.asp'");
   		fw_menu_1.hideOnMouseOut=true;
   
   // Menu for health info Section
  window.fw_menu_2 = new Menu("root",155,17,"Verdana, Arial, Helvetica, sans-serif",10,hexFColor,hexFHColor,hexBgColor,hexBgHColor);
 	 	fw_menu_2.addMenuItem("ISHIB Guidelines","location='http://www.ishib.org/HI_ishgui.asp'");
		fw_menu_2.addMenuItem("About Hypertension","location='http://www.ishib.org/HI_abohyp.asp'");
		fw_menu_2.addMenuItem("For Professionals","location='http://www.ishib.org/HI_forpro.asp'");
		fw_menu_2.addMenuItem("For Patients","location='http://www.ishib.org/HI_forpat.asp'");
		fw_menu_2.addMenuItem("For Researchers","location='http://www.ishib.org/HI_forres.asp'");
		fw_menu_2.addMenuItem("Clinical Trials","location='http://www.ishib.org/HI_clitri.asp'");
  	 	fw_menu_2.hideOnMouseOut=true;
   
    // Menu for ethnicity & disease Section
  window.fw_menu_3 = new Menu("root",175,17,"Verdana, Arial, Helvetica, sans-serif",10,hexFColor,hexFHColor,hexBgColor,hexBgHColor);
 	 	fw_menu_3.addMenuItem("About Ethnicity & Disease","location='http://www.ishib.org/ED_abouted.asp'");
		fw_menu_3.addMenuItem("Submit Manuscript","location='http://www.ishib.org/ED_subman.asp'");
		fw_menu_3.addMenuItem("Order Journal/Articles","location='http://www.ishib.org/ED_orderjournal.asp'");
		fw_menu_3.addMenuItem("E&D Online","location='http://www.ishib.org/ED_edonline.asp'");
		fw_menu_3.addMenuItem("Advertise","location='http://www.ishib.org/ED_advertise.asp'");
   		fw_menu_3.hideOnMouseOut=true;
  
  // Menu for annual meeting Section
  window.fw_menu_4 = new Menu("root",185,17,"Verdana, Arial, Helvetica, sans-serif",10,hexFColor,hexFHColor,hexBgColor,hexBgHColor);
 	 	fw_menu_4.addMenuItem("ISHIB 2005","location='http://www.ishib.org/AM_ish200.asp'");
		fw_menu_4.addMenuItem("Past Meetings","location='http://www.ishib.org/AM_pasmee.asp'");
		fw_menu_4.addMenuItem("General Information","location='http://www.ishib.org/AM_index.asp'");
		fw_menu_4.addMenuItem("Sponsorship Opportunities","location='http://www.ishib.org/AM_spoopp.asp'");
   		fw_menu_4.hideOnMouseOut=true;
   
   // Menu for membership Section
  window.fw_menu_5 = new Menu("root",155,17,"Verdana, Arial, Helvetica, sans-serif",10,hexFColor,hexFHColor,hexBgColor,hexBgHColor);
 	 	fw_menu_5.addMenuItem("Why Join ISHIB?","location='http://www.ishib.org/ME_whyjoi.asp'");
		fw_menu_5.addMenuItem("Join/Renew","location='http://www.ishib.org/ME_joiren.asp'");
		fw_menu_5.addMenuItem("Members Only","location='http://www.ishib.org/ME_memonl.asp'");
		fw_menu_5.addMenuItem("Get-A-Member","location='http://www.ishib.org/ME_getamem.asp'");
   		fw_menu_5.hideOnMouseOut=true;
		
		// Menu for ME Membership Section
  window.fw_menu_6 = new Menu("root",155,17,"Verdana, Arial, Helvetica, sans-serif",10,hexFColor,hexFHColor,hexBgColor,hexBgHColor);
 	 	fw_menu_6.addMenuItem("Renew","location='http://www.ishib.org/ME_joiren.asp'");
		fw_menu_6.addMenuItem("Membership Committee","location='http://www.ishib.org/MO/ME_memcom.asp'");
		fw_menu_6.hideOnMouseOut=true;
		
		// Menu for ME Networking Section
  window.fw_menu_7 = new Menu("root",155,17,"Verdana, Arial, Helvetica, sans-serif",10,hexFColor,hexFHColor,hexBgColor,hexBgHColor);
 	 	fw_menu_7.addMenuItem("Message Boards","location='http://www.ishib.org/MO/NE_mesboa.asp'");
		fw_menu_7.addMenuItem("Meet the Expert","location='http://www.ishib.org/MO/NE_meetheexp.asp'");
		fw_menu_7.addMenuItem("Member Directory","location='http://www.ishib.org/MO/NE_memdir.asp'");
		fw_menu_7.addMenuItem("Announcement Boards","location='http://www.ishib.org/MO/NE_annboa.asp'");
		fw_menu_7.addMenuItem("Classifieds","location='http://www.ishib.org/MO/NE_class.asp'");
		fw_menu_7.hideOnMouseOut=true;
		
		// Menu for ME E&D Online Section
  window.fw_menu_8 = new Menu("root",155,17,"Verdana, Arial, Helvetica, sans-serif",10,hexFColor,hexFHColor,hexBgColor,hexBgHColor);
 	 	fw_menu_8.addMenuItem("Order Articles","location='http://www.ishib.org/ED/ED_orderjournal.asp'");
		fw_menu_8.addMenuItem("Advertised","location='http://www.ishib.org/ED/ED_advertise.asp'");
		fw_menu_8.hideOnMouseOut=true;
		 
		 // Menu for about ishib Section ("#ffffff","#ffdda9","#ffb94f","#000000")
  window.fw_menu_9 = new Menu("root",180,17,"Verdana, Arial, Helvetica, sans-serif",10,hexFColor,hexFHColor,hexBgColor,hexBgHColor);
		fw_menu_9.addMenuItem("History","location='http://www.ishib.org/AI_history.asp'");
		fw_menu_9.addMenuItem("Mission","location='http://www.ishib.org/AI_mission.asp'");
		fw_menu_9.addMenuItem("Board of Trustees","location='http://www.ishib.org/AI_boardoftrustees.asp'");
		fw_menu_9.addMenuItem("Calendar","location='http://www.ishib.org/CA_index.asp'");
		fw_menu_9.addMenuItem("Contact Us","location='http://www.ishib.org/AI_contactus.asp'");
   		fw_menu_9.hideOnMouseOut=true;
		
		  // Menu for subscriber center Section ("#ffffff","#ffdda9","#ffb94f","#000000")
  window.fw_menu_10 = new Menu("root",180,17,"Verdana, Arial, Helvetica, sans-serif",10,hexFColor,hexFHColor,hexBgColor,hexBgHColor);
		fw_menu_10.addMenuItem("Renew Subscription","location='http://www.ishib.org/ED_orderjournal.asp'");
		fw_menu_10.addMenuItem("Subscriber Profile ","location='http://www.ishib.org/ED/myprofile.asp'");
   		fw_menu_10.hideOnMouseOut=true;
		 
  fw_menu_4.writeMenus();
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
 var bName = navigator.appName;
 var bVer = parseInt(navigator.appVersion);
 var NS6 = (bName == "Netscape" && bVer >= 5);
 var NS4 = (bName == "Netscape" && bVer >= 4 && bVer < 5);
 var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
 var NS3 = (bName == "Netscape" && bVer < 4);
 var IE3 = (bName == "Microsoft Internet Explorer" && bVer < 4);
 if (NS4) {intTop=intTop-1;}

// SHOW MENU
function imgPos(imgName){
 img = getImage(imgName);
 imgLeft = getImagePageLeft(img); // LEFT POSITION
 //intLeft=imgLeft
 return imgLeft+intLeft;
}
function getImage(name) {
  if (NS4 || NS6) {
    return findImage(name, document);
  }
  if (IE4 || NS6)
    return eval('document.all.' + name);
  return null;
}

function findImage(name, doc) {
  var i, img;
  for (i = 0; i < doc.images.length; i++)
    if (doc.images[i].name == name)
      return doc.images[i];
  for (i = 0; i < doc.layers.length; i++)
    if ((img = findImage(name, doc.layers[i].document)) != null) {
      img.container = doc.layers[i];
      return img;
    }
  return null;
}

function getImagePageLeft(img) {
  var x, obj;
  if (NS4 || NS6) {
    if (img.container != null)
      return img.container.pageX + img.x - 1;
    else
      return img.x - 1;
  }
  if (IE4) {
    x = 0;
    obj = img;
    while (obj.offsetParent != null) {
      x += obj.offsetLeft;
      obj = obj.offsetParent;
    }
    x += obj.offsetLeft;
    return x;
  }
  return -1;
}

function getImagePageTop(img) {
  var y, obj;
  if (NS4 || NS6) {
    if (img.container != null)
      return img.container.pageY + img.y;
    else
      return img.y;
  }
  if (IE4) {
    y = 0;
    obj = img;
    while (obj.offsetParent != null) {
      y += obj.offsetTop;
      obj = obj.offsetParent;
    }
    y += obj.offsetTop;
    return y;
  }
  return -1;
}


