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 (LeadingZeros32894 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32894(secs) { if (secs < 0) { document.getElementById("cntdwns32894").innerHTML = FinishMessages32894; return; } DisplayStrs32894 = DisplayFormats32894.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32894 = DisplayStrs32894.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32894 = DisplayStrs32894.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32894 = DisplayStrs32894.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32894").innerHTML = DisplayStrs32894; if (CountActives32894) //alert(SetTimeOutPeriods32894); setTimeout("CountBacks32894(" + (secs+CountSteppers32894) + ")", SetTimeOutPeriods32894); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32894)=="undefined") BackColors32894 = ""; if (typeof(ForeColors32894)=="undefined") ForeColors32894= "white"; if (typeof(TargetDates32894)=="undefined") TargetDates32894 = "10/23/2025 10:00:00 PM"; if (typeof(DisplayFormats32894)=="undefined") DisplayFormats32894 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32894)=="undefined") CountActives32894 = true; if (typeof(FinishMessages32894)=="undefined") FinishMessages32894 = ""; if (typeof(CountSteppers32894)!="number") CountSteppers32894 = -1; if (typeof(LeadingZeros32894)=="undefined") LeadingZeros32894 = true; CountSteppers32894 = Math.ceil(CountSteppers32894); if (CountSteppers32894 == 0) CountActives32894 = false; var SetTimeOutPeriods32894 = (Math.abs(CountSteppers32894)-1)*1000 + 990; puti(BackColors32894, ForeColors32894); var dthens32894 = new Date(TargetDates32894); var dnows32894 = new Date("10/20/2025 1:58:28 PM"); if(CountSteppers32894>0) ddiffs32894 = new Date(dnows32894-dthens32894); else ddiffs32894 = new Date(dthens32894-dnows32894); gsecss32894 = Math.floor(ddiffs32894.valueOf()/1000); CountBacks32894(gsecss32894);