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 (LeadingZeros33825 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33825(secs) { if (secs < 0) { document.getElementById("cntdwns33825").innerHTML = FinishMessages33825; return; } DisplayStrs33825 = DisplayFormats33825.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33825 = DisplayStrs33825.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33825 = DisplayStrs33825.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33825 = DisplayStrs33825.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33825").innerHTML = DisplayStrs33825; if (CountActives33825) //alert(SetTimeOutPeriods33825); setTimeout("CountBacks33825(" + (secs+CountSteppers33825) + ")", SetTimeOutPeriods33825); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33825)=="undefined") BackColors33825 = ""; if (typeof(ForeColors33825)=="undefined") ForeColors33825= "white"; if (typeof(TargetDates33825)=="undefined") TargetDates33825 = "05/03/2026 10:00:00 PM"; if (typeof(DisplayFormats33825)=="undefined") DisplayFormats33825 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33825)=="undefined") CountActives33825 = true; if (typeof(FinishMessages33825)=="undefined") FinishMessages33825 = ""; if (typeof(CountSteppers33825)!="number") CountSteppers33825 = -1; if (typeof(LeadingZeros33825)=="undefined") LeadingZeros33825 = true; CountSteppers33825 = Math.ceil(CountSteppers33825); if (CountSteppers33825 == 0) CountActives33825 = false; var SetTimeOutPeriods33825 = (Math.abs(CountSteppers33825)-1)*1000 + 990; puti(BackColors33825, ForeColors33825); var dthens33825 = new Date(TargetDates33825); var dnows33825 = new Date("05/01/2026 4:09:52 AM"); if(CountSteppers33825>0) ddiffs33825 = new Date(dnows33825-dthens33825); else ddiffs33825 = new Date(dthens33825-dnows33825); gsecss33825 = Math.floor(ddiffs33825.valueOf()/1000); CountBacks33825(gsecss33825);