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 (LeadingZeros32554 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32554(secs) { if (secs < 0) { document.getElementById("cntdwns32554").innerHTML = FinishMessages32554; return; } DisplayStrs32554 = DisplayFormats32554.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32554 = DisplayStrs32554.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32554 = DisplayStrs32554.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32554 = DisplayStrs32554.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32554").innerHTML = DisplayStrs32554; if (CountActives32554) //alert(SetTimeOutPeriods32554); setTimeout("CountBacks32554(" + (secs+CountSteppers32554) + ")", SetTimeOutPeriods32554); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32554)=="undefined") BackColors32554 = ""; if (typeof(ForeColors32554)=="undefined") ForeColors32554= "white"; if (typeof(TargetDates32554)=="undefined") TargetDates32554 = "09/19/2025 10:00:00 PM"; if (typeof(DisplayFormats32554)=="undefined") DisplayFormats32554 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32554)=="undefined") CountActives32554 = true; if (typeof(FinishMessages32554)=="undefined") FinishMessages32554 = ""; if (typeof(CountSteppers32554)!="number") CountSteppers32554 = -1; if (typeof(LeadingZeros32554)=="undefined") LeadingZeros32554 = true; CountSteppers32554 = Math.ceil(CountSteppers32554); if (CountSteppers32554 == 0) CountActives32554 = false; var SetTimeOutPeriods32554 = (Math.abs(CountSteppers32554)-1)*1000 + 990; puti(BackColors32554, ForeColors32554); var dthens32554 = new Date(TargetDates32554); var dnows32554 = new Date("09/17/2025 9:16:36 AM"); if(CountSteppers32554>0) ddiffs32554 = new Date(dnows32554-dthens32554); else ddiffs32554 = new Date(dthens32554-dnows32554); gsecss32554 = Math.floor(ddiffs32554.valueOf()/1000); CountBacks32554(gsecss32554);