﻿var menuHover="menuHover";var menuHide="menuHide";var menuToggle=false;var idNav="nav";var idMainNav="MainNav";var welcome="";var userName="";var idTimeArea="timeDis";var idTimerShowTime;window.onload=windowOnLoad;window.onunload=windowOnUnload;function windowOnLoad(){menuFix();try{if("function"==typeof(eval(selfOnLoad))){selfOnLoad();}}catch(e){}setFocusStyle();}function windowOnUnload(){}function menuFix(){var menus=document.getElementById(idMainNav).getElementsByTagName("li");for(var i=0;i<menus.length;i++){menus[i].onmouseover=function(){this.className=this.className.replace(new RegExp("( ?|^)"+menuHide+"\\b"),"");this.className+=(this.className.length>0?" ":"")+menuHover;};menus[i].onMouseUp=function(){menuToggle=!menuToggle;if(menuToggle){this.className=this.className.replace(new RegExp("( ?|^)"+menuHide+"\\b"),"");this.className+=(this.className.length>0?" ":"")+menuHover;}else{this.className+=(this.className.length>0?" ":"")+menuHide;this.className=this.className.replace(new RegExp("( ?|^)"+menuHover+"\\b"),"");}};menus[i].onmouseout=function(){this.className+=(this.className.length>0?" ":"")+menuHide;this.className=this.className.replace(new RegExp("( ?|^)"+menuHover+"\\b"),"");};}}function setFocusStyle(){}