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 (LeadingZeros32382 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32382(secs) { if (secs < 0) { document.getElementById("cntdwns32382").innerHTML = FinishMessages32382; return; } DisplayStrs32382 = DisplayFormats32382.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32382 = DisplayStrs32382.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32382 = DisplayStrs32382.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32382 = DisplayStrs32382.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32382").innerHTML = DisplayStrs32382; if (CountActives32382) //alert(SetTimeOutPeriods32382); setTimeout("CountBacks32382(" + (secs+CountSteppers32382) + ")", SetTimeOutPeriods32382); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32382)=="undefined") BackColors32382 = ""; if (typeof(ForeColors32382)=="undefined") ForeColors32382= "white"; if (typeof(TargetDates32382)=="undefined") TargetDates32382 = "06/16/2025 10:00:00 PM"; if (typeof(DisplayFormats32382)=="undefined") DisplayFormats32382 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32382)=="undefined") CountActives32382 = true; if (typeof(FinishMessages32382)=="undefined") FinishMessages32382 = ""; if (typeof(CountSteppers32382)!="number") CountSteppers32382 = -1; if (typeof(LeadingZeros32382)=="undefined") LeadingZeros32382 = true; CountSteppers32382 = Math.ceil(CountSteppers32382); if (CountSteppers32382 == 0) CountActives32382 = false; var SetTimeOutPeriods32382 = (Math.abs(CountSteppers32382)-1)*1000 + 990; puti(BackColors32382, ForeColors32382); var dthens32382 = new Date(TargetDates32382); var dnows32382 = new Date("06/14/2025 7:39:07 AM"); if(CountSteppers32382>0) ddiffs32382 = new Date(dnows32382-dthens32382); else ddiffs32382 = new Date(dthens32382-dnows32382); gsecss32382 = Math.floor(ddiffs32382.valueOf()/1000); CountBacks32382(gsecss32382);