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 (LeadingZeros32802 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32802(secs) { if (secs < 0) { document.getElementById("cntdwns32802").innerHTML = FinishMessages32802; return; } DisplayStrs32802 = DisplayFormats32802.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32802 = DisplayStrs32802.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32802 = DisplayStrs32802.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32802 = DisplayStrs32802.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32802").innerHTML = DisplayStrs32802; if (CountActives32802) //alert(SetTimeOutPeriods32802); setTimeout("CountBacks32802(" + (secs+CountSteppers32802) + ")", SetTimeOutPeriods32802); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32802)=="undefined") BackColors32802 = ""; if (typeof(ForeColors32802)=="undefined") ForeColors32802= "white"; if (typeof(TargetDates32802)=="undefined") TargetDates32802 = "09/20/2025 10:00:00 PM"; if (typeof(DisplayFormats32802)=="undefined") DisplayFormats32802 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32802)=="undefined") CountActives32802 = true; if (typeof(FinishMessages32802)=="undefined") FinishMessages32802 = ""; if (typeof(CountSteppers32802)!="number") CountSteppers32802 = -1; if (typeof(LeadingZeros32802)=="undefined") LeadingZeros32802 = true; CountSteppers32802 = Math.ceil(CountSteppers32802); if (CountSteppers32802 == 0) CountActives32802 = false; var SetTimeOutPeriods32802 = (Math.abs(CountSteppers32802)-1)*1000 + 990; puti(BackColors32802, ForeColors32802); var dthens32802 = new Date(TargetDates32802); var dnows32802 = new Date("09/18/2025 5:25:27 PM"); if(CountSteppers32802>0) ddiffs32802 = new Date(dnows32802-dthens32802); else ddiffs32802 = new Date(dthens32802-dnows32802); gsecss32802 = Math.floor(ddiffs32802.valueOf()/1000); CountBacks32802(gsecss32802);