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 (LeadingZeros32509 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32509(secs) { if (secs < 0) { document.getElementById("cntdwns32509").innerHTML = FinishMessages32509; return; } DisplayStrs32509 = DisplayFormats32509.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32509 = DisplayStrs32509.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32509 = DisplayStrs32509.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32509 = DisplayStrs32509.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32509").innerHTML = DisplayStrs32509; if (CountActives32509) //alert(SetTimeOutPeriods32509); setTimeout("CountBacks32509(" + (secs+CountSteppers32509) + ")", SetTimeOutPeriods32509); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32509)=="undefined") BackColors32509 = ""; if (typeof(ForeColors32509)=="undefined") ForeColors32509= "white"; if (typeof(TargetDates32509)=="undefined") TargetDates32509 = "06/28/2025 10:00:00 PM"; if (typeof(DisplayFormats32509)=="undefined") DisplayFormats32509 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32509)=="undefined") CountActives32509 = true; if (typeof(FinishMessages32509)=="undefined") FinishMessages32509 = ""; if (typeof(CountSteppers32509)!="number") CountSteppers32509 = -1; if (typeof(LeadingZeros32509)=="undefined") LeadingZeros32509 = true; CountSteppers32509 = Math.ceil(CountSteppers32509); if (CountSteppers32509 == 0) CountActives32509 = false; var SetTimeOutPeriods32509 = (Math.abs(CountSteppers32509)-1)*1000 + 990; puti(BackColors32509, ForeColors32509); var dthens32509 = new Date(TargetDates32509); var dnows32509 = new Date("06/26/2025 2:14:22 AM"); if(CountSteppers32509>0) ddiffs32509 = new Date(dnows32509-dthens32509); else ddiffs32509 = new Date(dthens32509-dnows32509); gsecss32509 = Math.floor(ddiffs32509.valueOf()/1000); CountBacks32509(gsecss32509);