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 (LeadingZero1679691600top27587 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBack1679691600top27587(secs) { if (secs < 0) { document.getElementById("cntdwn1679691600top27587").innerHTML = FinishMessage1679691600top27587; return; } DisplayStr1679691600top27587 = DisplayFormat1679691600top27587.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStr1679691600top27587 = DisplayStr1679691600top27587.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStr1679691600top27587 = DisplayStr1679691600top27587.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStr1679691600top27587 = DisplayStr1679691600top27587.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwn1679691600top27587").innerHTML = DisplayStr1679691600top27587; if (CountActive1679691600top27587) //alert(SetTimeOutPeriod1679691600top27587); setTimeout("CountBack1679691600top27587(" + (secs+CountStepper1679691600top27587) + ")", SetTimeOutPeriod1679691600top27587); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColor1679691600top27587)=="undefined") BackColor1679691600top27587 = ""; if (typeof(ForeColor1679691600top27587)=="undefined") ForeColor1679691600top27587= "white"; if (typeof(TargetDate1679691600top27587)=="undefined") TargetDate1679691600top27587 = "03/24/2023 10:00:00 PM"; if (typeof(DisplayFormat1679691600top27587)=="undefined") DisplayFormat1679691600top27587 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActive1679691600top27587)=="undefined") CountActive1679691600top27587 = true; if (typeof(FinishMessage1679691600top27587)=="undefined") FinishMessage1679691600top27587 = ""; if (typeof(CountStepper1679691600top27587)!="number") CountStepper1679691600top27587 = -1; if (typeof(LeadingZero1679691600top27587)=="undefined") LeadingZero1679691600top27587 = true; CountStepper1679691600top27587 = Math.ceil(CountStepper1679691600top27587); if (CountStepper1679691600top27587 == 0) CountActive1679691600top27587 = false; var SetTimeOutPeriod1679691600top27587 = (Math.abs(CountStepper1679691600top27587)-1)*1000 + 990; puti(BackColor1679691600top27587, ForeColor1679691600top27587); var dthen1679691600top27587 = new Date(TargetDate1679691600top27587); var dnow1679691600top27587 = new Date("05/13/2025 5:47:32 AM"); if(CountStepper1679691600top27587>0) ddiff1679691600top27587 = new Date(dnow1679691600top27587-dthen1679691600top27587); else ddiff1679691600top27587 = new Date(dthen1679691600top27587-dnow1679691600top27587); gsecs1679691600top27587 = Math.floor(ddiff1679691600top27587.valueOf()/1000); CountBack1679691600top27587(gsecs1679691600top27587);