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 (LeadingZeros33387 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33387(secs) { if (secs < 0) { document.getElementById("cntdwns33387").innerHTML = FinishMessages33387; return; } DisplayStrs33387 = DisplayFormats33387.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33387 = DisplayStrs33387.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33387 = DisplayStrs33387.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33387 = DisplayStrs33387.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33387").innerHTML = DisplayStrs33387; if (CountActives33387) //alert(SetTimeOutPeriods33387); setTimeout("CountBacks33387(" + (secs+CountSteppers33387) + ")", SetTimeOutPeriods33387); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33387)=="undefined") BackColors33387 = ""; if (typeof(ForeColors33387)=="undefined") ForeColors33387= "white"; if (typeof(TargetDates33387)=="undefined") TargetDates33387 = "03/01/2026 10:00:00 PM"; if (typeof(DisplayFormats33387)=="undefined") DisplayFormats33387 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33387)=="undefined") CountActives33387 = true; if (typeof(FinishMessages33387)=="undefined") FinishMessages33387 = ""; if (typeof(CountSteppers33387)!="number") CountSteppers33387 = -1; if (typeof(LeadingZeros33387)=="undefined") LeadingZeros33387 = true; CountSteppers33387 = Math.ceil(CountSteppers33387); if (CountSteppers33387 == 0) CountActives33387 = false; var SetTimeOutPeriods33387 = (Math.abs(CountSteppers33387)-1)*1000 + 990; puti(BackColors33387, ForeColors33387); var dthens33387 = new Date(TargetDates33387); var dnows33387 = new Date("02/26/2026 6:56:03 AM"); if(CountSteppers33387>0) ddiffs33387 = new Date(dnows33387-dthens33387); else ddiffs33387 = new Date(dthens33387-dnows33387); gsecss33387 = Math.floor(ddiffs33387.valueOf()/1000); CountBacks33387(gsecss33387);