var iscc=false,cm=true;if(!document.getElementById){if(document.all){document.getElementById=function(){if(typeof document.all[arguments[0]]!="undefined")return document.all[arguments[0]];else return null};}else if(document.layers){document.getElementById=function(){if(typeof document[arguments[0]]!="undefined")return document[arguments[0]];else return null};};};function gid(e){return document.getElementById(e);};function mi(e){o=document.getElementById(e);o.style.cursor='hand';r=/hover/g;c=o.className;if(c.search(r)<0){o.className=c+'hover';};};function mo(e){o=document.getElementById(e);r=/hover/g;c=o.className;if(o.className.search(r)>0){o.className=c.replace(r,"");};};function vw(e){if(iscc){iscc=false;return;};parent.frames['List'].location.href=mp+e;};function cc(){iscc=true;};function ccm(){for(var i=0;i<document.forms[0].elements.length;i++){var o=document.forms[0].elements[i];if(o.name=='chk'){o.checked=cm;};};cm=!cm;};function va(e){if(iscc){iscc=false;return;};parent.frames['List'].location.href=mp+e;};var cf='To';function sf(e){document.imgTo.src=document.imgCc.src=document.imgBcc.src=imgfolder+'Mail_Spacer.gif';cf=e;if(cf=='To'){document.imgTo.src=imgfolder+'Mail_Fieldarrow.gif';};if(cf=='Cc'){document.imgCc.src=imgfolder+'Mail_Fieldarrow.gif';};if(cf=='Bcc'){document.imgBcc.src=imgfolder+'Mail_Fieldarrow.gif';};};function sae(e){o=Msg.elements['txt'+cf];if(o.value.length==0||o.value.indexOf(e)==-1){if(o.value.length>0&&o.value.charAt(o.value.length-1)!=";"){o.value+=";";};o.value+=e;};};function cj(){var tmpcookie=new Date();chkcookie=(tmpcookie.getTime()+'');document.cookie="chkcookie="+chkcookie+"; path=/";if(document.cookie.indexOf(chkcookie,0)>0){document.forms[0].hidCookiesEnabled.value="True"};document.forms[0].LocalTimeZone.value=(new Date().getTimezoneOffset()*-1);document.forms[0].submit();};function lo(){o=gid('txtLogin');if(o.value.length>0){o=gid('txtPassword');o.focus();}else{o.focus();};settz();};function settz(){o=gid('LocalTimeZone');o.value=(new Date().getTimezoneOffset()*-1);};function InitCustomLoginPage(){settz();};function showwait(){i=document.getElementById("divWait");i.style.display='block';setTimeout("procwait()",500);};var ppp=0;function procwait(){if(ppp==3){ppp=0;};ppp++;i=document.getElementById("spanppp");i.innerText='';for(c=0;c<ppp;c++){i.innerText+='.';};setTimeout("procwait()",500);};function OnMouseEvent(e){var posx=-1,posy=-1;if(!e)var e=window.event;if(e.pageX||e.pageY){posx=e.pageX;posy=e.pageY;}else if(e.clientX||e.clientY){posx=e.clientX+document.body.scrollLeft;posy=e.clientY+document.body.scrollTop;};if(document.body.offsetWidth<=posx+2){document.getElementById("tblFolderLayout").className="FolderLayoutOver";}else{document.getElementById("tblFolderLayout").className="FolderLayout";};};function CaptureEvent(){document.getElementById("tblFolderLayout").onmousemove=OnMouseEvent;};function submitform(){document.forms[0].submit();};function entsub(e){if((e&&e.which==13)||(window.event&&window.event.keyCode==13)){submitform();};};var xtp;function xtpload(method,url,content){if(window.XMLHttpRequest){try{xtp=new XMLHttpRequest();}catch(e){xtp=false;};}else if(window.ActiveXObject){try{xtp=new ActiveXObject("MSXML2.XMLHTTP");}catch(e){try{xtp=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){xtp=false;};};};if(xtp){xtp.open(method,url,true);xtp.send(content);};};function popitup(url){var newwindow='';newwindow=window.open(url,'name');if(!newwindow.opener)newwindow.opener=self;if(window.focus){newwindow.focus()};};
