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 (LeadingZeros32843 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32843(secs) { if (secs < 0) { document.getElementById("cntdwns32843").innerHTML = FinishMessages32843; return; } DisplayStrs32843 = DisplayFormats32843.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32843 = DisplayStrs32843.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32843 = DisplayStrs32843.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32843 = DisplayStrs32843.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32843").innerHTML = DisplayStrs32843; if (CountActives32843) //alert(SetTimeOutPeriods32843); setTimeout("CountBacks32843(" + (secs+CountSteppers32843) + ")", SetTimeOutPeriods32843); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32843)=="undefined") BackColors32843 = ""; if (typeof(ForeColors32843)=="undefined") ForeColors32843= "white"; if (typeof(TargetDates32843)=="undefined") TargetDates32843 = "09/20/2025 10:00:00 PM"; if (typeof(DisplayFormats32843)=="undefined") DisplayFormats32843 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32843)=="undefined") CountActives32843 = true; if (typeof(FinishMessages32843)=="undefined") FinishMessages32843 = ""; if (typeof(CountSteppers32843)!="number") CountSteppers32843 = -1; if (typeof(LeadingZeros32843)=="undefined") LeadingZeros32843 = true; CountSteppers32843 = Math.ceil(CountSteppers32843); if (CountSteppers32843 == 0) CountActives32843 = false; var SetTimeOutPeriods32843 = (Math.abs(CountSteppers32843)-1)*1000 + 990; puti(BackColors32843, ForeColors32843); var dthens32843 = new Date(TargetDates32843); var dnows32843 = new Date("09/18/2025 3:37:15 PM"); if(CountSteppers32843>0) ddiffs32843 = new Date(dnows32843-dthens32843); else ddiffs32843 = new Date(dthens32843-dnows32843); gsecss32843 = Math.floor(ddiffs32843.valueOf()/1000); CountBacks32843(gsecss32843);