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 (LeadingZeros33762 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33762(secs) { if (secs < 0) { document.getElementById("cntdwns33762").innerHTML = FinishMessages33762; return; } DisplayStrs33762 = DisplayFormats33762.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33762 = DisplayStrs33762.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33762 = DisplayStrs33762.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33762 = DisplayStrs33762.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33762").innerHTML = DisplayStrs33762; if (CountActives33762) //alert(SetTimeOutPeriods33762); setTimeout("CountBacks33762(" + (secs+CountSteppers33762) + ")", SetTimeOutPeriods33762); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33762)=="undefined") BackColors33762 = ""; if (typeof(ForeColors33762)=="undefined") ForeColors33762= "white"; if (typeof(TargetDates33762)=="undefined") TargetDates33762 = "03/28/2026 10:00:00 PM"; if (typeof(DisplayFormats33762)=="undefined") DisplayFormats33762 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33762)=="undefined") CountActives33762 = true; if (typeof(FinishMessages33762)=="undefined") FinishMessages33762 = ""; if (typeof(CountSteppers33762)!="number") CountSteppers33762 = -1; if (typeof(LeadingZeros33762)=="undefined") LeadingZeros33762 = true; CountSteppers33762 = Math.ceil(CountSteppers33762); if (CountSteppers33762 == 0) CountActives33762 = false; var SetTimeOutPeriods33762 = (Math.abs(CountSteppers33762)-1)*1000 + 990; puti(BackColors33762, ForeColors33762); var dthens33762 = new Date(TargetDates33762); var dnows33762 = new Date("03/26/2026 3:48:40 PM"); if(CountSteppers33762>0) ddiffs33762 = new Date(dnows33762-dthens33762); else ddiffs33762 = new Date(dthens33762-dnows33762); gsecss33762 = Math.floor(ddiffs33762.valueOf()/1000); CountBacks33762(gsecss33762);