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 (LeadingZeros33837 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33837(secs) { if (secs < 0) { document.getElementById("cntdwns33837").innerHTML = FinishMessages33837; return; } DisplayStrs33837 = DisplayFormats33837.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33837 = DisplayStrs33837.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33837 = DisplayStrs33837.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33837 = DisplayStrs33837.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33837").innerHTML = DisplayStrs33837; if (CountActives33837) //alert(SetTimeOutPeriods33837); setTimeout("CountBacks33837(" + (secs+CountSteppers33837) + ")", SetTimeOutPeriods33837); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33837)=="undefined") BackColors33837 = ""; if (typeof(ForeColors33837)=="undefined") ForeColors33837= "white"; if (typeof(TargetDates33837)=="undefined") TargetDates33837 = "05/02/2026 10:00:00 PM"; if (typeof(DisplayFormats33837)=="undefined") DisplayFormats33837 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33837)=="undefined") CountActives33837 = true; if (typeof(FinishMessages33837)=="undefined") FinishMessages33837 = ""; if (typeof(CountSteppers33837)!="number") CountSteppers33837 = -1; if (typeof(LeadingZeros33837)=="undefined") LeadingZeros33837 = true; CountSteppers33837 = Math.ceil(CountSteppers33837); if (CountSteppers33837 == 0) CountActives33837 = false; var SetTimeOutPeriods33837 = (Math.abs(CountSteppers33837)-1)*1000 + 990; puti(BackColors33837, ForeColors33837); var dthens33837 = new Date(TargetDates33837); var dnows33837 = new Date("04/29/2026 10:44:00 AM"); if(CountSteppers33837>0) ddiffs33837 = new Date(dnows33837-dthens33837); else ddiffs33837 = new Date(dthens33837-dnows33837); gsecss33837 = Math.floor(ddiffs33837.valueOf()/1000); CountBacks33837(gsecss33837);