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 (LeadingZeros33498 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33498(secs) { if (secs < 0) { document.getElementById("cntdwns33498").innerHTML = FinishMessages33498; return; } DisplayStrs33498 = DisplayFormats33498.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33498 = DisplayStrs33498.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33498 = DisplayStrs33498.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33498 = DisplayStrs33498.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33498").innerHTML = DisplayStrs33498; if (CountActives33498) //alert(SetTimeOutPeriods33498); setTimeout("CountBacks33498(" + (secs+CountSteppers33498) + ")", SetTimeOutPeriods33498); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33498)=="undefined") BackColors33498 = ""; if (typeof(ForeColors33498)=="undefined") ForeColors33498= "white"; if (typeof(TargetDates33498)=="undefined") TargetDates33498 = "02/24/2026 10:00:00 PM"; if (typeof(DisplayFormats33498)=="undefined") DisplayFormats33498 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33498)=="undefined") CountActives33498 = true; if (typeof(FinishMessages33498)=="undefined") FinishMessages33498 = ""; if (typeof(CountSteppers33498)!="number") CountSteppers33498 = -1; if (typeof(LeadingZeros33498)=="undefined") LeadingZeros33498 = true; CountSteppers33498 = Math.ceil(CountSteppers33498); if (CountSteppers33498 == 0) CountActives33498 = false; var SetTimeOutPeriods33498 = (Math.abs(CountSteppers33498)-1)*1000 + 990; puti(BackColors33498, ForeColors33498); var dthens33498 = new Date(TargetDates33498); var dnows33498 = new Date("02/22/2026 3:32:25 AM"); if(CountSteppers33498>0) ddiffs33498 = new Date(dnows33498-dthens33498); else ddiffs33498 = new Date(dthens33498-dnows33498); gsecss33498 = Math.floor(ddiffs33498.valueOf()/1000); CountBacks33498(gsecss33498);