var idInterval,idTimeout,gShowDiag,gSkinPath,gSessionTimeout,gTimeoutPagePath,gReconnectPagePath,gLogOffPagePath,IFRAME_COUNT_DOWN_ID="iFrameCountDown",DIV_COUNT_DOWN_ID="divCountDown",DIV_TIME_LEFT_ID="divTimeLeft";document.all&&!document.getElementById&&(document.getElementById=function(d){return document.all[d]});function initTimeout(d,g,a,c,h){gSkinPath=d;gSessionTimeout=g;gTimeoutPagePath=a;gReconnectPagePath=c;gLogOffPagePath=h;AddTimeoutDIV();RegisterTimeout()} function CountDown(d){var g;0>=d&&(d=0,window.clearTimeout(idTimeout),TimeOut());var a=Math.floor(d/60);var c=60==d?60:d%60;document.getElementById(DIV_COUNT_DOWN_ID)&&1==gShowDiag&&(60>=d?g="":60<=d&&120>d?g=t_("[ME_TXT-Minute]")+" "+t_("[ME_TXT-And]")+" ":120<=d&&(g=t_("[ME_TXT-Minutes]")+" "+t_("[ME_TXT-And]")+" "),a=60=d&&2<=d?" "+c+" "+t_("[ME_TXT-Seconds]"):" "+c+" "+t_("[ME_TXT-Second]"),document.all?document.getElementById(DIV_TIME_LEFT_ID)&& (document.getElementById(DIV_TIME_LEFT_ID).innerText=a):document.getElementById(DIV_TIME_LEFT_ID)&&(document.getElementById(DIV_TIME_LEFT_ID).innerHTML=a));0=c&&(c=0,window.clearTimeout(this.idTimeoutCount),this.TimeOut());var q=Math.floor(c/60);var f=60==c?60:c%60;60>=c?h="":60<=c&&120>c?h=t_("[ME_TXT-Minute]")+" "+t_("[ME_TXT-And]")+" ":120<=c&&(h=t_("[ME_TXT-Minutes]")+" "+t_("[ME_TXT-And]")+" "); q=60=c&&2<=c?" "+f+" "+t_("[ME_TXT-Seconds]"):" "+f+" "+t_("[ME_TXT-Second]");k.getElementById(this.ID+"_divTimeLeft")&&SetElementText(k.getElementById(this.ID+"_divTimeLeft"),q);if(0h?this.posDiagLeft-Math.abs(h)+"px":this.posDiagLeft+Math.abs(h)+"px";q.style.top=0>k?this.posDiagTop-Math.abs(k)+"px":this.posDiagTop+Math.abs(k)+"px";f.style.top= parseInt(q.style.top)+8+"px";f.style.left=parseInt(q.style.left)+8+"px";this.posDiagTop=parseInt(q.style.top,10);this.posDiagLeft=parseInt(q.style.left,10);this.posMouseTop=c.screenY;this.posMouseLeft=c.screenX}};this.GetTop=function(){return this.posDiagTop};this.GetLeft=function(){return this.posDiagLeft};this.ConfirmYes=function(){this.Reconnect()};this.ConfirmNo=function(){this.HideTimeout();try{LogOff()}catch(c){self.close()}};this.Init()};