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 (LeadingZeros32593 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32593(secs) { if (secs < 0) { document.getElementById("cntdwns32593").innerHTML = FinishMessages32593; return; } DisplayStrs32593 = DisplayFormats32593.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32593 = DisplayStrs32593.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32593 = DisplayStrs32593.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32593 = DisplayStrs32593.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32593").innerHTML = DisplayStrs32593; if (CountActives32593) //alert(SetTimeOutPeriods32593); setTimeout("CountBacks32593(" + (secs+CountSteppers32593) + ")", SetTimeOutPeriods32593); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32593)=="undefined") BackColors32593 = ""; if (typeof(ForeColors32593)=="undefined") ForeColors32593= "white"; if (typeof(TargetDates32593)=="undefined") TargetDates32593 = "07/22/2025 10:00:00 PM"; if (typeof(DisplayFormats32593)=="undefined") DisplayFormats32593 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32593)=="undefined") CountActives32593 = true; if (typeof(FinishMessages32593)=="undefined") FinishMessages32593 = ""; if (typeof(CountSteppers32593)!="number") CountSteppers32593 = -1; if (typeof(LeadingZeros32593)=="undefined") LeadingZeros32593 = true; CountSteppers32593 = Math.ceil(CountSteppers32593); if (CountSteppers32593 == 0) CountActives32593 = false; var SetTimeOutPeriods32593 = (Math.abs(CountSteppers32593)-1)*1000 + 990; puti(BackColors32593, ForeColors32593); var dthens32593 = new Date(TargetDates32593); var dnows32593 = new Date("07/30/2025 6:42:40 PM"); if(CountSteppers32593>0) ddiffs32593 = new Date(dnows32593-dthens32593); else ddiffs32593 = new Date(dthens32593-dnows32593); gsecss32593 = Math.floor(ddiffs32593.valueOf()/1000); CountBacks32593(gsecss32593);