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 (LeadingZeros33584 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33584(secs) { if (secs < 0) { document.getElementById("cntdwns33584").innerHTML = FinishMessages33584; return; } DisplayStrs33584 = DisplayFormats33584.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33584 = DisplayStrs33584.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33584 = DisplayStrs33584.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33584 = DisplayStrs33584.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33584").innerHTML = DisplayStrs33584; if (CountActives33584) //alert(SetTimeOutPeriods33584); setTimeout("CountBacks33584(" + (secs+CountSteppers33584) + ")", SetTimeOutPeriods33584); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33584)=="undefined") BackColors33584 = ""; if (typeof(ForeColors33584)=="undefined") ForeColors33584= "white"; if (typeof(TargetDates33584)=="undefined") TargetDates33584 = "02/25/2026 10:00:00 PM"; if (typeof(DisplayFormats33584)=="undefined") DisplayFormats33584 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33584)=="undefined") CountActives33584 = true; if (typeof(FinishMessages33584)=="undefined") FinishMessages33584 = ""; if (typeof(CountSteppers33584)!="number") CountSteppers33584 = -1; if (typeof(LeadingZeros33584)=="undefined") LeadingZeros33584 = true; CountSteppers33584 = Math.ceil(CountSteppers33584); if (CountSteppers33584 == 0) CountActives33584 = false; var SetTimeOutPeriods33584 = (Math.abs(CountSteppers33584)-1)*1000 + 990; puti(BackColors33584, ForeColors33584); var dthens33584 = new Date(TargetDates33584); var dnows33584 = new Date("02/22/2026 3:27:37 AM"); if(CountSteppers33584>0) ddiffs33584 = new Date(dnows33584-dthens33584); else ddiffs33584 = new Date(dthens33584-dnows33584); gsecss33584 = Math.floor(ddiffs33584.valueOf()/1000); CountBacks33584(gsecss33584);