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 (LeadingZeros33530 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33530(secs) { if (secs < 0) { document.getElementById("cntdwns33530").innerHTML = FinishMessages33530; return; } DisplayStrs33530 = DisplayFormats33530.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33530 = DisplayStrs33530.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33530 = DisplayStrs33530.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33530 = DisplayStrs33530.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33530").innerHTML = DisplayStrs33530; if (CountActives33530) //alert(SetTimeOutPeriods33530); setTimeout("CountBacks33530(" + (secs+CountSteppers33530) + ")", SetTimeOutPeriods33530); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33530)=="undefined") BackColors33530 = ""; if (typeof(ForeColors33530)=="undefined") ForeColors33530= "white"; if (typeof(TargetDates33530)=="undefined") TargetDates33530 = "02/11/2026 10:00:00 PM"; if (typeof(DisplayFormats33530)=="undefined") DisplayFormats33530 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33530)=="undefined") CountActives33530 = true; if (typeof(FinishMessages33530)=="undefined") FinishMessages33530 = ""; if (typeof(CountSteppers33530)!="number") CountSteppers33530 = -1; if (typeof(LeadingZeros33530)=="undefined") LeadingZeros33530 = true; CountSteppers33530 = Math.ceil(CountSteppers33530); if (CountSteppers33530 == 0) CountActives33530 = false; var SetTimeOutPeriods33530 = (Math.abs(CountSteppers33530)-1)*1000 + 990; puti(BackColors33530, ForeColors33530); var dthens33530 = new Date(TargetDates33530); var dnows33530 = new Date("02/09/2026 10:50:24 AM"); if(CountSteppers33530>0) ddiffs33530 = new Date(dnows33530-dthens33530); else ddiffs33530 = new Date(dthens33530-dnows33530); gsecss33530 = Math.floor(ddiffs33530.valueOf()/1000); CountBacks33530(gsecss33530);