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 (LeadingZeros34241 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks34241(secs) { if (secs < 0) { document.getElementById("cntdwns34241").innerHTML = FinishMessages34241; return; } DisplayStrs34241 = DisplayFormats34241.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs34241 = DisplayStrs34241.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs34241 = DisplayStrs34241.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs34241 = DisplayStrs34241.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns34241").innerHTML = DisplayStrs34241; if (CountActives34241) //alert(SetTimeOutPeriods34241); setTimeout("CountBacks34241(" + (secs+CountSteppers34241) + ")", SetTimeOutPeriods34241); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors34241)=="undefined") BackColors34241 = ""; if (typeof(ForeColors34241)=="undefined") ForeColors34241= "white"; if (typeof(TargetDates34241)=="undefined") TargetDates34241 = "09/28/2026 11:00:00 PM"; if (typeof(DisplayFormats34241)=="undefined") DisplayFormats34241 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives34241)=="undefined") CountActives34241 = true; if (typeof(FinishMessages34241)=="undefined") FinishMessages34241 = ""; if (typeof(CountSteppers34241)!="number") CountSteppers34241 = -1; if (typeof(LeadingZeros34241)=="undefined") LeadingZeros34241 = true; CountSteppers34241 = Math.ceil(CountSteppers34241); if (CountSteppers34241 == 0) CountActives34241 = false; var SetTimeOutPeriods34241 = (Math.abs(CountSteppers34241)-1)*1000 + 990; puti(BackColors34241, ForeColors34241); var dthens34241 = new Date(TargetDates34241); var dnows34241 = new Date("09/25/2026 6:47:56 PM"); if(CountSteppers34241>0) ddiffs34241 = new Date(dnows34241-dthens34241); else ddiffs34241 = new Date(dthens34241-dnows34241); gsecss34241 = Math.floor(ddiffs34241.valueOf()/1000); CountBacks34241(gsecss34241);