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 (LeadingZeros32825 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32825(secs) { if (secs < 0) { document.getElementById("cntdwns32825").innerHTML = FinishMessages32825; return; } DisplayStrs32825 = DisplayFormats32825.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32825 = DisplayStrs32825.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32825 = DisplayStrs32825.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32825 = DisplayStrs32825.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32825").innerHTML = DisplayStrs32825; if (CountActives32825) //alert(SetTimeOutPeriods32825); setTimeout("CountBacks32825(" + (secs+CountSteppers32825) + ")", SetTimeOutPeriods32825); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32825)=="undefined") BackColors32825 = ""; if (typeof(ForeColors32825)=="undefined") ForeColors32825= "white"; if (typeof(TargetDates32825)=="undefined") TargetDates32825 = "09/14/2025 10:00:00 PM"; if (typeof(DisplayFormats32825)=="undefined") DisplayFormats32825 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32825)=="undefined") CountActives32825 = true; if (typeof(FinishMessages32825)=="undefined") FinishMessages32825 = ""; if (typeof(CountSteppers32825)!="number") CountSteppers32825 = -1; if (typeof(LeadingZeros32825)=="undefined") LeadingZeros32825 = true; CountSteppers32825 = Math.ceil(CountSteppers32825); if (CountSteppers32825 == 0) CountActives32825 = false; var SetTimeOutPeriods32825 = (Math.abs(CountSteppers32825)-1)*1000 + 990; puti(BackColors32825, ForeColors32825); var dthens32825 = new Date(TargetDates32825); var dnows32825 = new Date("09/12/2025 5:43:36 PM"); if(CountSteppers32825>0) ddiffs32825 = new Date(dnows32825-dthens32825); else ddiffs32825 = new Date(dthens32825-dnows32825); gsecss32825 = Math.floor(ddiffs32825.valueOf()/1000); CountBacks32825(gsecss32825);