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 (LeadingZeros33995 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33995(secs) { if (secs < 0) { document.getElementById("cntdwns33995").innerHTML = FinishMessages33995; return; } DisplayStrs33995 = DisplayFormats33995.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33995 = DisplayStrs33995.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33995 = DisplayStrs33995.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33995 = DisplayStrs33995.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33995").innerHTML = DisplayStrs33995; if (CountActives33995) //alert(SetTimeOutPeriods33995); setTimeout("CountBacks33995(" + (secs+CountSteppers33995) + ")", SetTimeOutPeriods33995); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33995)=="undefined") BackColors33995 = ""; if (typeof(ForeColors33995)=="undefined") ForeColors33995= "white"; if (typeof(TargetDates33995)=="undefined") TargetDates33995 = "06/16/2026 10:00:00 PM"; if (typeof(DisplayFormats33995)=="undefined") DisplayFormats33995 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33995)=="undefined") CountActives33995 = true; if (typeof(FinishMessages33995)=="undefined") FinishMessages33995 = ""; if (typeof(CountSteppers33995)!="number") CountSteppers33995 = -1; if (typeof(LeadingZeros33995)=="undefined") LeadingZeros33995 = true; CountSteppers33995 = Math.ceil(CountSteppers33995); if (CountSteppers33995 == 0) CountActives33995 = false; var SetTimeOutPeriods33995 = (Math.abs(CountSteppers33995)-1)*1000 + 990; puti(BackColors33995, ForeColors33995); var dthens33995 = new Date(TargetDates33995); var dnows33995 = new Date("06/27/2026 11:01:05 AM"); if(CountSteppers33995>0) ddiffs33995 = new Date(dnows33995-dthens33995); else ddiffs33995 = new Date(dthens33995-dnows33995); gsecss33995 = Math.floor(ddiffs33995.valueOf()/1000); CountBacks33995(gsecss33995);