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 (LeadingZeros33559 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33559(secs) { if (secs < 0) { document.getElementById("cntdwns33559").innerHTML = FinishMessages33559; return; } DisplayStrs33559 = DisplayFormats33559.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33559 = DisplayStrs33559.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33559 = DisplayStrs33559.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33559 = DisplayStrs33559.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33559").innerHTML = DisplayStrs33559; if (CountActives33559) //alert(SetTimeOutPeriods33559); setTimeout("CountBacks33559(" + (secs+CountSteppers33559) + ")", SetTimeOutPeriods33559); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33559)=="undefined") BackColors33559 = ""; if (typeof(ForeColors33559)=="undefined") ForeColors33559= "white"; if (typeof(TargetDates33559)=="undefined") TargetDates33559 = "03/22/2026 10:00:00 PM"; if (typeof(DisplayFormats33559)=="undefined") DisplayFormats33559 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33559)=="undefined") CountActives33559 = true; if (typeof(FinishMessages33559)=="undefined") FinishMessages33559 = ""; if (typeof(CountSteppers33559)!="number") CountSteppers33559 = -1; if (typeof(LeadingZeros33559)=="undefined") LeadingZeros33559 = true; CountSteppers33559 = Math.ceil(CountSteppers33559); if (CountSteppers33559 == 0) CountActives33559 = false; var SetTimeOutPeriods33559 = (Math.abs(CountSteppers33559)-1)*1000 + 990; puti(BackColors33559, ForeColors33559); var dthens33559 = new Date(TargetDates33559); var dnows33559 = new Date("03/20/2026 12:25:07 PM"); if(CountSteppers33559>0) ddiffs33559 = new Date(dnows33559-dthens33559); else ddiffs33559 = new Date(dthens33559-dnows33559); gsecss33559 = Math.floor(ddiffs33559.valueOf()/1000); CountBacks33559(gsecss33559);