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 (LeadingZeros33503 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33503(secs) { if (secs < 0) { document.getElementById("cntdwns33503").innerHTML = FinishMessages33503; return; } DisplayStrs33503 = DisplayFormats33503.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33503 = DisplayStrs33503.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33503 = DisplayStrs33503.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33503 = DisplayStrs33503.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33503").innerHTML = DisplayStrs33503; if (CountActives33503) //alert(SetTimeOutPeriods33503); setTimeout("CountBacks33503(" + (secs+CountSteppers33503) + ")", SetTimeOutPeriods33503); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33503)=="undefined") BackColors33503 = ""; if (typeof(ForeColors33503)=="undefined") ForeColors33503= "white"; if (typeof(TargetDates33503)=="undefined") TargetDates33503 = "02/24/2026 10:00:00 PM"; if (typeof(DisplayFormats33503)=="undefined") DisplayFormats33503 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33503)=="undefined") CountActives33503 = true; if (typeof(FinishMessages33503)=="undefined") FinishMessages33503 = ""; if (typeof(CountSteppers33503)!="number") CountSteppers33503 = -1; if (typeof(LeadingZeros33503)=="undefined") LeadingZeros33503 = true; CountSteppers33503 = Math.ceil(CountSteppers33503); if (CountSteppers33503 == 0) CountActives33503 = false; var SetTimeOutPeriods33503 = (Math.abs(CountSteppers33503)-1)*1000 + 990; puti(BackColors33503, ForeColors33503); var dthens33503 = new Date(TargetDates33503); var dnows33503 = new Date("02/22/2026 3:27:37 AM"); if(CountSteppers33503>0) ddiffs33503 = new Date(dnows33503-dthens33503); else ddiffs33503 = new Date(dthens33503-dnows33503); gsecss33503 = Math.floor(ddiffs33503.valueOf()/1000); CountBacks33503(gsecss33503);