// JavaScript Code that uses proprietary BOM
// Internet Explorer features not available in
// other browsers.
// Apparently IE5.0 does not read menu.css past the /*/*/ line so the following is necessary to 
// hide the submenus at start up
document.write("<style type='text/css'>div.menubox{position: absolute;margin-left:0px;visibility:hidden;} </style>");


// IE4&5 do not support hover on objects other than anchors
//the following script does for IE4&5 what the advanced css does for Gecko!
function openmenu(menutoshow){
if(menutoshow.children.tags("DIV").length>0){
  menu=menutoshow.children.tags("DIV").item(0);
  menu.style.left=150;
  menu.style.visibility="visible";
  menu.style.top=0;
  menu.style.z-index = 9999;
  }
}

function leavemenu(menutohide){
if(menutohide.children.tags("DIV").length>0){
 var newelement=event.toElement;
 if (newelement != menutohide.children.tags("DIV").item(0)){
   menutohide.children.tags("DIV").item(0).style.visibility="hidden";
   }
}}
