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 (LeadingZeros32293 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32293(secs) { if (secs < 0) { document.getElementById("cntdwns32293").innerHTML = FinishMessages32293; return; } DisplayStrs32293 = DisplayFormats32293.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32293 = DisplayStrs32293.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32293 = DisplayStrs32293.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32293 = DisplayStrs32293.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32293").innerHTML = DisplayStrs32293; if (CountActives32293) //alert(SetTimeOutPeriods32293); setTimeout("CountBacks32293(" + (secs+CountSteppers32293) + ")", SetTimeOutPeriods32293); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32293)=="undefined") BackColors32293 = ""; if (typeof(ForeColors32293)=="undefined") ForeColors32293= "white"; if (typeof(TargetDates32293)=="undefined") TargetDates32293 = "10/27/2025 9:00:00 PM"; if (typeof(DisplayFormats32293)=="undefined") DisplayFormats32293 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32293)=="undefined") CountActives32293 = true; if (typeof(FinishMessages32293)=="undefined") FinishMessages32293 = ""; if (typeof(CountSteppers32293)!="number") CountSteppers32293 = -1; if (typeof(LeadingZeros32293)=="undefined") LeadingZeros32293 = true; CountSteppers32293 = Math.ceil(CountSteppers32293); if (CountSteppers32293 == 0) CountActives32293 = false; var SetTimeOutPeriods32293 = (Math.abs(CountSteppers32293)-1)*1000 + 990; puti(BackColors32293, ForeColors32293); var dthens32293 = new Date(TargetDates32293); var dnows32293 = new Date("10/25/2025 6:48:34 PM"); if(CountSteppers32293>0) ddiffs32293 = new Date(dnows32293-dthens32293); else ddiffs32293 = new Date(dthens32293-dnows32293); gsecss32293 = Math.floor(ddiffs32293.valueOf()/1000); CountBacks32293(gsecss32293);