document.writeln('aaaaaaa'); var counter1=263; var poptm1 =2; countdown1(); function countdown1(){ var d,h,m,s,msg; counter1--; if(counter1>0) { msg=''; //msg='Database will reset in '; tmp=counter1; d=parseInt(tmp/(24*60*60)); if(d) msg = msg+d+' days, '; tmp= tmp-(d*24*60*60); h=parseInt(tmp/(60*60)); if(h) msg = msg+h+' hours, '; tmp= tmp-(h*60*60); m=parseInt(tmp/(60)); if(m) msg = msg+m+' mins & '; tmp= tmp-(m*60); s=tmp; msg = msg+s+' secs '; if(poptm1==counter1) { alert('This demo is resetting... Please come back to the page in 10 seconds.'); window.location='http://www.solvetechnology.com/'; } document.getElementById('reset1').innerHTML=msg; } else document.getElementById('reset1').innerHTML=''; setTimeout("countdown1()", 1000); }