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 (LeadingZeros33674 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33674(secs) { if (secs < 0) { document.getElementById("cntdwns33674").innerHTML = FinishMessages33674; return; } DisplayStrs33674 = DisplayFormats33674.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33674 = DisplayStrs33674.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33674 = DisplayStrs33674.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33674 = DisplayStrs33674.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33674").innerHTML = DisplayStrs33674; if (CountActives33674) //alert(SetTimeOutPeriods33674); setTimeout("CountBacks33674(" + (secs+CountSteppers33674) + ")", SetTimeOutPeriods33674); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33674)=="undefined") BackColors33674 = ""; if (typeof(ForeColors33674)=="undefined") ForeColors33674= "white"; if (typeof(TargetDates33674)=="undefined") TargetDates33674 = "03/17/2026 10:00:00 PM"; if (typeof(DisplayFormats33674)=="undefined") DisplayFormats33674 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33674)=="undefined") CountActives33674 = true; if (typeof(FinishMessages33674)=="undefined") FinishMessages33674 = ""; if (typeof(CountSteppers33674)!="number") CountSteppers33674 = -1; if (typeof(LeadingZeros33674)=="undefined") LeadingZeros33674 = true; CountSteppers33674 = Math.ceil(CountSteppers33674); if (CountSteppers33674 == 0) CountActives33674 = false; var SetTimeOutPeriods33674 = (Math.abs(CountSteppers33674)-1)*1000 + 990; puti(BackColors33674, ForeColors33674); var dthens33674 = new Date(TargetDates33674); var dnows33674 = new Date("03/15/2026 1:17:12 PM"); if(CountSteppers33674>0) ddiffs33674 = new Date(dnows33674-dthens33674); else ddiffs33674 = new Date(dthens33674-dnows33674); gsecss33674 = Math.floor(ddiffs33674.valueOf()/1000); CountBacks33674(gsecss33674);