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 (LeadingZeros32692 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32692(secs) { if (secs < 0) { document.getElementById("cntdwns32692").innerHTML = FinishMessages32692; return; } DisplayStrs32692 = DisplayFormats32692.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32692 = DisplayStrs32692.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32692 = DisplayStrs32692.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32692 = DisplayStrs32692.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32692").innerHTML = DisplayStrs32692; if (CountActives32692) //alert(SetTimeOutPeriods32692); setTimeout("CountBacks32692(" + (secs+CountSteppers32692) + ")", SetTimeOutPeriods32692); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32692)=="undefined") BackColors32692 = ""; if (typeof(ForeColors32692)=="undefined") ForeColors32692= "white"; if (typeof(TargetDates32692)=="undefined") TargetDates32692 = "08/23/2025 10:00:00 PM"; if (typeof(DisplayFormats32692)=="undefined") DisplayFormats32692 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32692)=="undefined") CountActives32692 = true; if (typeof(FinishMessages32692)=="undefined") FinishMessages32692 = ""; if (typeof(CountSteppers32692)!="number") CountSteppers32692 = -1; if (typeof(LeadingZeros32692)=="undefined") LeadingZeros32692 = true; CountSteppers32692 = Math.ceil(CountSteppers32692); if (CountSteppers32692 == 0) CountActives32692 = false; var SetTimeOutPeriods32692 = (Math.abs(CountSteppers32692)-1)*1000 + 990; puti(BackColors32692, ForeColors32692); var dthens32692 = new Date(TargetDates32692); var dnows32692 = new Date("08/21/2025 8:14:03 AM"); if(CountSteppers32692>0) ddiffs32692 = new Date(dnows32692-dthens32692); else ddiffs32692 = new Date(dthens32692-dnows32692); gsecss32692 = Math.floor(ddiffs32692.valueOf()/1000); CountBacks32692(gsecss32692);