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 (LeadingZeros33974 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33974(secs) { if (secs < 0) { document.getElementById("cntdwns33974").innerHTML = FinishMessages33974; return; } DisplayStrs33974 = DisplayFormats33974.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33974 = DisplayStrs33974.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33974 = DisplayStrs33974.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33974 = DisplayStrs33974.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33974").innerHTML = DisplayStrs33974; if (CountActives33974) //alert(SetTimeOutPeriods33974); setTimeout("CountBacks33974(" + (secs+CountSteppers33974) + ")", SetTimeOutPeriods33974); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33974)=="undefined") BackColors33974 = ""; if (typeof(ForeColors33974)=="undefined") ForeColors33974= "white"; if (typeof(TargetDates33974)=="undefined") TargetDates33974 = "06/26/2026 10:00:00 PM"; if (typeof(DisplayFormats33974)=="undefined") DisplayFormats33974 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33974)=="undefined") CountActives33974 = true; if (typeof(FinishMessages33974)=="undefined") FinishMessages33974 = ""; if (typeof(CountSteppers33974)!="number") CountSteppers33974 = -1; if (typeof(LeadingZeros33974)=="undefined") LeadingZeros33974 = true; CountSteppers33974 = Math.ceil(CountSteppers33974); if (CountSteppers33974 == 0) CountActives33974 = false; var SetTimeOutPeriods33974 = (Math.abs(CountSteppers33974)-1)*1000 + 990; puti(BackColors33974, ForeColors33974); var dthens33974 = new Date(TargetDates33974); var dnows33974 = new Date("06/24/2026 3:59:29 PM"); if(CountSteppers33974>0) ddiffs33974 = new Date(dnows33974-dthens33974); else ddiffs33974 = new Date(dthens33974-dnows33974); gsecss33974 = Math.floor(ddiffs33974.valueOf()/1000); CountBacks33974(gsecss33974);