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 (LeadingZeros33997 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33997(secs) { if (secs < 0) { document.getElementById("cntdwns33997").innerHTML = FinishMessages33997; return; } DisplayStrs33997 = DisplayFormats33997.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33997 = DisplayStrs33997.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33997 = DisplayStrs33997.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33997 = DisplayStrs33997.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33997").innerHTML = DisplayStrs33997; if (CountActives33997) //alert(SetTimeOutPeriods33997); setTimeout("CountBacks33997(" + (secs+CountSteppers33997) + ")", SetTimeOutPeriods33997); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33997)=="undefined") BackColors33997 = ""; if (typeof(ForeColors33997)=="undefined") ForeColors33997= "white"; if (typeof(TargetDates33997)=="undefined") TargetDates33997 = "06/16/2026 10:00:00 PM"; if (typeof(DisplayFormats33997)=="undefined") DisplayFormats33997 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33997)=="undefined") CountActives33997 = true; if (typeof(FinishMessages33997)=="undefined") FinishMessages33997 = ""; if (typeof(CountSteppers33997)!="number") CountSteppers33997 = -1; if (typeof(LeadingZeros33997)=="undefined") LeadingZeros33997 = true; CountSteppers33997 = Math.ceil(CountSteppers33997); if (CountSteppers33997 == 0) CountActives33997 = false; var SetTimeOutPeriods33997 = (Math.abs(CountSteppers33997)-1)*1000 + 990; puti(BackColors33997, ForeColors33997); var dthens33997 = new Date(TargetDates33997); var dnows33997 = new Date("06/27/2026 11:01:00 AM"); if(CountSteppers33997>0) ddiffs33997 = new Date(dnows33997-dthens33997); else ddiffs33997 = new Date(dthens33997-dnows33997); gsecss33997 = Math.floor(ddiffs33997.valueOf()/1000); CountBacks33997(gsecss33997);