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 (LeadingZeros33985 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33985(secs) { if (secs < 0) { document.getElementById("cntdwns33985").innerHTML = FinishMessages33985; return; } DisplayStrs33985 = DisplayFormats33985.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33985 = DisplayStrs33985.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33985 = DisplayStrs33985.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33985 = DisplayStrs33985.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33985").innerHTML = DisplayStrs33985; if (CountActives33985) //alert(SetTimeOutPeriods33985); setTimeout("CountBacks33985(" + (secs+CountSteppers33985) + ")", SetTimeOutPeriods33985); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33985)=="undefined") BackColors33985 = ""; if (typeof(ForeColors33985)=="undefined") ForeColors33985= "white"; if (typeof(TargetDates33985)=="undefined") TargetDates33985 = "06/08/2026 7:00:00 AM"; if (typeof(DisplayFormats33985)=="undefined") DisplayFormats33985 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33985)=="undefined") CountActives33985 = true; if (typeof(FinishMessages33985)=="undefined") FinishMessages33985 = ""; if (typeof(CountSteppers33985)!="number") CountSteppers33985 = -1; if (typeof(LeadingZeros33985)=="undefined") LeadingZeros33985 = true; CountSteppers33985 = Math.ceil(CountSteppers33985); if (CountSteppers33985 == 0) CountActives33985 = false; var SetTimeOutPeriods33985 = (Math.abs(CountSteppers33985)-1)*1000 + 990; puti(BackColors33985, ForeColors33985); var dthens33985 = new Date(TargetDates33985); var dnows33985 = new Date("06/05/2026 4:51:00 PM"); if(CountSteppers33985>0) ddiffs33985 = new Date(dnows33985-dthens33985); else ddiffs33985 = new Date(dthens33985-dnows33985); gsecss33985 = Math.floor(ddiffs33985.valueOf()/1000); CountBacks33985(gsecss33985);