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 (LeadingZeros33561 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33561(secs) { if (secs < 0) { document.getElementById("cntdwns33561").innerHTML = FinishMessages33561; return; } DisplayStrs33561 = DisplayFormats33561.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33561 = DisplayStrs33561.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33561 = DisplayStrs33561.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33561 = DisplayStrs33561.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33561").innerHTML = DisplayStrs33561; if (CountActives33561) //alert(SetTimeOutPeriods33561); setTimeout("CountBacks33561(" + (secs+CountSteppers33561) + ")", SetTimeOutPeriods33561); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33561)=="undefined") BackColors33561 = ""; if (typeof(ForeColors33561)=="undefined") ForeColors33561= "white"; if (typeof(TargetDates33561)=="undefined") TargetDates33561 = "02/24/2026 10:00:00 PM"; if (typeof(DisplayFormats33561)=="undefined") DisplayFormats33561 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33561)=="undefined") CountActives33561 = true; if (typeof(FinishMessages33561)=="undefined") FinishMessages33561 = ""; if (typeof(CountSteppers33561)!="number") CountSteppers33561 = -1; if (typeof(LeadingZeros33561)=="undefined") LeadingZeros33561 = true; CountSteppers33561 = Math.ceil(CountSteppers33561); if (CountSteppers33561 == 0) CountActives33561 = false; var SetTimeOutPeriods33561 = (Math.abs(CountSteppers33561)-1)*1000 + 990; puti(BackColors33561, ForeColors33561); var dthens33561 = new Date(TargetDates33561); var dnows33561 = new Date("02/22/2026 4:52:36 PM"); if(CountSteppers33561>0) ddiffs33561 = new Date(dnows33561-dthens33561); else ddiffs33561 = new Date(dthens33561-dnows33561); gsecss33561 = Math.floor(ddiffs33561.valueOf()/1000); CountBacks33561(gsecss33561);