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 (LeadingZeros33617 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33617(secs) { if (secs < 0) { document.getElementById("cntdwns33617").innerHTML = FinishMessages33617; return; } DisplayStrs33617 = DisplayFormats33617.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33617 = DisplayStrs33617.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33617 = DisplayStrs33617.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33617 = DisplayStrs33617.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33617").innerHTML = DisplayStrs33617; if (CountActives33617) //alert(SetTimeOutPeriods33617); setTimeout("CountBacks33617(" + (secs+CountSteppers33617) + ")", SetTimeOutPeriods33617); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33617)=="undefined") BackColors33617 = ""; if (typeof(ForeColors33617)=="undefined") ForeColors33617= "white"; if (typeof(TargetDates33617)=="undefined") TargetDates33617 = "03/16/2026 10:00:00 PM"; if (typeof(DisplayFormats33617)=="undefined") DisplayFormats33617 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33617)=="undefined") CountActives33617 = true; if (typeof(FinishMessages33617)=="undefined") FinishMessages33617 = ""; if (typeof(CountSteppers33617)!="number") CountSteppers33617 = -1; if (typeof(LeadingZeros33617)=="undefined") LeadingZeros33617 = true; CountSteppers33617 = Math.ceil(CountSteppers33617); if (CountSteppers33617 == 0) CountActives33617 = false; var SetTimeOutPeriods33617 = (Math.abs(CountSteppers33617)-1)*1000 + 990; puti(BackColors33617, ForeColors33617); var dthens33617 = new Date(TargetDates33617); var dnows33617 = new Date("03/13/2026 11:53:47 AM"); if(CountSteppers33617>0) ddiffs33617 = new Date(dnows33617-dthens33617); else ddiffs33617 = new Date(dthens33617-dnows33617); gsecss33617 = Math.floor(ddiffs33617.valueOf()/1000); CountBacks33617(gsecss33617);