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 (LeadingZeros33859 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33859(secs) { if (secs < 0) { document.getElementById("cntdwns33859").innerHTML = FinishMessages33859; return; } DisplayStrs33859 = DisplayFormats33859.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33859 = DisplayStrs33859.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33859 = DisplayStrs33859.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33859 = DisplayStrs33859.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33859").innerHTML = DisplayStrs33859; if (CountActives33859) //alert(SetTimeOutPeriods33859); setTimeout("CountBacks33859(" + (secs+CountSteppers33859) + ")", SetTimeOutPeriods33859); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33859)=="undefined") BackColors33859 = ""; if (typeof(ForeColors33859)=="undefined") ForeColors33859= "white"; if (typeof(TargetDates33859)=="undefined") TargetDates33859 = "05/02/2026 10:00:00 PM"; if (typeof(DisplayFormats33859)=="undefined") DisplayFormats33859 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33859)=="undefined") CountActives33859 = true; if (typeof(FinishMessages33859)=="undefined") FinishMessages33859 = ""; if (typeof(CountSteppers33859)!="number") CountSteppers33859 = -1; if (typeof(LeadingZeros33859)=="undefined") LeadingZeros33859 = true; CountSteppers33859 = Math.ceil(CountSteppers33859); if (CountSteppers33859 == 0) CountActives33859 = false; var SetTimeOutPeriods33859 = (Math.abs(CountSteppers33859)-1)*1000 + 990; puti(BackColors33859, ForeColors33859); var dthens33859 = new Date(TargetDates33859); var dnows33859 = new Date("04/30/2026 7:36:37 AM"); if(CountSteppers33859>0) ddiffs33859 = new Date(dnows33859-dthens33859); else ddiffs33859 = new Date(dthens33859-dnows33859); gsecss33859 = Math.floor(ddiffs33859.valueOf()/1000); CountBacks33859(gsecss33859);