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 (LeadingZeros33706 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33706(secs) { if (secs < 0) { document.getElementById("cntdwns33706").innerHTML = FinishMessages33706; return; } DisplayStrs33706 = DisplayFormats33706.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33706 = DisplayStrs33706.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33706 = DisplayStrs33706.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33706 = DisplayStrs33706.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33706").innerHTML = DisplayStrs33706; if (CountActives33706) //alert(SetTimeOutPeriods33706); setTimeout("CountBacks33706(" + (secs+CountSteppers33706) + ")", SetTimeOutPeriods33706); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33706)=="undefined") BackColors33706 = ""; if (typeof(ForeColors33706)=="undefined") ForeColors33706= "white"; if (typeof(TargetDates33706)=="undefined") TargetDates33706 = "03/29/2026 11:00:00 PM"; if (typeof(DisplayFormats33706)=="undefined") DisplayFormats33706 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33706)=="undefined") CountActives33706 = true; if (typeof(FinishMessages33706)=="undefined") FinishMessages33706 = ""; if (typeof(CountSteppers33706)!="number") CountSteppers33706 = -1; if (typeof(LeadingZeros33706)=="undefined") LeadingZeros33706 = true; CountSteppers33706 = Math.ceil(CountSteppers33706); if (CountSteppers33706 == 0) CountActives33706 = false; var SetTimeOutPeriods33706 = (Math.abs(CountSteppers33706)-1)*1000 + 990; puti(BackColors33706, ForeColors33706); var dthens33706 = new Date(TargetDates33706); var dnows33706 = new Date("03/27/2026 9:59:57 PM"); if(CountSteppers33706>0) ddiffs33706 = new Date(dnows33706-dthens33706); else ddiffs33706 = new Date(dthens33706-dnows33706); gsecss33706 = Math.floor(ddiffs33706.valueOf()/1000); CountBacks33706(gsecss33706);