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 (LeadingZeros33885 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33885(secs) { if (secs < 0) { document.getElementById("cntdwns33885").innerHTML = FinishMessages33885; return; } DisplayStrs33885 = DisplayFormats33885.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33885 = DisplayStrs33885.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33885 = DisplayStrs33885.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33885 = DisplayStrs33885.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33885").innerHTML = DisplayStrs33885; if (CountActives33885) //alert(SetTimeOutPeriods33885); setTimeout("CountBacks33885(" + (secs+CountSteppers33885) + ")", SetTimeOutPeriods33885); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33885)=="undefined") BackColors33885 = ""; if (typeof(ForeColors33885)=="undefined") ForeColors33885= "white"; if (typeof(TargetDates33885)=="undefined") TargetDates33885 = "04/30/2026 10:00:00 PM"; if (typeof(DisplayFormats33885)=="undefined") DisplayFormats33885 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33885)=="undefined") CountActives33885 = true; if (typeof(FinishMessages33885)=="undefined") FinishMessages33885 = ""; if (typeof(CountSteppers33885)!="number") CountSteppers33885 = -1; if (typeof(LeadingZeros33885)=="undefined") LeadingZeros33885 = true; CountSteppers33885 = Math.ceil(CountSteppers33885); if (CountSteppers33885 == 0) CountActives33885 = false; var SetTimeOutPeriods33885 = (Math.abs(CountSteppers33885)-1)*1000 + 990; puti(BackColors33885, ForeColors33885); var dthens33885 = new Date(TargetDates33885); var dnows33885 = new Date("04/28/2026 5:51:33 AM"); if(CountSteppers33885>0) ddiffs33885 = new Date(dnows33885-dthens33885); else ddiffs33885 = new Date(dthens33885-dnows33885); gsecss33885 = Math.floor(ddiffs33885.valueOf()/1000); CountBacks33885(gsecss33885);