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 (LeadingZeros33810 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33810(secs) { if (secs < 0) { document.getElementById("cntdwns33810").innerHTML = FinishMessages33810; return; } DisplayStrs33810 = DisplayFormats33810.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33810 = DisplayStrs33810.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33810 = DisplayStrs33810.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33810 = DisplayStrs33810.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33810").innerHTML = DisplayStrs33810; if (CountActives33810) //alert(SetTimeOutPeriods33810); setTimeout("CountBacks33810(" + (secs+CountSteppers33810) + ")", SetTimeOutPeriods33810); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33810)=="undefined") BackColors33810 = ""; if (typeof(ForeColors33810)=="undefined") ForeColors33810= "white"; if (typeof(TargetDates33810)=="undefined") TargetDates33810 = "04/18/2026 10:00:00 PM"; if (typeof(DisplayFormats33810)=="undefined") DisplayFormats33810 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33810)=="undefined") CountActives33810 = true; if (typeof(FinishMessages33810)=="undefined") FinishMessages33810 = ""; if (typeof(CountSteppers33810)!="number") CountSteppers33810 = -1; if (typeof(LeadingZeros33810)=="undefined") LeadingZeros33810 = true; CountSteppers33810 = Math.ceil(CountSteppers33810); if (CountSteppers33810 == 0) CountActives33810 = false; var SetTimeOutPeriods33810 = (Math.abs(CountSteppers33810)-1)*1000 + 990; puti(BackColors33810, ForeColors33810); var dthens33810 = new Date(TargetDates33810); var dnows33810 = new Date("04/15/2026 8:33:29 PM"); if(CountSteppers33810>0) ddiffs33810 = new Date(dnows33810-dthens33810); else ddiffs33810 = new Date(dthens33810-dnows33810); gsecss33810 = Math.floor(ddiffs33810.valueOf()/1000); CountBacks33810(gsecss33810);