var siteWidth=741,firstDay=wdMonday;function showTab(a){showPage("page"+a,"tab0"+a)}function submitForm(){event.keyCode==13&&checkLogin()&&frmLogin.submit()}
function showPage(a,b){var c=document.getElementById("page1"),d=document.getElementById("page2"),i=document.getElementById("page3"),j=document.getElementById("page4"),e=document.getElementById("tab01"),f=document.getElementById("tab02"),g=document.getElementById("tab03"),h=document.getElementById("tab04");c.style.display="none";d.style.display="none";i.style.display="none";j.style.display="none";if(e){e.src="img/tab01.gif";e.onmouseover=new Function("MM_swapImage('tab01','','img/tab01Mo.gif',1);");
e.onmouseout=new Function("MM_swapImgRestore()")}if(f){f.src="img/tab02.gif";f.onmouseover=new Function("MM_swapImage('tab02','','img/tab02Mo.gif',1);");f.onmouseout=new Function("MM_swapImgRestore()")}if(g){g.src="img/tab03.gif";g.onmouseover=new Function("MM_swapImage('tab03','','img/tab03Mo.gif',1);");g.onmouseout=new Function("MM_swapImgRestore()")}if(h){h.src="img/tab04.gif";h.onmouseover=new Function("MM_swapImage('tab04','','img/tab04Mo.gif',1);");h.onmouseout=new Function("MM_swapImgRestore()")}document.getElementById(b).onmouseover=
"";document.getElementById(b).onmouseout="";document.getElementById(b).src="img/"+b+"Active.gif";document.getElementById(a).style.display=""}
function switchHeaderTab(a,b,c,d){if(document.getElementById(a))document.getElementById(a).style.display="none";if(document.getElementById(b))document.getElementById(b).style.display="";if(document.getElementById("img"+c))document.getElementById("img"+c).src="img/tab"+c+".gif";if(document.getElementById("img"+d))document.getElementById("img"+d).src="img/tab"+d+"active.gif"};

