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 (LeadingZeros33959 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33959(secs) { if (secs < 0) { document.getElementById("cntdwns33959").innerHTML = FinishMessages33959; return; } DisplayStrs33959 = DisplayFormats33959.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33959 = DisplayStrs33959.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33959 = DisplayStrs33959.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33959 = DisplayStrs33959.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33959").innerHTML = DisplayStrs33959; if (CountActives33959) //alert(SetTimeOutPeriods33959); setTimeout("CountBacks33959(" + (secs+CountSteppers33959) + ")", SetTimeOutPeriods33959); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33959)=="undefined") BackColors33959 = ""; if (typeof(ForeColors33959)=="undefined") ForeColors33959= "white"; if (typeof(TargetDates33959)=="undefined") TargetDates33959 = "06/17/2026 10:00:00 PM"; if (typeof(DisplayFormats33959)=="undefined") DisplayFormats33959 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33959)=="undefined") CountActives33959 = true; if (typeof(FinishMessages33959)=="undefined") FinishMessages33959 = ""; if (typeof(CountSteppers33959)!="number") CountSteppers33959 = -1; if (typeof(LeadingZeros33959)=="undefined") LeadingZeros33959 = true; CountSteppers33959 = Math.ceil(CountSteppers33959); if (CountSteppers33959 == 0) CountActives33959 = false; var SetTimeOutPeriods33959 = (Math.abs(CountSteppers33959)-1)*1000 + 990; puti(BackColors33959, ForeColors33959); var dthens33959 = new Date(TargetDates33959); var dnows33959 = new Date("06/14/2026 8:27:45 PM"); if(CountSteppers33959>0) ddiffs33959 = new Date(dnows33959-dthens33959); else ddiffs33959 = new Date(dthens33959-dnows33959); gsecss33959 = Math.floor(ddiffs33959.valueOf()/1000); CountBacks33959(gsecss33959);