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 (LeadingZeros33615 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33615(secs) { if (secs < 0) { document.getElementById("cntdwns33615").innerHTML = FinishMessages33615; return; } DisplayStrs33615 = DisplayFormats33615.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33615 = DisplayStrs33615.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33615 = DisplayStrs33615.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33615 = DisplayStrs33615.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33615").innerHTML = DisplayStrs33615; if (CountActives33615) //alert(SetTimeOutPeriods33615); setTimeout("CountBacks33615(" + (secs+CountSteppers33615) + ")", SetTimeOutPeriods33615); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33615)=="undefined") BackColors33615 = ""; if (typeof(ForeColors33615)=="undefined") ForeColors33615= "white"; if (typeof(TargetDates33615)=="undefined") TargetDates33615 = "03/23/2026 10:00:00 PM"; if (typeof(DisplayFormats33615)=="undefined") DisplayFormats33615 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33615)=="undefined") CountActives33615 = true; if (typeof(FinishMessages33615)=="undefined") FinishMessages33615 = ""; if (typeof(CountSteppers33615)!="number") CountSteppers33615 = -1; if (typeof(LeadingZeros33615)=="undefined") LeadingZeros33615 = true; CountSteppers33615 = Math.ceil(CountSteppers33615); if (CountSteppers33615 == 0) CountActives33615 = false; var SetTimeOutPeriods33615 = (Math.abs(CountSteppers33615)-1)*1000 + 990; puti(BackColors33615, ForeColors33615); var dthens33615 = new Date(TargetDates33615); var dnows33615 = new Date("03/20/2026 12:00:22 PM"); if(CountSteppers33615>0) ddiffs33615 = new Date(dnows33615-dthens33615); else ddiffs33615 = new Date(dthens33615-dnows33615); gsecss33615 = Math.floor(ddiffs33615.valueOf()/1000); CountBacks33615(gsecss33615);