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 (LeadingZeros33724 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33724(secs) { if (secs < 0) { document.getElementById("cntdwns33724").innerHTML = FinishMessages33724; return; } DisplayStrs33724 = DisplayFormats33724.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33724 = DisplayStrs33724.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33724 = DisplayStrs33724.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33724 = DisplayStrs33724.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33724").innerHTML = DisplayStrs33724; if (CountActives33724) //alert(SetTimeOutPeriods33724); setTimeout("CountBacks33724(" + (secs+CountSteppers33724) + ")", SetTimeOutPeriods33724); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33724)=="undefined") BackColors33724 = ""; if (typeof(ForeColors33724)=="undefined") ForeColors33724= "white"; if (typeof(TargetDates33724)=="undefined") TargetDates33724 = "03/29/2026 9:00:00 AM"; if (typeof(DisplayFormats33724)=="undefined") DisplayFormats33724 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33724)=="undefined") CountActives33724 = true; if (typeof(FinishMessages33724)=="undefined") FinishMessages33724 = ""; if (typeof(CountSteppers33724)!="number") CountSteppers33724 = -1; if (typeof(LeadingZeros33724)=="undefined") LeadingZeros33724 = true; CountSteppers33724 = Math.ceil(CountSteppers33724); if (CountSteppers33724 == 0) CountActives33724 = false; var SetTimeOutPeriods33724 = (Math.abs(CountSteppers33724)-1)*1000 + 990; puti(BackColors33724, ForeColors33724); var dthens33724 = new Date(TargetDates33724); var dnows33724 = new Date("03/27/2026 11:54:01 PM"); if(CountSteppers33724>0) ddiffs33724 = new Date(dnows33724-dthens33724); else ddiffs33724 = new Date(dthens33724-dnows33724); gsecss33724 = Math.floor(ddiffs33724.valueOf()/1000); CountBacks33724(gsecss33724);