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 (LeadingZeros33671 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33671(secs) { if (secs < 0) { document.getElementById("cntdwns33671").innerHTML = FinishMessages33671; return; } DisplayStrs33671 = DisplayFormats33671.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33671 = DisplayStrs33671.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33671 = DisplayStrs33671.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33671 = DisplayStrs33671.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33671").innerHTML = DisplayStrs33671; if (CountActives33671) //alert(SetTimeOutPeriods33671); setTimeout("CountBacks33671(" + (secs+CountSteppers33671) + ")", SetTimeOutPeriods33671); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33671)=="undefined") BackColors33671 = ""; if (typeof(ForeColors33671)=="undefined") ForeColors33671= "white"; if (typeof(TargetDates33671)=="undefined") TargetDates33671 = "03/14/2026 10:00:00 PM"; if (typeof(DisplayFormats33671)=="undefined") DisplayFormats33671 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33671)=="undefined") CountActives33671 = true; if (typeof(FinishMessages33671)=="undefined") FinishMessages33671 = ""; if (typeof(CountSteppers33671)!="number") CountSteppers33671 = -1; if (typeof(LeadingZeros33671)=="undefined") LeadingZeros33671 = true; CountSteppers33671 = Math.ceil(CountSteppers33671); if (CountSteppers33671 == 0) CountActives33671 = false; var SetTimeOutPeriods33671 = (Math.abs(CountSteppers33671)-1)*1000 + 990; puti(BackColors33671, ForeColors33671); var dthens33671 = new Date(TargetDates33671); var dnows33671 = new Date("03/12/2026 3:06:22 PM"); if(CountSteppers33671>0) ddiffs33671 = new Date(dnows33671-dthens33671); else ddiffs33671 = new Date(dthens33671-dnows33671); gsecss33671 = Math.floor(ddiffs33671.valueOf()/1000); CountBacks33671(gsecss33671);