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 (LeadingZeros33654 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33654(secs) { if (secs < 0) { document.getElementById("cntdwns33654").innerHTML = FinishMessages33654; return; } DisplayStrs33654 = DisplayFormats33654.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33654 = DisplayStrs33654.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33654 = DisplayStrs33654.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33654 = DisplayStrs33654.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33654").innerHTML = DisplayStrs33654; if (CountActives33654) //alert(SetTimeOutPeriods33654); setTimeout("CountBacks33654(" + (secs+CountSteppers33654) + ")", SetTimeOutPeriods33654); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33654)=="undefined") BackColors33654 = ""; if (typeof(ForeColors33654)=="undefined") ForeColors33654= "white"; if (typeof(TargetDates33654)=="undefined") TargetDates33654 = "03/22/2026 10:00:00 PM"; if (typeof(DisplayFormats33654)=="undefined") DisplayFormats33654 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33654)=="undefined") CountActives33654 = true; if (typeof(FinishMessages33654)=="undefined") FinishMessages33654 = ""; if (typeof(CountSteppers33654)!="number") CountSteppers33654 = -1; if (typeof(LeadingZeros33654)=="undefined") LeadingZeros33654 = true; CountSteppers33654 = Math.ceil(CountSteppers33654); if (CountSteppers33654 == 0) CountActives33654 = false; var SetTimeOutPeriods33654 = (Math.abs(CountSteppers33654)-1)*1000 + 990; puti(BackColors33654, ForeColors33654); var dthens33654 = new Date(TargetDates33654); var dnows33654 = new Date("03/20/2026 8:47:35 AM"); if(CountSteppers33654>0) ddiffs33654 = new Date(dnows33654-dthens33654); else ddiffs33654 = new Date(dthens33654-dnows33654); gsecss33654 = Math.floor(ddiffs33654.valueOf()/1000); CountBacks33654(gsecss33654);