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 (LeadingZeros33886 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33886(secs) { if (secs < 0) { document.getElementById("cntdwns33886").innerHTML = FinishMessages33886; return; } DisplayStrs33886 = DisplayFormats33886.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33886 = DisplayStrs33886.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33886 = DisplayStrs33886.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33886 = DisplayStrs33886.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33886").innerHTML = DisplayStrs33886; if (CountActives33886) //alert(SetTimeOutPeriods33886); setTimeout("CountBacks33886(" + (secs+CountSteppers33886) + ")", SetTimeOutPeriods33886); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33886)=="undefined") BackColors33886 = ""; if (typeof(ForeColors33886)=="undefined") ForeColors33886= "white"; if (typeof(TargetDates33886)=="undefined") TargetDates33886 = "04/18/2026 10:00:00 PM"; if (typeof(DisplayFormats33886)=="undefined") DisplayFormats33886 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33886)=="undefined") CountActives33886 = true; if (typeof(FinishMessages33886)=="undefined") FinishMessages33886 = ""; if (typeof(CountSteppers33886)!="number") CountSteppers33886 = -1; if (typeof(LeadingZeros33886)=="undefined") LeadingZeros33886 = true; CountSteppers33886 = Math.ceil(CountSteppers33886); if (CountSteppers33886 == 0) CountActives33886 = false; var SetTimeOutPeriods33886 = (Math.abs(CountSteppers33886)-1)*1000 + 990; puti(BackColors33886, ForeColors33886); var dthens33886 = new Date(TargetDates33886); var dnows33886 = new Date("04/15/2026 6:18:04 AM"); if(CountSteppers33886>0) ddiffs33886 = new Date(dnows33886-dthens33886); else ddiffs33886 = new Date(dthens33886-dnows33886); gsecss33886 = Math.floor(ddiffs33886.valueOf()/1000); CountBacks33886(gsecss33886);