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 (LeadingZeros33896 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33896(secs) { if (secs < 0) { document.getElementById("cntdwns33896").innerHTML = FinishMessages33896; return; } DisplayStrs33896 = DisplayFormats33896.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33896 = DisplayStrs33896.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33896 = DisplayStrs33896.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33896 = DisplayStrs33896.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33896").innerHTML = DisplayStrs33896; if (CountActives33896) //alert(SetTimeOutPeriods33896); setTimeout("CountBacks33896(" + (secs+CountSteppers33896) + ")", SetTimeOutPeriods33896); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33896)=="undefined") BackColors33896 = ""; if (typeof(ForeColors33896)=="undefined") ForeColors33896= "white"; if (typeof(TargetDates33896)=="undefined") TargetDates33896 = "04/23/2026 10:00:00 PM"; if (typeof(DisplayFormats33896)=="undefined") DisplayFormats33896 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33896)=="undefined") CountActives33896 = true; if (typeof(FinishMessages33896)=="undefined") FinishMessages33896 = ""; if (typeof(CountSteppers33896)!="number") CountSteppers33896 = -1; if (typeof(LeadingZeros33896)=="undefined") LeadingZeros33896 = true; CountSteppers33896 = Math.ceil(CountSteppers33896); if (CountSteppers33896 == 0) CountActives33896 = false; var SetTimeOutPeriods33896 = (Math.abs(CountSteppers33896)-1)*1000 + 990; puti(BackColors33896, ForeColors33896); var dthens33896 = new Date(TargetDates33896); var dnows33896 = new Date("04/21/2026 8:08:42 AM"); if(CountSteppers33896>0) ddiffs33896 = new Date(dnows33896-dthens33896); else ddiffs33896 = new Date(dthens33896-dnows33896); gsecss33896 = Math.floor(ddiffs33896.valueOf()/1000); CountBacks33896(gsecss33896);