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 (LeadingZeros33978 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33978(secs) { if (secs < 0) { document.getElementById("cntdwns33978").innerHTML = FinishMessages33978; return; } DisplayStrs33978 = DisplayFormats33978.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33978 = DisplayStrs33978.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33978 = DisplayStrs33978.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33978 = DisplayStrs33978.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33978").innerHTML = DisplayStrs33978; if (CountActives33978) //alert(SetTimeOutPeriods33978); setTimeout("CountBacks33978(" + (secs+CountSteppers33978) + ")", SetTimeOutPeriods33978); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33978)=="undefined") BackColors33978 = ""; if (typeof(ForeColors33978)=="undefined") ForeColors33978= "white"; if (typeof(TargetDates33978)=="undefined") TargetDates33978 = "06/18/2026 11:00:00 PM"; if (typeof(DisplayFormats33978)=="undefined") DisplayFormats33978 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33978)=="undefined") CountActives33978 = true; if (typeof(FinishMessages33978)=="undefined") FinishMessages33978 = ""; if (typeof(CountSteppers33978)!="number") CountSteppers33978 = -1; if (typeof(LeadingZeros33978)=="undefined") LeadingZeros33978 = true; CountSteppers33978 = Math.ceil(CountSteppers33978); if (CountSteppers33978 == 0) CountActives33978 = false; var SetTimeOutPeriods33978 = (Math.abs(CountSteppers33978)-1)*1000 + 990; puti(BackColors33978, ForeColors33978); var dthens33978 = new Date(TargetDates33978); var dnows33978 = new Date("06/16/2026 12:34:41 PM"); if(CountSteppers33978>0) ddiffs33978 = new Date(dnows33978-dthens33978); else ddiffs33978 = new Date(dthens33978-dnows33978); gsecss33978 = Math.floor(ddiffs33978.valueOf()/1000); CountBacks33978(gsecss33978);