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 (LeadingZeros33952 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33952(secs) { if (secs < 0) { document.getElementById("cntdwns33952").innerHTML = FinishMessages33952; return; } DisplayStrs33952 = DisplayFormats33952.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33952 = DisplayStrs33952.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33952 = DisplayStrs33952.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33952 = DisplayStrs33952.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33952").innerHTML = DisplayStrs33952; if (CountActives33952) //alert(SetTimeOutPeriods33952); setTimeout("CountBacks33952(" + (secs+CountSteppers33952) + ")", SetTimeOutPeriods33952); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33952)=="undefined") BackColors33952 = ""; if (typeof(ForeColors33952)=="undefined") ForeColors33952= "white"; if (typeof(TargetDates33952)=="undefined") TargetDates33952 = "06/19/2026 11:00:00 PM"; if (typeof(DisplayFormats33952)=="undefined") DisplayFormats33952 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33952)=="undefined") CountActives33952 = true; if (typeof(FinishMessages33952)=="undefined") FinishMessages33952 = ""; if (typeof(CountSteppers33952)!="number") CountSteppers33952 = -1; if (typeof(LeadingZeros33952)=="undefined") LeadingZeros33952 = true; CountSteppers33952 = Math.ceil(CountSteppers33952); if (CountSteppers33952 == 0) CountActives33952 = false; var SetTimeOutPeriods33952 = (Math.abs(CountSteppers33952)-1)*1000 + 990; puti(BackColors33952, ForeColors33952); var dthens33952 = new Date(TargetDates33952); var dnows33952 = new Date("06/17/2026 7:39:53 AM"); if(CountSteppers33952>0) ddiffs33952 = new Date(dnows33952-dthens33952); else ddiffs33952 = new Date(dthens33952-dnows33952); gsecss33952 = Math.floor(ddiffs33952.valueOf()/1000); CountBacks33952(gsecss33952);