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 (LeadingZeros33767 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33767(secs) { if (secs < 0) { document.getElementById("cntdwns33767").innerHTML = FinishMessages33767; return; } DisplayStrs33767 = DisplayFormats33767.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33767 = DisplayStrs33767.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33767 = DisplayStrs33767.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33767 = DisplayStrs33767.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33767").innerHTML = DisplayStrs33767; if (CountActives33767) //alert(SetTimeOutPeriods33767); setTimeout("CountBacks33767(" + (secs+CountSteppers33767) + ")", SetTimeOutPeriods33767); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33767)=="undefined") BackColors33767 = ""; if (typeof(ForeColors33767)=="undefined") ForeColors33767= "white"; if (typeof(TargetDates33767)=="undefined") TargetDates33767 = "03/30/2026 10:00:00 PM"; if (typeof(DisplayFormats33767)=="undefined") DisplayFormats33767 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33767)=="undefined") CountActives33767 = true; if (typeof(FinishMessages33767)=="undefined") FinishMessages33767 = ""; if (typeof(CountSteppers33767)!="number") CountSteppers33767 = -1; if (typeof(LeadingZeros33767)=="undefined") LeadingZeros33767 = true; CountSteppers33767 = Math.ceil(CountSteppers33767); if (CountSteppers33767 == 0) CountActives33767 = false; var SetTimeOutPeriods33767 = (Math.abs(CountSteppers33767)-1)*1000 + 990; puti(BackColors33767, ForeColors33767); var dthens33767 = new Date(TargetDates33767); var dnows33767 = new Date("03/27/2026 2:30:44 PM"); if(CountSteppers33767>0) ddiffs33767 = new Date(dnows33767-dthens33767); else ddiffs33767 = new Date(dthens33767-dnows33767); gsecss33767 = Math.floor(ddiffs33767.valueOf()/1000); CountBacks33767(gsecss33767);