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 (LeadingZeros33780 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33780(secs) { if (secs < 0) { document.getElementById("cntdwns33780").innerHTML = FinishMessages33780; return; } DisplayStrs33780 = DisplayFormats33780.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33780 = DisplayStrs33780.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33780 = DisplayStrs33780.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33780 = DisplayStrs33780.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33780").innerHTML = DisplayStrs33780; if (CountActives33780) //alert(SetTimeOutPeriods33780); setTimeout("CountBacks33780(" + (secs+CountSteppers33780) + ")", SetTimeOutPeriods33780); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33780)=="undefined") BackColors33780 = ""; if (typeof(ForeColors33780)=="undefined") ForeColors33780= "white"; if (typeof(TargetDates33780)=="undefined") TargetDates33780 = "03/30/2026 10:00:00 PM"; if (typeof(DisplayFormats33780)=="undefined") DisplayFormats33780 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33780)=="undefined") CountActives33780 = true; if (typeof(FinishMessages33780)=="undefined") FinishMessages33780 = ""; if (typeof(CountSteppers33780)!="number") CountSteppers33780 = -1; if (typeof(LeadingZeros33780)=="undefined") LeadingZeros33780 = true; CountSteppers33780 = Math.ceil(CountSteppers33780); if (CountSteppers33780 == 0) CountActives33780 = false; var SetTimeOutPeriods33780 = (Math.abs(CountSteppers33780)-1)*1000 + 990; puti(BackColors33780, ForeColors33780); var dthens33780 = new Date(TargetDates33780); var dnows33780 = new Date("03/28/2026 5:18:16 PM"); if(CountSteppers33780>0) ddiffs33780 = new Date(dnows33780-dthens33780); else ddiffs33780 = new Date(dthens33780-dnows33780); gsecss33780 = Math.floor(ddiffs33780.valueOf()/1000); CountBacks33780(gsecss33780);