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 (LeadingZeros32836 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32836(secs) { if (secs < 0) { document.getElementById("cntdwns32836").innerHTML = FinishMessages32836; return; } DisplayStrs32836 = DisplayFormats32836.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32836 = DisplayStrs32836.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32836 = DisplayStrs32836.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32836 = DisplayStrs32836.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32836").innerHTML = DisplayStrs32836; if (CountActives32836) //alert(SetTimeOutPeriods32836); setTimeout("CountBacks32836(" + (secs+CountSteppers32836) + ")", SetTimeOutPeriods32836); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32836)=="undefined") BackColors32836 = ""; if (typeof(ForeColors32836)=="undefined") ForeColors32836= "white"; if (typeof(TargetDates32836)=="undefined") TargetDates32836 = "10/16/2025 10:00:00 PM"; if (typeof(DisplayFormats32836)=="undefined") DisplayFormats32836 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32836)=="undefined") CountActives32836 = true; if (typeof(FinishMessages32836)=="undefined") FinishMessages32836 = ""; if (typeof(CountSteppers32836)!="number") CountSteppers32836 = -1; if (typeof(LeadingZeros32836)=="undefined") LeadingZeros32836 = true; CountSteppers32836 = Math.ceil(CountSteppers32836); if (CountSteppers32836 == 0) CountActives32836 = false; var SetTimeOutPeriods32836 = (Math.abs(CountSteppers32836)-1)*1000 + 990; puti(BackColors32836, ForeColors32836); var dthens32836 = new Date(TargetDates32836); var dnows32836 = new Date("10/14/2025 7:45:49 PM"); if(CountSteppers32836>0) ddiffs32836 = new Date(dnows32836-dthens32836); else ddiffs32836 = new Date(dthens32836-dnows32836); gsecss32836 = Math.floor(ddiffs32836.valueOf()/1000); CountBacks32836(gsecss32836);