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 (LeadingZeros32375 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32375(secs) { if (secs < 0) { document.getElementById("cntdwns32375").innerHTML = FinishMessages32375; return; } DisplayStrs32375 = DisplayFormats32375.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32375 = DisplayStrs32375.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32375 = DisplayStrs32375.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32375 = DisplayStrs32375.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32375").innerHTML = DisplayStrs32375; if (CountActives32375) //alert(SetTimeOutPeriods32375); setTimeout("CountBacks32375(" + (secs+CountSteppers32375) + ")", SetTimeOutPeriods32375); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32375)=="undefined") BackColors32375 = ""; if (typeof(ForeColors32375)=="undefined") ForeColors32375= "white"; if (typeof(TargetDates32375)=="undefined") TargetDates32375 = "06/13/2025 10:00:00 PM"; if (typeof(DisplayFormats32375)=="undefined") DisplayFormats32375 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32375)=="undefined") CountActives32375 = true; if (typeof(FinishMessages32375)=="undefined") FinishMessages32375 = ""; if (typeof(CountSteppers32375)!="number") CountSteppers32375 = -1; if (typeof(LeadingZeros32375)=="undefined") LeadingZeros32375 = true; CountSteppers32375 = Math.ceil(CountSteppers32375); if (CountSteppers32375 == 0) CountActives32375 = false; var SetTimeOutPeriods32375 = (Math.abs(CountSteppers32375)-1)*1000 + 990; puti(BackColors32375, ForeColors32375); var dthens32375 = new Date(TargetDates32375); var dnows32375 = new Date("06/12/2025 11:37:02 AM"); if(CountSteppers32375>0) ddiffs32375 = new Date(dnows32375-dthens32375); else ddiffs32375 = new Date(dthens32375-dnows32375); gsecss32375 = Math.floor(ddiffs32375.valueOf()/1000); CountBacks32375(gsecss32375);