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 (LeadingZero1679778000top27963 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBack1679778000top27963(secs) { if (secs < 0) { document.getElementById("cntdwn1679778000top27963").innerHTML = FinishMessage1679778000top27963; return; } DisplayStr1679778000top27963 = DisplayFormat1679778000top27963.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStr1679778000top27963 = DisplayStr1679778000top27963.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStr1679778000top27963 = DisplayStr1679778000top27963.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStr1679778000top27963 = DisplayStr1679778000top27963.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwn1679778000top27963").innerHTML = DisplayStr1679778000top27963; if (CountActive1679778000top27963) //alert(SetTimeOutPeriod1679778000top27963); setTimeout("CountBack1679778000top27963(" + (secs+CountStepper1679778000top27963) + ")", SetTimeOutPeriod1679778000top27963); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColor1679778000top27963)=="undefined") BackColor1679778000top27963 = ""; if (typeof(ForeColor1679778000top27963)=="undefined") ForeColor1679778000top27963= "white"; if (typeof(TargetDate1679778000top27963)=="undefined") TargetDate1679778000top27963 = "03/25/2023 10:00:00 PM"; if (typeof(DisplayFormat1679778000top27963)=="undefined") DisplayFormat1679778000top27963 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActive1679778000top27963)=="undefined") CountActive1679778000top27963 = true; if (typeof(FinishMessage1679778000top27963)=="undefined") FinishMessage1679778000top27963 = ""; if (typeof(CountStepper1679778000top27963)!="number") CountStepper1679778000top27963 = -1; if (typeof(LeadingZero1679778000top27963)=="undefined") LeadingZero1679778000top27963 = true; CountStepper1679778000top27963 = Math.ceil(CountStepper1679778000top27963); if (CountStepper1679778000top27963 == 0) CountActive1679778000top27963 = false; var SetTimeOutPeriod1679778000top27963 = (Math.abs(CountStepper1679778000top27963)-1)*1000 + 990; puti(BackColor1679778000top27963, ForeColor1679778000top27963); var dthen1679778000top27963 = new Date(TargetDate1679778000top27963); var dnow1679778000top27963 = new Date("05/13/2025 5:01:30 AM"); if(CountStepper1679778000top27963>0) ddiff1679778000top27963 = new Date(dnow1679778000top27963-dthen1679778000top27963); else ddiff1679778000top27963 = new Date(dthen1679778000top27963-dnow1679778000top27963); gsecs1679778000top27963 = Math.floor(ddiff1679778000top27963.valueOf()/1000); CountBack1679778000top27963(gsecs1679778000top27963);