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 (LeadingZeros32993 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32993(secs) { if (secs < 0) { document.getElementById("cntdwns32993").innerHTML = FinishMessages32993; return; } DisplayStrs32993 = DisplayFormats32993.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32993 = DisplayStrs32993.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32993 = DisplayStrs32993.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32993 = DisplayStrs32993.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32993").innerHTML = DisplayStrs32993; if (CountActives32993) //alert(SetTimeOutPeriods32993); setTimeout("CountBacks32993(" + (secs+CountSteppers32993) + ")", SetTimeOutPeriods32993); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32993)=="undefined") BackColors32993 = ""; if (typeof(ForeColors32993)=="undefined") ForeColors32993= "white"; if (typeof(TargetDates32993)=="undefined") TargetDates32993 = "10/30/2025 9:00:00 PM"; if (typeof(DisplayFormats32993)=="undefined") DisplayFormats32993 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32993)=="undefined") CountActives32993 = true; if (typeof(FinishMessages32993)=="undefined") FinishMessages32993 = ""; if (typeof(CountSteppers32993)!="number") CountSteppers32993 = -1; if (typeof(LeadingZeros32993)=="undefined") LeadingZeros32993 = true; CountSteppers32993 = Math.ceil(CountSteppers32993); if (CountSteppers32993 == 0) CountActives32993 = false; var SetTimeOutPeriods32993 = (Math.abs(CountSteppers32993)-1)*1000 + 990; puti(BackColors32993, ForeColors32993); var dthens32993 = new Date(TargetDates32993); var dnows32993 = new Date("10/28/2025 1:42:34 PM"); if(CountSteppers32993>0) ddiffs32993 = new Date(dnows32993-dthens32993); else ddiffs32993 = new Date(dthens32993-dnows32993); gsecss32993 = Math.floor(ddiffs32993.valueOf()/1000); CountBacks32993(gsecss32993);