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 (LeadingZeros1686772800top26896 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks1686772800top26896(secs) { if (secs < 0) { document.getElementById("cntdwns1686772800top26896").innerHTML = FinishMessages1686772800top26896; return; } DisplayStrs1686772800top26896 = DisplayFormats1686772800top26896.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs1686772800top26896 = DisplayStrs1686772800top26896.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs1686772800top26896 = DisplayStrs1686772800top26896.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs1686772800top26896 = DisplayStrs1686772800top26896.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns1686772800top26896").innerHTML = DisplayStrs1686772800top26896; if (CountActives1686772800top26896) //alert(SetTimeOutPeriods1686772800top26896); setTimeout("CountBacks1686772800top26896(" + (secs+CountSteppers1686772800top26896) + ")", SetTimeOutPeriods1686772800top26896); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors1686772800top26896)=="undefined") BackColors1686772800top26896 = ""; if (typeof(ForeColors1686772800top26896)=="undefined") ForeColors1686772800top26896= "white"; if (typeof(TargetDates1686772800top26896)=="undefined") TargetDates1686772800top26896 = "06/14/2023 10:00:00 PM"; if (typeof(DisplayFormats1686772800top26896)=="undefined") DisplayFormats1686772800top26896 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives1686772800top26896)=="undefined") CountActives1686772800top26896 = true; if (typeof(FinishMessages1686772800top26896)=="undefined") FinishMessages1686772800top26896 = ""; if (typeof(CountSteppers1686772800top26896)!="number") CountSteppers1686772800top26896 = -1; if (typeof(LeadingZeros1686772800top26896)=="undefined") LeadingZeros1686772800top26896 = true; CountSteppers1686772800top26896 = Math.ceil(CountSteppers1686772800top26896); if (CountSteppers1686772800top26896 == 0) CountActives1686772800top26896 = false; var SetTimeOutPeriods1686772800top26896 = (Math.abs(CountSteppers1686772800top26896)-1)*1000 + 990; puti(BackColors1686772800top26896, ForeColors1686772800top26896); var dthens1686772800top26896 = new Date(TargetDates1686772800top26896); var dnows1686772800top26896 = new Date("05/11/2025 3:26:56 PM"); if(CountSteppers1686772800top26896>0) ddiffs1686772800top26896 = new Date(dnows1686772800top26896-dthens1686772800top26896); else ddiffs1686772800top26896 = new Date(dthens1686772800top26896-dnows1686772800top26896); gsecss1686772800top26896 = Math.floor(ddiffs1686772800top26896.valueOf()/1000); CountBacks1686772800top26896(gsecss1686772800top26896);