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 (LeadingZeros32778 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32778(secs) { if (secs < 0) { document.getElementById("cntdwns32778").innerHTML = FinishMessages32778; return; } DisplayStrs32778 = DisplayFormats32778.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32778 = DisplayStrs32778.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32778 = DisplayStrs32778.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32778 = DisplayStrs32778.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32778").innerHTML = DisplayStrs32778; if (CountActives32778) //alert(SetTimeOutPeriods32778); setTimeout("CountBacks32778(" + (secs+CountSteppers32778) + ")", SetTimeOutPeriods32778); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32778)=="undefined") BackColors32778 = ""; if (typeof(ForeColors32778)=="undefined") ForeColors32778= "white"; if (typeof(TargetDates32778)=="undefined") TargetDates32778 = "09/19/2025 10:00:00 PM"; if (typeof(DisplayFormats32778)=="undefined") DisplayFormats32778 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32778)=="undefined") CountActives32778 = true; if (typeof(FinishMessages32778)=="undefined") FinishMessages32778 = ""; if (typeof(CountSteppers32778)!="number") CountSteppers32778 = -1; if (typeof(LeadingZeros32778)=="undefined") LeadingZeros32778 = true; CountSteppers32778 = Math.ceil(CountSteppers32778); if (CountSteppers32778 == 0) CountActives32778 = false; var SetTimeOutPeriods32778 = (Math.abs(CountSteppers32778)-1)*1000 + 990; puti(BackColors32778, ForeColors32778); var dthens32778 = new Date(TargetDates32778); var dnows32778 = new Date("09/17/2025 3:27:35 PM"); if(CountSteppers32778>0) ddiffs32778 = new Date(dnows32778-dthens32778); else ddiffs32778 = new Date(dthens32778-dnows32778); gsecss32778 = Math.floor(ddiffs32778.valueOf()/1000); CountBacks32778(gsecss32778);