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 (LeadingZeros33567 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33567(secs) { if (secs < 0) { document.getElementById("cntdwns33567").innerHTML = FinishMessages33567; return; } DisplayStrs33567 = DisplayFormats33567.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33567 = DisplayStrs33567.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33567 = DisplayStrs33567.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33567 = DisplayStrs33567.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33567").innerHTML = DisplayStrs33567; if (CountActives33567) //alert(SetTimeOutPeriods33567); setTimeout("CountBacks33567(" + (secs+CountSteppers33567) + ")", SetTimeOutPeriods33567); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33567)=="undefined") BackColors33567 = ""; if (typeof(ForeColors33567)=="undefined") ForeColors33567= "white"; if (typeof(TargetDates33567)=="undefined") TargetDates33567 = "02/26/2026 10:00:00 PM"; if (typeof(DisplayFormats33567)=="undefined") DisplayFormats33567 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33567)=="undefined") CountActives33567 = true; if (typeof(FinishMessages33567)=="undefined") FinishMessages33567 = ""; if (typeof(CountSteppers33567)!="number") CountSteppers33567 = -1; if (typeof(LeadingZeros33567)=="undefined") LeadingZeros33567 = true; CountSteppers33567 = Math.ceil(CountSteppers33567); if (CountSteppers33567 == 0) CountActives33567 = false; var SetTimeOutPeriods33567 = (Math.abs(CountSteppers33567)-1)*1000 + 990; puti(BackColors33567, ForeColors33567); var dthens33567 = new Date(TargetDates33567); var dnows33567 = new Date("02/23/2026 7:29:33 AM"); if(CountSteppers33567>0) ddiffs33567 = new Date(dnows33567-dthens33567); else ddiffs33567 = new Date(dthens33567-dnows33567); gsecss33567 = Math.floor(ddiffs33567.valueOf()/1000); CountBacks33567(gsecss33567);