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 (LeadingZeros32396 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks32396(secs) { if (secs < 0) { document.getElementById("cntdwns32396").innerHTML = FinishMessages32396; return; } DisplayStrs32396 = DisplayFormats32396.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs32396 = DisplayStrs32396.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs32396 = DisplayStrs32396.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs32396 = DisplayStrs32396.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns32396").innerHTML = DisplayStrs32396; if (CountActives32396) //alert(SetTimeOutPeriods32396); setTimeout("CountBacks32396(" + (secs+CountSteppers32396) + ")", SetTimeOutPeriods32396); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors32396)=="undefined") BackColors32396 = ""; if (typeof(ForeColors32396)=="undefined") ForeColors32396= "white"; if (typeof(TargetDates32396)=="undefined") TargetDates32396 = "06/21/2025 10:00:00 PM"; if (typeof(DisplayFormats32396)=="undefined") DisplayFormats32396 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives32396)=="undefined") CountActives32396 = true; if (typeof(FinishMessages32396)=="undefined") FinishMessages32396 = ""; if (typeof(CountSteppers32396)!="number") CountSteppers32396 = -1; if (typeof(LeadingZeros32396)=="undefined") LeadingZeros32396 = true; CountSteppers32396 = Math.ceil(CountSteppers32396); if (CountSteppers32396 == 0) CountActives32396 = false; var SetTimeOutPeriods32396 = (Math.abs(CountSteppers32396)-1)*1000 + 990; puti(BackColors32396, ForeColors32396); var dthens32396 = new Date(TargetDates32396); var dnows32396 = new Date("06/19/2025 1:15:03 AM"); if(CountSteppers32396>0) ddiffs32396 = new Date(dnows32396-dthens32396); else ddiffs32396 = new Date(dthens32396-dnows32396); gsecss32396 = Math.floor(ddiffs32396.valueOf()/1000); CountBacks32396(gsecss32396);