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 (LeadingZeros1686772800top27128 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks1686772800top27128(secs) { if (secs < 0) { document.getElementById("cntdwns1686772800top27128").innerHTML = FinishMessages1686772800top27128; return; } DisplayStrs1686772800top27128 = DisplayFormats1686772800top27128.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs1686772800top27128 = DisplayStrs1686772800top27128.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs1686772800top27128 = DisplayStrs1686772800top27128.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs1686772800top27128 = DisplayStrs1686772800top27128.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns1686772800top27128").innerHTML = DisplayStrs1686772800top27128; if (CountActives1686772800top27128) //alert(SetTimeOutPeriods1686772800top27128); setTimeout("CountBacks1686772800top27128(" + (secs+CountSteppers1686772800top27128) + ")", SetTimeOutPeriods1686772800top27128); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors1686772800top27128)=="undefined") BackColors1686772800top27128 = ""; if (typeof(ForeColors1686772800top27128)=="undefined") ForeColors1686772800top27128= "white"; if (typeof(TargetDates1686772800top27128)=="undefined") TargetDates1686772800top27128 = "06/14/2023 10:00:00 PM"; if (typeof(DisplayFormats1686772800top27128)=="undefined") DisplayFormats1686772800top27128 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives1686772800top27128)=="undefined") CountActives1686772800top27128 = true; if (typeof(FinishMessages1686772800top27128)=="undefined") FinishMessages1686772800top27128 = ""; if (typeof(CountSteppers1686772800top27128)!="number") CountSteppers1686772800top27128 = -1; if (typeof(LeadingZeros1686772800top27128)=="undefined") LeadingZeros1686772800top27128 = true; CountSteppers1686772800top27128 = Math.ceil(CountSteppers1686772800top27128); if (CountSteppers1686772800top27128 == 0) CountActives1686772800top27128 = false; var SetTimeOutPeriods1686772800top27128 = (Math.abs(CountSteppers1686772800top27128)-1)*1000 + 990; puti(BackColors1686772800top27128, ForeColors1686772800top27128); var dthens1686772800top27128 = new Date(TargetDates1686772800top27128); var dnows1686772800top27128 = new Date("05/11/2025 4:38:37 PM"); if(CountSteppers1686772800top27128>0) ddiffs1686772800top27128 = new Date(dnows1686772800top27128-dthens1686772800top27128); else ddiffs1686772800top27128 = new Date(dthens1686772800top27128-dnows1686772800top27128); gsecss1686772800top27128 = Math.floor(ddiffs1686772800top27128.valueOf()/1000); CountBacks1686772800top27128(gsecss1686772800top27128);