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 (LeadingZeros32737 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32737(secs) { if (secs < 0) { document.getElementById("cntdwns32737").innerHTML = FinishMessages32737; return; } DisplayStrs32737 = DisplayFormats32737.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32737 = DisplayStrs32737.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32737 = DisplayStrs32737.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32737 = DisplayStrs32737.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32737").innerHTML = DisplayStrs32737; if (CountActives32737) //alert(SetTimeOutPeriods32737); setTimeout("CountBacks32737(" + (secs+CountSteppers32737) + ")", SetTimeOutPeriods32737); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32737)=="undefined") BackColors32737 = ""; if (typeof(ForeColors32737)=="undefined") ForeColors32737= "white"; if (typeof(TargetDates32737)=="undefined") TargetDates32737 = "08/28/2025 10:00:00 PM"; if (typeof(DisplayFormats32737)=="undefined") DisplayFormats32737 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32737)=="undefined") CountActives32737 = true; if (typeof(FinishMessages32737)=="undefined") FinishMessages32737 = ""; if (typeof(CountSteppers32737)!="number") CountSteppers32737 = -1; if (typeof(LeadingZeros32737)=="undefined") LeadingZeros32737 = true; CountSteppers32737 = Math.ceil(CountSteppers32737); if (CountSteppers32737 == 0) CountActives32737 = false; var SetTimeOutPeriods32737 = (Math.abs(CountSteppers32737)-1)*1000 + 990; puti(BackColors32737, ForeColors32737); var dthens32737 = new Date(TargetDates32737); var dnows32737 = new Date("08/26/2025 9:50:43 AM"); if(CountSteppers32737>0) ddiffs32737 = new Date(dnows32737-dthens32737); else ddiffs32737 = new Date(dthens32737-dnows32737); gsecss32737 = Math.floor(ddiffs32737.valueOf()/1000); CountBacks32737(gsecss32737);