var h; var w; var l; var t; var topMar = 1; var leftMar = -2; var space = 1; var isvisible; var MENU_SHADOW_COLOR='#999999'; // var MENU_SHOW_AGE=3000 // var menuLastShow; var global = window.document global.fo_currentMenu = null global.fo_shadows = new Array function HideMenu() { var mX; var mY; var vDiv; var mDiv; if (isvisible == true) { vDiv = GetElement(document,"menuDiv"); mX = MouseX + document.body.scrollLeft; mY = MouseY + document.body.scrollTop; // 834 88 810 76 76 //IE 830 79 813 48 15 //alert(mX+" "+parseInt(vDiv.style.top)+" "+parseInt(vDiv.style.left)+" "+w+" "+h+" " + vDiv.offsetHeight); if (navigator.appName != 'Netscape'&&((mX < parseInt(vDiv.style.left)) || (mX > parseInt(vDiv.style.left)+vDiv.offsetWidth) || (mY < parseInt(vDiv.style.top)-h) || (mY > parseInt(vDiv.style.top)+vDiv.offsetHeight))){ vDiv.style.visibility = "hidden"; isvisible = false; } //var nowm1 =new Date();menuLastShow1=nowm1.getTime();(menuLastShow1>menuLastShow+MENU_SHOW_AGE)&& if (navigator.appName == 'Netscape'&&((mX < parseInt(vDiv.style.left)) || (mX > parseInt(vDiv.style.left)+w) || (mY < parseInt(vDiv.style.top)-h) || (mY > parseInt(vDiv.style.top)+h))){ vDiv.style.visibility = "hidden"; isvisible = false; } } } function ShowMenu(vMnuCode,tWidth) { var vSrc; if (navigator.appName == 'Netscape') vSrc=o; else vSrc = window.event.srcElement; vMnuCode = "
| " + vMnuCode + " |