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 (LeadingZeros33625 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33625(secs) { if (secs < 0) { document.getElementById("cntdwns33625").innerHTML = FinishMessages33625; return; } DisplayStrs33625 = DisplayFormats33625.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33625 = DisplayStrs33625.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33625 = DisplayStrs33625.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33625 = DisplayStrs33625.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33625").innerHTML = DisplayStrs33625; if (CountActives33625) //alert(SetTimeOutPeriods33625); setTimeout("CountBacks33625(" + (secs+CountSteppers33625) + ")", SetTimeOutPeriods33625); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33625)=="undefined") BackColors33625 = ""; if (typeof(ForeColors33625)=="undefined") ForeColors33625= "white"; if (typeof(TargetDates33625)=="undefined") TargetDates33625 = "03/10/2026 10:00:00 PM"; if (typeof(DisplayFormats33625)=="undefined") DisplayFormats33625 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33625)=="undefined") CountActives33625 = true; if (typeof(FinishMessages33625)=="undefined") FinishMessages33625 = ""; if (typeof(CountSteppers33625)!="number") CountSteppers33625 = -1; if (typeof(LeadingZeros33625)=="undefined") LeadingZeros33625 = true; CountSteppers33625 = Math.ceil(CountSteppers33625); if (CountSteppers33625 == 0) CountActives33625 = false; var SetTimeOutPeriods33625 = (Math.abs(CountSteppers33625)-1)*1000 + 990; puti(BackColors33625, ForeColors33625); var dthens33625 = new Date(TargetDates33625); var dnows33625 = new Date("03/07/2026 8:26:39 AM"); if(CountSteppers33625>0) ddiffs33625 = new Date(dnows33625-dthens33625); else ddiffs33625 = new Date(dthens33625-dnows33625); gsecss33625 = Math.floor(ddiffs33625.valueOf()/1000); CountBacks33625(gsecss33625);