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 (LeadingZeros32393 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32393(secs) { if (secs < 0) { document.getElementById("cntdwns32393").innerHTML = FinishMessages32393; return; } DisplayStrs32393 = DisplayFormats32393.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32393 = DisplayStrs32393.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32393 = DisplayStrs32393.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32393 = DisplayStrs32393.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32393").innerHTML = DisplayStrs32393; if (CountActives32393) //alert(SetTimeOutPeriods32393); setTimeout("CountBacks32393(" + (secs+CountSteppers32393) + ")", SetTimeOutPeriods32393); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32393)=="undefined") BackColors32393 = ""; if (typeof(ForeColors32393)=="undefined") ForeColors32393= "white"; if (typeof(TargetDates32393)=="undefined") TargetDates32393 = "06/22/2025 10:00:00 PM"; if (typeof(DisplayFormats32393)=="undefined") DisplayFormats32393 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32393)=="undefined") CountActives32393 = true; if (typeof(FinishMessages32393)=="undefined") FinishMessages32393 = ""; if (typeof(CountSteppers32393)!="number") CountSteppers32393 = -1; if (typeof(LeadingZeros32393)=="undefined") LeadingZeros32393 = true; CountSteppers32393 = Math.ceil(CountSteppers32393); if (CountSteppers32393 == 0) CountActives32393 = false; var SetTimeOutPeriods32393 = (Math.abs(CountSteppers32393)-1)*1000 + 990; puti(BackColors32393, ForeColors32393); var dthens32393 = new Date(TargetDates32393); var dnows32393 = new Date("06/19/2025 1:40:08 PM"); if(CountSteppers32393>0) ddiffs32393 = new Date(dnows32393-dthens32393); else ddiffs32393 = new Date(dthens32393-dnows32393); gsecss32393 = Math.floor(ddiffs32393.valueOf()/1000); CountBacks32393(gsecss32393);