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 (LeadingZeros33054 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33054(secs) { if (secs < 0) { document.getElementById("cntdwns33054").innerHTML = FinishMessages33054; return; } DisplayStrs33054 = DisplayFormats33054.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33054 = DisplayStrs33054.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33054 = DisplayStrs33054.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33054 = DisplayStrs33054.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33054").innerHTML = DisplayStrs33054; if (CountActives33054) //alert(SetTimeOutPeriods33054); setTimeout("CountBacks33054(" + (secs+CountSteppers33054) + ")", SetTimeOutPeriods33054); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33054)=="undefined") BackColors33054 = ""; if (typeof(ForeColors33054)=="undefined") ForeColors33054= "white"; if (typeof(TargetDates33054)=="undefined") TargetDates33054 = "11/26/2025 10:00:00 PM"; if (typeof(DisplayFormats33054)=="undefined") DisplayFormats33054 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33054)=="undefined") CountActives33054 = true; if (typeof(FinishMessages33054)=="undefined") FinishMessages33054 = ""; if (typeof(CountSteppers33054)!="number") CountSteppers33054 = -1; if (typeof(LeadingZeros33054)=="undefined") LeadingZeros33054 = true; CountSteppers33054 = Math.ceil(CountSteppers33054); if (CountSteppers33054 == 0) CountActives33054 = false; var SetTimeOutPeriods33054 = (Math.abs(CountSteppers33054)-1)*1000 + 990; puti(BackColors33054, ForeColors33054); var dthens33054 = new Date(TargetDates33054); var dnows33054 = new Date("11/23/2025 1:39:31 PM"); if(CountSteppers33054>0) ddiffs33054 = new Date(dnows33054-dthens33054); else ddiffs33054 = new Date(dthens33054-dnows33054); gsecss33054 = Math.floor(ddiffs33054.valueOf()/1000); CountBacks33054(gsecss33054);