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 (LeadingZeros32372 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32372(secs) { if (secs < 0) { document.getElementById("cntdwns32372").innerHTML = FinishMessages32372; return; } DisplayStrs32372 = DisplayFormats32372.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32372 = DisplayStrs32372.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32372 = DisplayStrs32372.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32372 = DisplayStrs32372.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32372").innerHTML = DisplayStrs32372; if (CountActives32372) //alert(SetTimeOutPeriods32372); setTimeout("CountBacks32372(" + (secs+CountSteppers32372) + ")", SetTimeOutPeriods32372); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32372)=="undefined") BackColors32372 = ""; if (typeof(ForeColors32372)=="undefined") ForeColors32372= "white"; if (typeof(TargetDates32372)=="undefined") TargetDates32372 = "10/27/2025 9:00:00 PM"; if (typeof(DisplayFormats32372)=="undefined") DisplayFormats32372 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32372)=="undefined") CountActives32372 = true; if (typeof(FinishMessages32372)=="undefined") FinishMessages32372 = ""; if (typeof(CountSteppers32372)!="number") CountSteppers32372 = -1; if (typeof(LeadingZeros32372)=="undefined") LeadingZeros32372 = true; CountSteppers32372 = Math.ceil(CountSteppers32372); if (CountSteppers32372 == 0) CountActives32372 = false; var SetTimeOutPeriods32372 = (Math.abs(CountSteppers32372)-1)*1000 + 990; puti(BackColors32372, ForeColors32372); var dthens32372 = new Date(TargetDates32372); var dnows32372 = new Date("10/25/2025 2:36:49 PM"); if(CountSteppers32372>0) ddiffs32372 = new Date(dnows32372-dthens32372); else ddiffs32372 = new Date(dthens32372-dnows32372); gsecss32372 = Math.floor(ddiffs32372.valueOf()/1000); CountBacks32372(gsecss32372);