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 (LeadingZeros33697 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33697(secs) { if (secs < 0) { document.getElementById("cntdwns33697").innerHTML = FinishMessages33697; return; } DisplayStrs33697 = DisplayFormats33697.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33697 = DisplayStrs33697.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33697 = DisplayStrs33697.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33697 = DisplayStrs33697.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33697").innerHTML = DisplayStrs33697; if (CountActives33697) //alert(SetTimeOutPeriods33697); setTimeout("CountBacks33697(" + (secs+CountSteppers33697) + ")", SetTimeOutPeriods33697); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33697)=="undefined") BackColors33697 = ""; if (typeof(ForeColors33697)=="undefined") ForeColors33697= "white"; if (typeof(TargetDates33697)=="undefined") TargetDates33697 = "03/31/2026 11:00:00 PM"; if (typeof(DisplayFormats33697)=="undefined") DisplayFormats33697 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33697)=="undefined") CountActives33697 = true; if (typeof(FinishMessages33697)=="undefined") FinishMessages33697 = ""; if (typeof(CountSteppers33697)!="number") CountSteppers33697 = -1; if (typeof(LeadingZeros33697)=="undefined") LeadingZeros33697 = true; CountSteppers33697 = Math.ceil(CountSteppers33697); if (CountSteppers33697 == 0) CountActives33697 = false; var SetTimeOutPeriods33697 = (Math.abs(CountSteppers33697)-1)*1000 + 990; puti(BackColors33697, ForeColors33697); var dthens33697 = new Date(TargetDates33697); var dnows33697 = new Date("03/28/2026 3:25:37 AM"); if(CountSteppers33697>0) ddiffs33697 = new Date(dnows33697-dthens33697); else ddiffs33697 = new Date(dthens33697-dnows33697); gsecss33697 = Math.floor(ddiffs33697.valueOf()/1000); CountBacks33697(gsecss33697);