var inmenu=false;var lastmenu=0;function Menu(current) {   if (!document.getElementById) return;   inmenu=true;   oldmenu=lastmenu;   lastmenu=current;   if (oldmenu) Erase(oldmenu);   m=document.getElementById("menu-" + current);   box=document.getElementById(current);   box.style.left= 80;   box.style.top= 120;   box.style.visibility="visible";   m.style.backgroundColor="";   box.style.backgroundColor="";     box.style.width="400px";}function Erase(current) {   if (!document.getElementById) return;   if (inmenu && lastmenu==current) return;   m=document.getElementById("menu-" + current);   box=document.getElementById(current);   box.style.visibility="hidden";   m.style.backgroundColor="";}function Timeout(current) {   inmenu=false;   window.setTimeout("Erase('" + current + "');",500);}