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 (LeadingZeros1695931200top27961 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks1695931200top27961(secs) { if (secs < 0) { document.getElementById("cntdwns1695931200top27961").innerHTML = FinishMessages1695931200top27961; return; } DisplayStrs1695931200top27961 = DisplayFormats1695931200top27961.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs1695931200top27961 = DisplayStrs1695931200top27961.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs1695931200top27961 = DisplayStrs1695931200top27961.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs1695931200top27961 = DisplayStrs1695931200top27961.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns1695931200top27961").innerHTML = DisplayStrs1695931200top27961; if (CountActives1695931200top27961) //alert(SetTimeOutPeriods1695931200top27961); setTimeout("CountBacks1695931200top27961(" + (secs+CountSteppers1695931200top27961) + ")", SetTimeOutPeriods1695931200top27961); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors1695931200top27961)=="undefined") BackColors1695931200top27961 = ""; if (typeof(ForeColors1695931200top27961)=="undefined") ForeColors1695931200top27961= "white"; if (typeof(TargetDates1695931200top27961)=="undefined") TargetDates1695931200top27961 = "09/28/2023 10:00:00 PM"; if (typeof(DisplayFormats1695931200top27961)=="undefined") DisplayFormats1695931200top27961 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives1695931200top27961)=="undefined") CountActives1695931200top27961 = true; if (typeof(FinishMessages1695931200top27961)=="undefined") FinishMessages1695931200top27961 = ""; if (typeof(CountSteppers1695931200top27961)!="number") CountSteppers1695931200top27961 = -1; if (typeof(LeadingZeros1695931200top27961)=="undefined") LeadingZeros1695931200top27961 = true; CountSteppers1695931200top27961 = Math.ceil(CountSteppers1695931200top27961); if (CountSteppers1695931200top27961 == 0) CountActives1695931200top27961 = false; var SetTimeOutPeriods1695931200top27961 = (Math.abs(CountSteppers1695931200top27961)-1)*1000 + 990; puti(BackColors1695931200top27961, ForeColors1695931200top27961); var dthens1695931200top27961 = new Date(TargetDates1695931200top27961); var dnows1695931200top27961 = new Date("05/11/2025 2:47:25 AM"); if(CountSteppers1695931200top27961>0) ddiffs1695931200top27961 = new Date(dnows1695931200top27961-dthens1695931200top27961); else ddiffs1695931200top27961 = new Date(dthens1695931200top27961-dnows1695931200top27961); gsecss1695931200top27961 = Math.floor(ddiffs1695931200top27961.valueOf()/1000); CountBacks1695931200top27961(gsecss1695931200top27961);