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 (LeadingZeros33613 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33613(secs) { if (secs < 0) { document.getElementById("cntdwns33613").innerHTML = FinishMessages33613; return; } DisplayStrs33613 = DisplayFormats33613.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33613 = DisplayStrs33613.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33613 = DisplayStrs33613.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33613 = DisplayStrs33613.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33613").innerHTML = DisplayStrs33613; if (CountActives33613) //alert(SetTimeOutPeriods33613); setTimeout("CountBacks33613(" + (secs+CountSteppers33613) + ")", SetTimeOutPeriods33613); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33613)=="undefined") BackColors33613 = ""; if (typeof(ForeColors33613)=="undefined") ForeColors33613= "white"; if (typeof(TargetDates33613)=="undefined") TargetDates33613 = "03/17/2026 10:00:00 PM"; if (typeof(DisplayFormats33613)=="undefined") DisplayFormats33613 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33613)=="undefined") CountActives33613 = true; if (typeof(FinishMessages33613)=="undefined") FinishMessages33613 = ""; if (typeof(CountSteppers33613)!="number") CountSteppers33613 = -1; if (typeof(LeadingZeros33613)=="undefined") LeadingZeros33613 = true; CountSteppers33613 = Math.ceil(CountSteppers33613); if (CountSteppers33613 == 0) CountActives33613 = false; var SetTimeOutPeriods33613 = (Math.abs(CountSteppers33613)-1)*1000 + 990; puti(BackColors33613, ForeColors33613); var dthens33613 = new Date(TargetDates33613); var dnows33613 = new Date("03/14/2026 8:39:27 AM"); if(CountSteppers33613>0) ddiffs33613 = new Date(dnows33613-dthens33613); else ddiffs33613 = new Date(dthens33613-dnows33613); gsecss33613 = Math.floor(ddiffs33613.valueOf()/1000); CountBacks33613(gsecss33613);