function calcage(secs, num1, num2, addDay, seconds) { if (addDay == 1){ s = ((Math.floor(secs/num1))).toString(); } else{ s = ((Math.floor(secs/num1))%num2).toString(); } if (LeadingZeros34441 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks34441(secs) { if (secs < 0) { document.getElementById("cntdwns34441").innerHTML = FinishMessages34441; return; } DisplayStrs34441 = DisplayFormats34441.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs34441 = DisplayStrs34441.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs34441 = DisplayStrs34441.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs34441 = DisplayStrs34441.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns34441").innerHTML = DisplayStrs34441; if (CountActives34441) //alert(SetTimeOutPeriods34441); setTimeout("CountBacks34441(" + (secs+CountSteppers34441) + ")", SetTimeOutPeriods34441); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors34441)=="undefined") BackColors34441 = ""; if (typeof(ForeColors34441)=="undefined") ForeColors34441= "white"; if (typeof(TargetDates34441)=="undefined") TargetDates34441 = "11/07/2026 10:00:00 AM"; if (typeof(DisplayFormats34441)=="undefined") DisplayFormats34441 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives34441)=="undefined") CountActives34441 = true; if (typeof(FinishMessages34441)=="undefined") FinishMessages34441 = ""; if (typeof(CountSteppers34441)!="number") CountSteppers34441 = -1; if (typeof(LeadingZeros34441)=="undefined") LeadingZeros34441 = true; CountSteppers34441 = Math.ceil(CountSteppers34441); if (CountSteppers34441 == 0) CountActives34441 = false; var SetTimeOutPeriods34441 = (Math.abs(CountSteppers34441)-1)*1000 + 990; puti(BackColors34441, ForeColors34441); var dthens34441 = new Date(TargetDates34441); var dnows34441 = new Date("11/04/2026 1:29:37 AM"); if(CountSteppers34441>0) ddiffs34441 = new Date(dnows34441-dthens34441); else ddiffs34441 = new Date(dthens34441-dnows34441); gsecss34441 = Math.floor(ddiffs34441.valueOf()/1000); CountBacks34441(gsecss34441);