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 (LeadingZeros33958 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33958(secs) { if (secs < 0) { document.getElementById("cntdwns33958").innerHTML = FinishMessages33958; return; } DisplayStrs33958 = DisplayFormats33958.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33958 = DisplayStrs33958.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33958 = DisplayStrs33958.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33958 = DisplayStrs33958.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33958").innerHTML = DisplayStrs33958; if (CountActives33958) //alert(SetTimeOutPeriods33958); setTimeout("CountBacks33958(" + (secs+CountSteppers33958) + ")", SetTimeOutPeriods33958); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33958)=="undefined") BackColors33958 = ""; if (typeof(ForeColors33958)=="undefined") ForeColors33958= "white"; if (typeof(TargetDates33958)=="undefined") TargetDates33958 = "05/21/2026 11:00:00 PM"; if (typeof(DisplayFormats33958)=="undefined") DisplayFormats33958 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33958)=="undefined") CountActives33958 = true; if (typeof(FinishMessages33958)=="undefined") FinishMessages33958 = ""; if (typeof(CountSteppers33958)!="number") CountSteppers33958 = -1; if (typeof(LeadingZeros33958)=="undefined") LeadingZeros33958 = true; CountSteppers33958 = Math.ceil(CountSteppers33958); if (CountSteppers33958 == 0) CountActives33958 = false; var SetTimeOutPeriods33958 = (Math.abs(CountSteppers33958)-1)*1000 + 990; puti(BackColors33958, ForeColors33958); var dthens33958 = new Date(TargetDates33958); var dnows33958 = new Date("05/19/2026 3:49:11 PM"); if(CountSteppers33958>0) ddiffs33958 = new Date(dnows33958-dthens33958); else ddiffs33958 = new Date(dthens33958-dnows33958); gsecss33958 = Math.floor(ddiffs33958.valueOf()/1000); CountBacks33958(gsecss33958);