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 (LeadingZeros33776 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33776(secs) { if (secs < 0) { document.getElementById("cntdwns33776").innerHTML = FinishMessages33776; return; } DisplayStrs33776 = DisplayFormats33776.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33776 = DisplayStrs33776.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33776 = DisplayStrs33776.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33776 = DisplayStrs33776.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33776").innerHTML = DisplayStrs33776; if (CountActives33776) //alert(SetTimeOutPeriods33776); setTimeout("CountBacks33776(" + (secs+CountSteppers33776) + ")", SetTimeOutPeriods33776); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33776)=="undefined") BackColors33776 = ""; if (typeof(ForeColors33776)=="undefined") ForeColors33776= "white"; if (typeof(TargetDates33776)=="undefined") TargetDates33776 = "03/30/2026 10:00:00 PM"; if (typeof(DisplayFormats33776)=="undefined") DisplayFormats33776 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33776)=="undefined") CountActives33776 = true; if (typeof(FinishMessages33776)=="undefined") FinishMessages33776 = ""; if (typeof(CountSteppers33776)!="number") CountSteppers33776 = -1; if (typeof(LeadingZeros33776)=="undefined") LeadingZeros33776 = true; CountSteppers33776 = Math.ceil(CountSteppers33776); if (CountSteppers33776 == 0) CountActives33776 = false; var SetTimeOutPeriods33776 = (Math.abs(CountSteppers33776)-1)*1000 + 990; puti(BackColors33776, ForeColors33776); var dthens33776 = new Date(TargetDates33776); var dnows33776 = new Date("03/28/2026 5:19:39 PM"); if(CountSteppers33776>0) ddiffs33776 = new Date(dnows33776-dthens33776); else ddiffs33776 = new Date(dthens33776-dnows33776); gsecss33776 = Math.floor(ddiffs33776.valueOf()/1000); CountBacks33776(gsecss33776);