function MenuOver(MenuId){ Item = eval(MenuId.id + "Button.style"); with(Item){ backgroundColor = "#E0E0D7"; border = "solid 1px #9D9D92"; padding = "3px 1px 1px 3px"; } MenuId.style.visibility = "visible"; } function MenuOut(MenuId){ Item = eval(MenuId.id + "Button.style"); with(Item){ backgroundColor = "#F1EFE7"; border = "solid 1px #F1EFE7"; padding = "2px 2px 2px 2px"; } MenuId.style.visibility = "hidden"; } function MenuItemOver(){ with(event.srcElement.style){ color = "#FFFFFF"; backgroundColor = "#316AC5"; cursor = "default"; } window.status = event.srcElement.innerText; } function MenuItemOut(){ with(event.srcElement.style){ color = "#000000"; backgroundColor = "#FFFFFF"; } window.status = ""; } function motherMenuOver(MenuId){ Item = eval(MenuId.id + "Button.style"); with(Item){ color = "#FFFFFF"; backgroundColor = "#316AC5"; cursor = "default"; } MenuId.style.visibility = "visible"; window.status = event.srcElement.innerText; } function motherMenuOut(MenuId){ Item = eval(MenuId.id + "Button.style"); with(Item){ color = "#000000"; backgroundColor = "#FFFFFF"; } MenuId.style.visibility = "hidden"; window.status = ""; } function subMenuOver(subMenuId,mainMenuId){ Item = eval(mainMenuId.id + "Button.style"); with(Item){ backgroundColor = "#E0E0D7"; border = "solid 1px #9D9D92"; padding = "3px 1px 1px 3px"; } subMenuId.style.visibility = "visible"; mainMenuId.style.visibility="visible"; } function subMenuOut(subMenuId,mainMenuId){ Item = eval(mainMenuId.id + "Button.style"); with(Item){ backgroundColor = "#F1EFE7"; border = "solid 1px #F1EFE7"; padding = "2px 2px 2px 2px"; } subMenuId.style.visibility = "hidden"; x=event.offsetX; if(x>0) mainMenuId.style.visibility="hidden"; } function subItemOver(){ with(event.srcElement.style){ color = "#FFFFFF"; backgroundColor = "#316AC5"; cursor = "default"; } window.status = event.srcElement.innerText; } function subItemOut(){ with(event.srcElement.style){ color = "#000000"; backgroundColor = "#FFFFFF"; } window.status = ""; }