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 (LeadingZeros33614 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33614(secs) { if (secs < 0) { document.getElementById("cntdwns33614").innerHTML = FinishMessages33614; return; } DisplayStrs33614 = DisplayFormats33614.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33614 = DisplayStrs33614.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33614 = DisplayStrs33614.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33614 = DisplayStrs33614.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33614").innerHTML = DisplayStrs33614; if (CountActives33614) //alert(SetTimeOutPeriods33614); setTimeout("CountBacks33614(" + (secs+CountSteppers33614) + ")", SetTimeOutPeriods33614); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33614)=="undefined") BackColors33614 = ""; if (typeof(ForeColors33614)=="undefined") ForeColors33614= "white"; if (typeof(TargetDates33614)=="undefined") TargetDates33614 = "03/16/2026 10:00:00 PM"; if (typeof(DisplayFormats33614)=="undefined") DisplayFormats33614 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33614)=="undefined") CountActives33614 = true; if (typeof(FinishMessages33614)=="undefined") FinishMessages33614 = ""; if (typeof(CountSteppers33614)!="number") CountSteppers33614 = -1; if (typeof(LeadingZeros33614)=="undefined") LeadingZeros33614 = true; CountSteppers33614 = Math.ceil(CountSteppers33614); if (CountSteppers33614 == 0) CountActives33614 = false; var SetTimeOutPeriods33614 = (Math.abs(CountSteppers33614)-1)*1000 + 990; puti(BackColors33614, ForeColors33614); var dthens33614 = new Date(TargetDates33614); var dnows33614 = new Date("03/13/2026 11:53:47 AM"); if(CountSteppers33614>0) ddiffs33614 = new Date(dnows33614-dthens33614); else ddiffs33614 = new Date(dthens33614-dnows33614); gsecss33614 = Math.floor(ddiffs33614.valueOf()/1000); CountBacks33614(gsecss33614);