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 (LeadingZeros33747 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33747(secs) { if (secs < 0) { document.getElementById("cntdwns33747").innerHTML = FinishMessages33747; return; } DisplayStrs33747 = DisplayFormats33747.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33747 = DisplayStrs33747.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33747 = DisplayStrs33747.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33747 = DisplayStrs33747.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33747").innerHTML = DisplayStrs33747; if (CountActives33747) //alert(SetTimeOutPeriods33747); setTimeout("CountBacks33747(" + (secs+CountSteppers33747) + ")", SetTimeOutPeriods33747); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33747)=="undefined") BackColors33747 = ""; if (typeof(ForeColors33747)=="undefined") ForeColors33747= "white"; if (typeof(TargetDates33747)=="undefined") TargetDates33747 = "04/02/2026 10:00:00 PM"; if (typeof(DisplayFormats33747)=="undefined") DisplayFormats33747 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33747)=="undefined") CountActives33747 = true; if (typeof(FinishMessages33747)=="undefined") FinishMessages33747 = ""; if (typeof(CountSteppers33747)!="number") CountSteppers33747 = -1; if (typeof(LeadingZeros33747)=="undefined") LeadingZeros33747 = true; CountSteppers33747 = Math.ceil(CountSteppers33747); if (CountSteppers33747 == 0) CountActives33747 = false; var SetTimeOutPeriods33747 = (Math.abs(CountSteppers33747)-1)*1000 + 990; puti(BackColors33747, ForeColors33747); var dthens33747 = new Date(TargetDates33747); var dnows33747 = new Date("03/30/2026 1:53:48 AM"); if(CountSteppers33747>0) ddiffs33747 = new Date(dnows33747-dthens33747); else ddiffs33747 = new Date(dthens33747-dnows33747); gsecss33747 = Math.floor(ddiffs33747.valueOf()/1000); CountBacks33747(gsecss33747);