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 (LeadingZeros32594 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32594(secs) { if (secs < 0) { document.getElementById("cntdwns32594").innerHTML = FinishMessages32594; return; } DisplayStrs32594 = DisplayFormats32594.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32594 = DisplayStrs32594.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32594 = DisplayStrs32594.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32594 = DisplayStrs32594.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32594").innerHTML = DisplayStrs32594; if (CountActives32594) //alert(SetTimeOutPeriods32594); setTimeout("CountBacks32594(" + (secs+CountSteppers32594) + ")", SetTimeOutPeriods32594); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32594)=="undefined") BackColors32594 = ""; if (typeof(ForeColors32594)=="undefined") ForeColors32594= "white"; if (typeof(TargetDates32594)=="undefined") TargetDates32594 = "07/24/2025 10:00:00 PM"; if (typeof(DisplayFormats32594)=="undefined") DisplayFormats32594 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32594)=="undefined") CountActives32594 = true; if (typeof(FinishMessages32594)=="undefined") FinishMessages32594 = ""; if (typeof(CountSteppers32594)!="number") CountSteppers32594 = -1; if (typeof(LeadingZeros32594)=="undefined") LeadingZeros32594 = true; CountSteppers32594 = Math.ceil(CountSteppers32594); if (CountSteppers32594 == 0) CountActives32594 = false; var SetTimeOutPeriods32594 = (Math.abs(CountSteppers32594)-1)*1000 + 990; puti(BackColors32594, ForeColors32594); var dthens32594 = new Date(TargetDates32594); var dnows32594 = new Date("07/22/2025 3:57:58 PM"); if(CountSteppers32594>0) ddiffs32594 = new Date(dnows32594-dthens32594); else ddiffs32594 = new Date(dthens32594-dnows32594); gsecss32594 = Math.floor(ddiffs32594.valueOf()/1000); CountBacks32594(gsecss32594);