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 (LeadingZeros33235 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33235(secs) { if (secs < 0) { document.getElementById("cntdwns33235").innerHTML = FinishMessages33235; return; } DisplayStrs33235 = DisplayFormats33235.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33235 = DisplayStrs33235.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33235 = DisplayStrs33235.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33235 = DisplayStrs33235.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33235").innerHTML = DisplayStrs33235; if (CountActives33235) //alert(SetTimeOutPeriods33235); setTimeout("CountBacks33235(" + (secs+CountSteppers33235) + ")", SetTimeOutPeriods33235); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33235)=="undefined") BackColors33235 = ""; if (typeof(ForeColors33235)=="undefined") ForeColors33235= "white"; if (typeof(TargetDates33235)=="undefined") TargetDates33235 = "01/22/2026 10:00:00 PM"; if (typeof(DisplayFormats33235)=="undefined") DisplayFormats33235 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33235)=="undefined") CountActives33235 = true; if (typeof(FinishMessages33235)=="undefined") FinishMessages33235 = ""; if (typeof(CountSteppers33235)!="number") CountSteppers33235 = -1; if (typeof(LeadingZeros33235)=="undefined") LeadingZeros33235 = true; CountSteppers33235 = Math.ceil(CountSteppers33235); if (CountSteppers33235 == 0) CountActives33235 = false; var SetTimeOutPeriods33235 = (Math.abs(CountSteppers33235)-1)*1000 + 990; puti(BackColors33235, ForeColors33235); var dthens33235 = new Date(TargetDates33235); var dnows33235 = new Date("01/20/2026 6:33:13 PM"); if(CountSteppers33235>0) ddiffs33235 = new Date(dnows33235-dthens33235); else ddiffs33235 = new Date(dthens33235-dnows33235); gsecss33235 = Math.floor(ddiffs33235.valueOf()/1000); CountBacks33235(gsecss33235);