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 (LeadingZeros33537 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33537(secs) { if (secs < 0) { document.getElementById("cntdwns33537").innerHTML = FinishMessages33537; return; } DisplayStrs33537 = DisplayFormats33537.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33537 = DisplayStrs33537.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33537 = DisplayStrs33537.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33537 = DisplayStrs33537.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33537").innerHTML = DisplayStrs33537; if (CountActives33537) //alert(SetTimeOutPeriods33537); setTimeout("CountBacks33537(" + (secs+CountSteppers33537) + ")", SetTimeOutPeriods33537); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33537)=="undefined") BackColors33537 = ""; if (typeof(ForeColors33537)=="undefined") ForeColors33537= "white"; if (typeof(TargetDates33537)=="undefined") TargetDates33537 = "02/18/2026 10:00:00 PM"; if (typeof(DisplayFormats33537)=="undefined") DisplayFormats33537 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33537)=="undefined") CountActives33537 = true; if (typeof(FinishMessages33537)=="undefined") FinishMessages33537 = ""; if (typeof(CountSteppers33537)!="number") CountSteppers33537 = -1; if (typeof(LeadingZeros33537)=="undefined") LeadingZeros33537 = true; CountSteppers33537 = Math.ceil(CountSteppers33537); if (CountSteppers33537 == 0) CountActives33537 = false; var SetTimeOutPeriods33537 = (Math.abs(CountSteppers33537)-1)*1000 + 990; puti(BackColors33537, ForeColors33537); var dthens33537 = new Date(TargetDates33537); var dnows33537 = new Date("02/16/2026 8:53:59 AM"); if(CountSteppers33537>0) ddiffs33537 = new Date(dnows33537-dthens33537); else ddiffs33537 = new Date(dthens33537-dnows33537); gsecss33537 = Math.floor(ddiffs33537.valueOf()/1000); CountBacks33537(gsecss33537);