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 (LeadingZeros33708 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33708(secs) { if (secs < 0) { document.getElementById("cntdwns33708").innerHTML = FinishMessages33708; return; } DisplayStrs33708 = DisplayFormats33708.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33708 = DisplayStrs33708.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33708 = DisplayStrs33708.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33708 = DisplayStrs33708.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33708").innerHTML = DisplayStrs33708; if (CountActives33708) //alert(SetTimeOutPeriods33708); setTimeout("CountBacks33708(" + (secs+CountSteppers33708) + ")", SetTimeOutPeriods33708); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33708)=="undefined") BackColors33708 = ""; if (typeof(ForeColors33708)=="undefined") ForeColors33708= "white"; if (typeof(TargetDates33708)=="undefined") TargetDates33708 = "03/31/2026 11:00:00 PM"; if (typeof(DisplayFormats33708)=="undefined") DisplayFormats33708 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33708)=="undefined") CountActives33708 = true; if (typeof(FinishMessages33708)=="undefined") FinishMessages33708 = ""; if (typeof(CountSteppers33708)!="number") CountSteppers33708 = -1; if (typeof(LeadingZeros33708)=="undefined") LeadingZeros33708 = true; CountSteppers33708 = Math.ceil(CountSteppers33708); if (CountSteppers33708 == 0) CountActives33708 = false; var SetTimeOutPeriods33708 = (Math.abs(CountSteppers33708)-1)*1000 + 990; puti(BackColors33708, ForeColors33708); var dthens33708 = new Date(TargetDates33708); var dnows33708 = new Date("03/30/2026 12:20:52 AM"); if(CountSteppers33708>0) ddiffs33708 = new Date(dnows33708-dthens33708); else ddiffs33708 = new Date(dthens33708-dnows33708); gsecss33708 = Math.floor(ddiffs33708.valueOf()/1000); CountBacks33708(gsecss33708);