var menu_timer, menu_current; var no_timer = false; function ms(s) { clearTimeout(menu_timer); if (menu_current!=null && menu_current != s) _mh(menu_current); document.getElementById(s).style.visibility = "visible"; menu_current = s; } function _mh(s) { var e = document.getElementById(s); e.style.visibility = "hidden"; e.no_timer = false; menu_current = null; } function mh(s) { if (!document.getElementById(s).no_timer) menu_timer = setTimeout("_mh('"+s+"')",1000); } function mc(s) { var e = document.getElementById(s); if (e.no_timer && menu_current!=null && menu_current == s) { _mh(menu_current); e.no_timer = false; } else { document.getElementById(s).no_timer = true; ms(s); } } function drawMenu(ml) { for (i=0; i
'); } document.write(''); } else document.write(''); } }