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 (LeadingZeros33203 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33203(secs) { if (secs < 0) { document.getElementById("cntdwns33203").innerHTML = FinishMessages33203; return; } DisplayStrs33203 = DisplayFormats33203.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33203 = DisplayStrs33203.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33203 = DisplayStrs33203.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33203 = DisplayStrs33203.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33203").innerHTML = DisplayStrs33203; if (CountActives33203) //alert(SetTimeOutPeriods33203); setTimeout("CountBacks33203(" + (secs+CountSteppers33203) + ")", SetTimeOutPeriods33203); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33203)=="undefined") BackColors33203 = ""; if (typeof(ForeColors33203)=="undefined") ForeColors33203= "white"; if (typeof(TargetDates33203)=="undefined") TargetDates33203 = "12/21/2025 10:00:00 PM"; if (typeof(DisplayFormats33203)=="undefined") DisplayFormats33203 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33203)=="undefined") CountActives33203 = true; if (typeof(FinishMessages33203)=="undefined") FinishMessages33203 = ""; if (typeof(CountSteppers33203)!="number") CountSteppers33203 = -1; if (typeof(LeadingZeros33203)=="undefined") LeadingZeros33203 = true; CountSteppers33203 = Math.ceil(CountSteppers33203); if (CountSteppers33203 == 0) CountActives33203 = false; var SetTimeOutPeriods33203 = (Math.abs(CountSteppers33203)-1)*1000 + 990; puti(BackColors33203, ForeColors33203); var dthens33203 = new Date(TargetDates33203); var dnows33203 = new Date("12/19/2025 7:48:08 AM"); if(CountSteppers33203>0) ddiffs33203 = new Date(dnows33203-dthens33203); else ddiffs33203 = new Date(dthens33203-dnows33203); gsecss33203 = Math.floor(ddiffs33203.valueOf()/1000); CountBacks33203(gsecss33203);