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 (LeadingZeros33799 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33799(secs) { if (secs < 0) { document.getElementById("cntdwns33799").innerHTML = FinishMessages33799; return; } DisplayStrs33799 = DisplayFormats33799.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33799 = DisplayStrs33799.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33799 = DisplayStrs33799.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33799 = DisplayStrs33799.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33799").innerHTML = DisplayStrs33799; if (CountActives33799) //alert(SetTimeOutPeriods33799); setTimeout("CountBacks33799(" + (secs+CountSteppers33799) + ")", SetTimeOutPeriods33799); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33799)=="undefined") BackColors33799 = ""; if (typeof(ForeColors33799)=="undefined") ForeColors33799= "white"; if (typeof(TargetDates33799)=="undefined") TargetDates33799 = "04/02/2026 10:00:00 PM"; if (typeof(DisplayFormats33799)=="undefined") DisplayFormats33799 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33799)=="undefined") CountActives33799 = true; if (typeof(FinishMessages33799)=="undefined") FinishMessages33799 = ""; if (typeof(CountSteppers33799)!="number") CountSteppers33799 = -1; if (typeof(LeadingZeros33799)=="undefined") LeadingZeros33799 = true; CountSteppers33799 = Math.ceil(CountSteppers33799); if (CountSteppers33799 == 0) CountActives33799 = false; var SetTimeOutPeriods33799 = (Math.abs(CountSteppers33799)-1)*1000 + 990; puti(BackColors33799, ForeColors33799); var dthens33799 = new Date(TargetDates33799); var dnows33799 = new Date("03/31/2026 3:10:36 PM"); if(CountSteppers33799>0) ddiffs33799 = new Date(dnows33799-dthens33799); else ddiffs33799 = new Date(dthens33799-dnows33799); gsecss33799 = Math.floor(ddiffs33799.valueOf()/1000); CountBacks33799(gsecss33799);