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 (LeadingZeros32886 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32886(secs) { if (secs < 0) { document.getElementById("cntdwns32886").innerHTML = FinishMessages32886; return; } DisplayStrs32886 = DisplayFormats32886.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32886 = DisplayStrs32886.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32886 = DisplayStrs32886.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32886 = DisplayStrs32886.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32886").innerHTML = DisplayStrs32886; if (CountActives32886) //alert(SetTimeOutPeriods32886); setTimeout("CountBacks32886(" + (secs+CountSteppers32886) + ")", SetTimeOutPeriods32886); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32886)=="undefined") BackColors32886 = ""; if (typeof(ForeColors32886)=="undefined") ForeColors32886= "white"; if (typeof(TargetDates32886)=="undefined") TargetDates32886 = "10/11/2025 10:00:00 PM"; if (typeof(DisplayFormats32886)=="undefined") DisplayFormats32886 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32886)=="undefined") CountActives32886 = true; if (typeof(FinishMessages32886)=="undefined") FinishMessages32886 = ""; if (typeof(CountSteppers32886)!="number") CountSteppers32886 = -1; if (typeof(LeadingZeros32886)=="undefined") LeadingZeros32886 = true; CountSteppers32886 = Math.ceil(CountSteppers32886); if (CountSteppers32886 == 0) CountActives32886 = false; var SetTimeOutPeriods32886 = (Math.abs(CountSteppers32886)-1)*1000 + 990; puti(BackColors32886, ForeColors32886); var dthens32886 = new Date(TargetDates32886); var dnows32886 = new Date("10/09/2025 2:59:11 PM"); if(CountSteppers32886>0) ddiffs32886 = new Date(dnows32886-dthens32886); else ddiffs32886 = new Date(dthens32886-dnows32886); gsecss32886 = Math.floor(ddiffs32886.valueOf()/1000); CountBacks32886(gsecss32886);