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 (LeadingZeros33956 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33956(secs) { if (secs < 0) { document.getElementById("cntdwns33956").innerHTML = FinishMessages33956; return; } DisplayStrs33956 = DisplayFormats33956.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33956 = DisplayStrs33956.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33956 = DisplayStrs33956.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33956 = DisplayStrs33956.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33956").innerHTML = DisplayStrs33956; if (CountActives33956) //alert(SetTimeOutPeriods33956); setTimeout("CountBacks33956(" + (secs+CountSteppers33956) + ")", SetTimeOutPeriods33956); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33956)=="undefined") BackColors33956 = ""; if (typeof(ForeColors33956)=="undefined") ForeColors33956= "white"; if (typeof(TargetDates33956)=="undefined") TargetDates33956 = "06/19/2026 11:00:00 PM"; if (typeof(DisplayFormats33956)=="undefined") DisplayFormats33956 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33956)=="undefined") CountActives33956 = true; if (typeof(FinishMessages33956)=="undefined") FinishMessages33956 = ""; if (typeof(CountSteppers33956)!="number") CountSteppers33956 = -1; if (typeof(LeadingZeros33956)=="undefined") LeadingZeros33956 = true; CountSteppers33956 = Math.ceil(CountSteppers33956); if (CountSteppers33956 == 0) CountActives33956 = false; var SetTimeOutPeriods33956 = (Math.abs(CountSteppers33956)-1)*1000 + 990; puti(BackColors33956, ForeColors33956); var dthens33956 = new Date(TargetDates33956); var dnows33956 = new Date("06/17/2026 3:18:02 PM"); if(CountSteppers33956>0) ddiffs33956 = new Date(dnows33956-dthens33956); else ddiffs33956 = new Date(dthens33956-dnows33956); gsecss33956 = Math.floor(ddiffs33956.valueOf()/1000); CountBacks33956(gsecss33956);