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 (LeadingZeros33629 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33629(secs) { if (secs < 0) { document.getElementById("cntdwns33629").innerHTML = FinishMessages33629; return; } DisplayStrs33629 = DisplayFormats33629.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33629 = DisplayStrs33629.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33629 = DisplayStrs33629.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33629 = DisplayStrs33629.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33629").innerHTML = DisplayStrs33629; if (CountActives33629) //alert(SetTimeOutPeriods33629); setTimeout("CountBacks33629(" + (secs+CountSteppers33629) + ")", SetTimeOutPeriods33629); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33629)=="undefined") BackColors33629 = ""; if (typeof(ForeColors33629)=="undefined") ForeColors33629= "white"; if (typeof(TargetDates33629)=="undefined") TargetDates33629 = "02/28/2026 10:00:00 PM"; if (typeof(DisplayFormats33629)=="undefined") DisplayFormats33629 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33629)=="undefined") CountActives33629 = true; if (typeof(FinishMessages33629)=="undefined") FinishMessages33629 = ""; if (typeof(CountSteppers33629)!="number") CountSteppers33629 = -1; if (typeof(LeadingZeros33629)=="undefined") LeadingZeros33629 = true; CountSteppers33629 = Math.ceil(CountSteppers33629); if (CountSteppers33629 == 0) CountActives33629 = false; var SetTimeOutPeriods33629 = (Math.abs(CountSteppers33629)-1)*1000 + 990; puti(BackColors33629, ForeColors33629); var dthens33629 = new Date(TargetDates33629); var dnows33629 = new Date("02/26/2026 12:36:16 AM"); if(CountSteppers33629>0) ddiffs33629 = new Date(dnows33629-dthens33629); else ddiffs33629 = new Date(dthens33629-dnows33629); gsecss33629 = Math.floor(ddiffs33629.valueOf()/1000); CountBacks33629(gsecss33629);