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 (LeadingZeros32627 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32627(secs) { if (secs < 0) { document.getElementById("cntdwns32627").innerHTML = FinishMessages32627; return; } DisplayStrs32627 = DisplayFormats32627.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32627 = DisplayStrs32627.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32627 = DisplayStrs32627.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32627 = DisplayStrs32627.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32627").innerHTML = DisplayStrs32627; if (CountActives32627) //alert(SetTimeOutPeriods32627); setTimeout("CountBacks32627(" + (secs+CountSteppers32627) + ")", SetTimeOutPeriods32627); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32627)=="undefined") BackColors32627 = ""; if (typeof(ForeColors32627)=="undefined") ForeColors32627= "white"; if (typeof(TargetDates32627)=="undefined") TargetDates32627 = "08/23/2025 10:00:00 PM"; if (typeof(DisplayFormats32627)=="undefined") DisplayFormats32627 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32627)=="undefined") CountActives32627 = true; if (typeof(FinishMessages32627)=="undefined") FinishMessages32627 = ""; if (typeof(CountSteppers32627)!="number") CountSteppers32627 = -1; if (typeof(LeadingZeros32627)=="undefined") LeadingZeros32627 = true; CountSteppers32627 = Math.ceil(CountSteppers32627); if (CountSteppers32627 == 0) CountActives32627 = false; var SetTimeOutPeriods32627 = (Math.abs(CountSteppers32627)-1)*1000 + 990; puti(BackColors32627, ForeColors32627); var dthens32627 = new Date(TargetDates32627); var dnows32627 = new Date("08/21/2025 3:01:28 AM"); if(CountSteppers32627>0) ddiffs32627 = new Date(dnows32627-dthens32627); else ddiffs32627 = new Date(dthens32627-dnows32627); gsecss32627 = Math.floor(ddiffs32627.valueOf()/1000); CountBacks32627(gsecss32627);