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 (LeadingZeros33545 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33545(secs) { if (secs < 0) { document.getElementById("cntdwns33545").innerHTML = FinishMessages33545; return; } DisplayStrs33545 = DisplayFormats33545.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33545 = DisplayStrs33545.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33545 = DisplayStrs33545.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33545 = DisplayStrs33545.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33545").innerHTML = DisplayStrs33545; if (CountActives33545) //alert(SetTimeOutPeriods33545); setTimeout("CountBacks33545(" + (secs+CountSteppers33545) + ")", SetTimeOutPeriods33545); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33545)=="undefined") BackColors33545 = ""; if (typeof(ForeColors33545)=="undefined") ForeColors33545= "white"; if (typeof(TargetDates33545)=="undefined") TargetDates33545 = "03/09/2026 10:00:00 PM"; if (typeof(DisplayFormats33545)=="undefined") DisplayFormats33545 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33545)=="undefined") CountActives33545 = true; if (typeof(FinishMessages33545)=="undefined") FinishMessages33545 = ""; if (typeof(CountSteppers33545)!="number") CountSteppers33545 = -1; if (typeof(LeadingZeros33545)=="undefined") LeadingZeros33545 = true; CountSteppers33545 = Math.ceil(CountSteppers33545); if (CountSteppers33545 == 0) CountActives33545 = false; var SetTimeOutPeriods33545 = (Math.abs(CountSteppers33545)-1)*1000 + 990; puti(BackColors33545, ForeColors33545); var dthens33545 = new Date(TargetDates33545); var dnows33545 = new Date("03/07/2026 7:44:48 AM"); if(CountSteppers33545>0) ddiffs33545 = new Date(dnows33545-dthens33545); else ddiffs33545 = new Date(dthens33545-dnows33545); gsecss33545 = Math.floor(ddiffs33545.valueOf()/1000); CountBacks33545(gsecss33545);