function MultiDimensionalArray(D,E){var C;var B;var A=new Array(D);for(C=0;C<D;C++){A[C]=new Array(E);for(B=0;B<E;B++){A[C][B]=""}}return(A)}function initial(){clockImages[0][0]="-611";clockImages[0][1]="26";clockImages[0][2]="37";clockImages[1][0]="-637";clockImages[1][1]="26";clockImages[1][2]="37";clockImages[2][0]="-663";clockImages[2][1]="26";clockImages[2][2]="37";clockImages[3][0]="-689";clockImages[3][1]="26";clockImages[3][2]="37";clockImages[4][0]="-715";clockImages[4][1]="26";clockImages[4][2]="37";clockImages[5][0]="-741";clockImages[5][1]="26";clockImages[5][2]="37";clockImages[6][0]="-767";clockImages[6][1]="26";clockImages[6][2]="37";clockImages[7][0]="-793";clockImages[7][1]="26";clockImages[7][2]="37";clockImages[8][0]="-820";clockImages[8][1]="26";clockImages[8][2]="37";clockImages[9][0]="-846";clockImages[9][1]="26";clockImages[9][2]="37";clockImages[10][0]="-605";clockImages[10][1]="6";clockImages[10][2]="37";window.setInterval("timeCountDown()",120)}var clockImages=new MultiDimensionalArray(11,2);function timeCountDown(){var A=new Date();if(A.getSeconds()!=realSeconds){getTime();realSeconds=A.getSeconds()}}function getTime(){if(seconds!=0||minutes!=0||hours!=0){if(seconds==0){seconds=59;if(minutes==0){minutes=59;hours=hours-1;if(hours<0){hours=0}}else{minutes=minutes-1}}else{seconds=seconds-1}}var H=document.getElementById("clockh1");var F=document.getElementById("clockh2");var E=document.getElementById("clockm1");var C=document.getElementById("clockm2");var G=document.getElementById("clocks1");var D=document.getElementById("clocks2");var B=document.getElementById("clockColon1");var A=document.getElementById("clockColon2");H.style.backgroundPosition=clockImages[Math.floor(hours/10)][0]+"px "+0+"px";H.style.width=clockImages[Math.floor(hours/10)][1]+"px";H.style.height=clockImages[Math.floor(hours/10)][2]+"px";F.style.backgroundPosition=clockImages[(hours%10)][0]+"px "+0+"px";F.style.width=clockImages[(hours%10)][1]+"px";F.style.height=clockImages[(hours%10)][2]+"px";E.style.backgroundPosition=clockImages[Math.floor(minutes/10)][0]+"px "+0+"px";E.style.width=clockImages[Math.floor(minutes/10)][1]+"px";E.style.height=clockImages[Math.floor(minutes/10)][2]+"px";C.style.backgroundPosition=clockImages[(minutes%10)][0]+"px "+0+"px";C.style.width=clockImages[(minutes%10)][1]+"px";C.style.height=clockImages[(minutes%10)][2]+"px";G.style.backgroundPosition=clockImages[Math.floor(seconds/10)][0]+"px "+0+"px";G.style.width=clockImages[Math.floor(seconds/10)][1]+"px";G.style.height=clockImages[Math.floor(seconds/10)][2]+"px";D.style.backgroundPosition=clockImages[(seconds%10)][0]+"px "+0+"px";D.style.width=clockImages[(seconds%10)][1]+"px";D.style.height=clockImages[(seconds%10)][2]+"px";B.style.backgroundPosition=clockImages[10][0]+"px "+0+"px";B.style.width=clockImages[10][1]+"px";B.style.height=clockImages[10][2]+"px";A.style.backgroundPosition=clockImages[10][0]+"px "+0+"px";A.style.width=clockImages[10][1]+"px";A.style.height=clockImages[10][2]+"px"}function createXmlHttpRequestObject(){var A;try{A=new XMLHttpRequest()}catch(D){var B=new Array("MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP");for(var C=0;C<B.length&&!A;C++){try{A=new ActiveXObject(B[C])}catch(D){}}}if(!A){alert("Error creating the XMLHttpRequest object.")}else{return A}}var req=createXmlHttpRequestObject();var interval=30000;var maxrepeat=40;var repeat=1;window.setTimeout("keepSessionAlive()",interval);function keepSessionAlive(){req.open("GET","/keepSessionAlive.do",true);req.send(null);if(++repeat<=maxrepeat){window.setTimeout("keepSessionAlive()",interval)}}function pageURL(){return document.location.href};