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 (LeadingZeros33800 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33800(secs) { if (secs < 0) { document.getElementById("cntdwns33800").innerHTML = FinishMessages33800; return; } DisplayStrs33800 = DisplayFormats33800.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33800 = DisplayStrs33800.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33800 = DisplayStrs33800.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33800 = DisplayStrs33800.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33800").innerHTML = DisplayStrs33800; if (CountActives33800) //alert(SetTimeOutPeriods33800); setTimeout("CountBacks33800(" + (secs+CountSteppers33800) + ")", SetTimeOutPeriods33800); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33800)=="undefined") BackColors33800 = ""; if (typeof(ForeColors33800)=="undefined") ForeColors33800= "white"; if (typeof(TargetDates33800)=="undefined") TargetDates33800 = "05/03/2026 10:00:00 PM"; if (typeof(DisplayFormats33800)=="undefined") DisplayFormats33800 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33800)=="undefined") CountActives33800 = true; if (typeof(FinishMessages33800)=="undefined") FinishMessages33800 = ""; if (typeof(CountSteppers33800)!="number") CountSteppers33800 = -1; if (typeof(LeadingZeros33800)=="undefined") LeadingZeros33800 = true; CountSteppers33800 = Math.ceil(CountSteppers33800); if (CountSteppers33800 == 0) CountActives33800 = false; var SetTimeOutPeriods33800 = (Math.abs(CountSteppers33800)-1)*1000 + 990; puti(BackColors33800, ForeColors33800); var dthens33800 = new Date(TargetDates33800); var dnows33800 = new Date("04/30/2026 9:11:59 PM"); if(CountSteppers33800>0) ddiffs33800 = new Date(dnows33800-dthens33800); else ddiffs33800 = new Date(dthens33800-dnows33800); gsecss33800 = Math.floor(ddiffs33800.valueOf()/1000); CountBacks33800(gsecss33800);