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 (LeadingZeros32833 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32833(secs) { if (secs < 0) { document.getElementById("cntdwns32833").innerHTML = FinishMessages32833; return; } DisplayStrs32833 = DisplayFormats32833.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32833 = DisplayStrs32833.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32833 = DisplayStrs32833.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32833 = DisplayStrs32833.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32833").innerHTML = DisplayStrs32833; if (CountActives32833) //alert(SetTimeOutPeriods32833); setTimeout("CountBacks32833(" + (secs+CountSteppers32833) + ")", SetTimeOutPeriods32833); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32833)=="undefined") BackColors32833 = ""; if (typeof(ForeColors32833)=="undefined") ForeColors32833= "white"; if (typeof(TargetDates32833)=="undefined") TargetDates32833 = "09/20/2025 10:00:00 PM"; if (typeof(DisplayFormats32833)=="undefined") DisplayFormats32833 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32833)=="undefined") CountActives32833 = true; if (typeof(FinishMessages32833)=="undefined") FinishMessages32833 = ""; if (typeof(CountSteppers32833)!="number") CountSteppers32833 = -1; if (typeof(LeadingZeros32833)=="undefined") LeadingZeros32833 = true; CountSteppers32833 = Math.ceil(CountSteppers32833); if (CountSteppers32833 == 0) CountActives32833 = false; var SetTimeOutPeriods32833 = (Math.abs(CountSteppers32833)-1)*1000 + 990; puti(BackColors32833, ForeColors32833); var dthens32833 = new Date(TargetDates32833); var dnows32833 = new Date("09/18/2025 6:54:57 PM"); if(CountSteppers32833>0) ddiffs32833 = new Date(dnows32833-dthens32833); else ddiffs32833 = new Date(dthens32833-dnows32833); gsecss32833 = Math.floor(ddiffs32833.valueOf()/1000); CountBacks32833(gsecss32833);