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 (LeadingZeros33689 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33689(secs) { if (secs < 0) { document.getElementById("cntdwns33689").innerHTML = FinishMessages33689; return; } DisplayStrs33689 = DisplayFormats33689.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33689 = DisplayStrs33689.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33689 = DisplayStrs33689.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33689 = DisplayStrs33689.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33689").innerHTML = DisplayStrs33689; if (CountActives33689) //alert(SetTimeOutPeriods33689); setTimeout("CountBacks33689(" + (secs+CountSteppers33689) + ")", SetTimeOutPeriods33689); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33689)=="undefined") BackColors33689 = ""; if (typeof(ForeColors33689)=="undefined") ForeColors33689= "white"; if (typeof(TargetDates33689)=="undefined") TargetDates33689 = "04/01/2026 11:00:00 PM"; if (typeof(DisplayFormats33689)=="undefined") DisplayFormats33689 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33689)=="undefined") CountActives33689 = true; if (typeof(FinishMessages33689)=="undefined") FinishMessages33689 = ""; if (typeof(CountSteppers33689)!="number") CountSteppers33689 = -1; if (typeof(LeadingZeros33689)=="undefined") LeadingZeros33689 = true; CountSteppers33689 = Math.ceil(CountSteppers33689); if (CountSteppers33689 == 0) CountActives33689 = false; var SetTimeOutPeriods33689 = (Math.abs(CountSteppers33689)-1)*1000 + 990; puti(BackColors33689, ForeColors33689); var dthens33689 = new Date(TargetDates33689); var dnows33689 = new Date("03/29/2026 7:07:09 AM"); if(CountSteppers33689>0) ddiffs33689 = new Date(dnows33689-dthens33689); else ddiffs33689 = new Date(dthens33689-dnows33689); gsecss33689 = Math.floor(ddiffs33689.valueOf()/1000); CountBacks33689(gsecss33689);