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 (LeadingZeros33607 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33607(secs) { if (secs < 0) { document.getElementById("cntdwns33607").innerHTML = FinishMessages33607; return; } DisplayStrs33607 = DisplayFormats33607.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33607 = DisplayStrs33607.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33607 = DisplayStrs33607.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33607 = DisplayStrs33607.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33607").innerHTML = DisplayStrs33607; if (CountActives33607) //alert(SetTimeOutPeriods33607); setTimeout("CountBacks33607(" + (secs+CountSteppers33607) + ")", SetTimeOutPeriods33607); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33607)=="undefined") BackColors33607 = ""; if (typeof(ForeColors33607)=="undefined") ForeColors33607= "white"; if (typeof(TargetDates33607)=="undefined") TargetDates33607 = "03/17/2026 10:00:00 PM"; if (typeof(DisplayFormats33607)=="undefined") DisplayFormats33607 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33607)=="undefined") CountActives33607 = true; if (typeof(FinishMessages33607)=="undefined") FinishMessages33607 = ""; if (typeof(CountSteppers33607)!="number") CountSteppers33607 = -1; if (typeof(LeadingZeros33607)=="undefined") LeadingZeros33607 = true; CountSteppers33607 = Math.ceil(CountSteppers33607); if (CountSteppers33607 == 0) CountActives33607 = false; var SetTimeOutPeriods33607 = (Math.abs(CountSteppers33607)-1)*1000 + 990; puti(BackColors33607, ForeColors33607); var dthens33607 = new Date(TargetDates33607); var dnows33607 = new Date("03/14/2026 8:18:24 AM"); if(CountSteppers33607>0) ddiffs33607 = new Date(dnows33607-dthens33607); else ddiffs33607 = new Date(dthens33607-dnows33607); gsecss33607 = Math.floor(ddiffs33607.valueOf()/1000); CountBacks33607(gsecss33607);