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 (LeadingZeros33569 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33569(secs) { if (secs < 0) { document.getElementById("cntdwns33569").innerHTML = FinishMessages33569; return; } DisplayStrs33569 = DisplayFormats33569.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33569 = DisplayStrs33569.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33569 = DisplayStrs33569.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33569 = DisplayStrs33569.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33569").innerHTML = DisplayStrs33569; if (CountActives33569) //alert(SetTimeOutPeriods33569); setTimeout("CountBacks33569(" + (secs+CountSteppers33569) + ")", SetTimeOutPeriods33569); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33569)=="undefined") BackColors33569 = ""; if (typeof(ForeColors33569)=="undefined") ForeColors33569= "white"; if (typeof(TargetDates33569)=="undefined") TargetDates33569 = "02/26/2026 10:00:00 PM"; if (typeof(DisplayFormats33569)=="undefined") DisplayFormats33569 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33569)=="undefined") CountActives33569 = true; if (typeof(FinishMessages33569)=="undefined") FinishMessages33569 = ""; if (typeof(CountSteppers33569)!="number") CountSteppers33569 = -1; if (typeof(LeadingZeros33569)=="undefined") LeadingZeros33569 = true; CountSteppers33569 = Math.ceil(CountSteppers33569); if (CountSteppers33569 == 0) CountActives33569 = false; var SetTimeOutPeriods33569 = (Math.abs(CountSteppers33569)-1)*1000 + 990; puti(BackColors33569, ForeColors33569); var dthens33569 = new Date(TargetDates33569); var dnows33569 = new Date("02/23/2026 7:27:33 AM"); if(CountSteppers33569>0) ddiffs33569 = new Date(dnows33569-dthens33569); else ddiffs33569 = new Date(dthens33569-dnows33569); gsecss33569 = Math.floor(ddiffs33569.valueOf()/1000); CountBacks33569(gsecss33569);