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 (LeadingZeros33973 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33973(secs) { if (secs < 0) { document.getElementById("cntdwns33973").innerHTML = FinishMessages33973; return; } DisplayStrs33973 = DisplayFormats33973.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33973 = DisplayStrs33973.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33973 = DisplayStrs33973.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33973 = DisplayStrs33973.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33973").innerHTML = DisplayStrs33973; if (CountActives33973) //alert(SetTimeOutPeriods33973); setTimeout("CountBacks33973(" + (secs+CountSteppers33973) + ")", SetTimeOutPeriods33973); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33973)=="undefined") BackColors33973 = ""; if (typeof(ForeColors33973)=="undefined") ForeColors33973= "white"; if (typeof(TargetDates33973)=="undefined") TargetDates33973 = "06/26/2026 10:00:00 PM"; if (typeof(DisplayFormats33973)=="undefined") DisplayFormats33973 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33973)=="undefined") CountActives33973 = true; if (typeof(FinishMessages33973)=="undefined") FinishMessages33973 = ""; if (typeof(CountSteppers33973)!="number") CountSteppers33973 = -1; if (typeof(LeadingZeros33973)=="undefined") LeadingZeros33973 = true; CountSteppers33973 = Math.ceil(CountSteppers33973); if (CountSteppers33973 == 0) CountActives33973 = false; var SetTimeOutPeriods33973 = (Math.abs(CountSteppers33973)-1)*1000 + 990; puti(BackColors33973, ForeColors33973); var dthens33973 = new Date(TargetDates33973); var dnows33973 = new Date("06/24/2026 3:59:29 PM"); if(CountSteppers33973>0) ddiffs33973 = new Date(dnows33973-dthens33973); else ddiffs33973 = new Date(dthens33973-dnows33973); gsecss33973 = Math.floor(ddiffs33973.valueOf()/1000); CountBacks33973(gsecss33973);