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 (LeadingZeros32494 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32494(secs) { if (secs < 0) { document.getElementById("cntdwns32494").innerHTML = FinishMessages32494; return; } DisplayStrs32494 = DisplayFormats32494.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32494 = DisplayStrs32494.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32494 = DisplayStrs32494.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32494 = DisplayStrs32494.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32494").innerHTML = DisplayStrs32494; if (CountActives32494) //alert(SetTimeOutPeriods32494); setTimeout("CountBacks32494(" + (secs+CountSteppers32494) + ")", SetTimeOutPeriods32494); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32494)=="undefined") BackColors32494 = ""; if (typeof(ForeColors32494)=="undefined") ForeColors32494= "white"; if (typeof(TargetDates32494)=="undefined") TargetDates32494 = "06/24/2025 10:00:00 PM"; if (typeof(DisplayFormats32494)=="undefined") DisplayFormats32494 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32494)=="undefined") CountActives32494 = true; if (typeof(FinishMessages32494)=="undefined") FinishMessages32494 = ""; if (typeof(CountSteppers32494)!="number") CountSteppers32494 = -1; if (typeof(LeadingZeros32494)=="undefined") LeadingZeros32494 = true; CountSteppers32494 = Math.ceil(CountSteppers32494); if (CountSteppers32494 == 0) CountActives32494 = false; var SetTimeOutPeriods32494 = (Math.abs(CountSteppers32494)-1)*1000 + 990; puti(BackColors32494, ForeColors32494); var dthens32494 = new Date(TargetDates32494); var dnows32494 = new Date("06/21/2025 11:37:35 PM"); if(CountSteppers32494>0) ddiffs32494 = new Date(dnows32494-dthens32494); else ddiffs32494 = new Date(dthens32494-dnows32494); gsecss32494 = Math.floor(ddiffs32494.valueOf()/1000); CountBacks32494(gsecss32494);