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 (LeadingZeros32865 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32865(secs) { if (secs < 0) { document.getElementById("cntdwns32865").innerHTML = FinishMessages32865; return; } DisplayStrs32865 = DisplayFormats32865.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32865 = DisplayStrs32865.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32865 = DisplayStrs32865.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32865 = DisplayStrs32865.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32865").innerHTML = DisplayStrs32865; if (CountActives32865) //alert(SetTimeOutPeriods32865); setTimeout("CountBacks32865(" + (secs+CountSteppers32865) + ")", SetTimeOutPeriods32865); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32865)=="undefined") BackColors32865 = ""; if (typeof(ForeColors32865)=="undefined") ForeColors32865= "white"; if (typeof(TargetDates32865)=="undefined") TargetDates32865 = "10/24/2025 10:00:00 PM"; if (typeof(DisplayFormats32865)=="undefined") DisplayFormats32865 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32865)=="undefined") CountActives32865 = true; if (typeof(FinishMessages32865)=="undefined") FinishMessages32865 = ""; if (typeof(CountSteppers32865)!="number") CountSteppers32865 = -1; if (typeof(LeadingZeros32865)=="undefined") LeadingZeros32865 = true; CountSteppers32865 = Math.ceil(CountSteppers32865); if (CountSteppers32865 == 0) CountActives32865 = false; var SetTimeOutPeriods32865 = (Math.abs(CountSteppers32865)-1)*1000 + 990; puti(BackColors32865, ForeColors32865); var dthens32865 = new Date(TargetDates32865); var dnows32865 = new Date("10/21/2025 2:26:44 PM"); if(CountSteppers32865>0) ddiffs32865 = new Date(dnows32865-dthens32865); else ddiffs32865 = new Date(dthens32865-dnows32865); gsecss32865 = Math.floor(ddiffs32865.valueOf()/1000); CountBacks32865(gsecss32865);