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 (LeadingZeros33588 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33588(secs) { if (secs < 0) { document.getElementById("cntdwns33588").innerHTML = FinishMessages33588; return; } DisplayStrs33588 = DisplayFormats33588.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33588 = DisplayStrs33588.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33588 = DisplayStrs33588.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33588 = DisplayStrs33588.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33588").innerHTML = DisplayStrs33588; if (CountActives33588) //alert(SetTimeOutPeriods33588); setTimeout("CountBacks33588(" + (secs+CountSteppers33588) + ")", SetTimeOutPeriods33588); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33588)=="undefined") BackColors33588 = ""; if (typeof(ForeColors33588)=="undefined") ForeColors33588= "white"; if (typeof(TargetDates33588)=="undefined") TargetDates33588 = "02/26/2026 10:00:00 PM"; if (typeof(DisplayFormats33588)=="undefined") DisplayFormats33588 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33588)=="undefined") CountActives33588 = true; if (typeof(FinishMessages33588)=="undefined") FinishMessages33588 = ""; if (typeof(CountSteppers33588)!="number") CountSteppers33588 = -1; if (typeof(LeadingZeros33588)=="undefined") LeadingZeros33588 = true; CountSteppers33588 = Math.ceil(CountSteppers33588); if (CountSteppers33588 == 0) CountActives33588 = false; var SetTimeOutPeriods33588 = (Math.abs(CountSteppers33588)-1)*1000 + 990; puti(BackColors33588, ForeColors33588); var dthens33588 = new Date(TargetDates33588); var dnows33588 = new Date("02/24/2026 2:28:57 AM"); if(CountSteppers33588>0) ddiffs33588 = new Date(dnows33588-dthens33588); else ddiffs33588 = new Date(dthens33588-dnows33588); gsecss33588 = Math.floor(ddiffs33588.valueOf()/1000); CountBacks33588(gsecss33588);