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 (LeadingZeros33957 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33957(secs) { if (secs < 0) { document.getElementById("cntdwns33957").innerHTML = FinishMessages33957; return; } DisplayStrs33957 = DisplayFormats33957.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33957 = DisplayStrs33957.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33957 = DisplayStrs33957.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33957 = DisplayStrs33957.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33957").innerHTML = DisplayStrs33957; if (CountActives33957) //alert(SetTimeOutPeriods33957); setTimeout("CountBacks33957(" + (secs+CountSteppers33957) + ")", SetTimeOutPeriods33957); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33957)=="undefined") BackColors33957 = ""; if (typeof(ForeColors33957)=="undefined") ForeColors33957= "white"; if (typeof(TargetDates33957)=="undefined") TargetDates33957 = "06/19/2026 11:00:00 PM"; if (typeof(DisplayFormats33957)=="undefined") DisplayFormats33957 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33957)=="undefined") CountActives33957 = true; if (typeof(FinishMessages33957)=="undefined") FinishMessages33957 = ""; if (typeof(CountSteppers33957)!="number") CountSteppers33957 = -1; if (typeof(LeadingZeros33957)=="undefined") LeadingZeros33957 = true; CountSteppers33957 = Math.ceil(CountSteppers33957); if (CountSteppers33957 == 0) CountActives33957 = false; var SetTimeOutPeriods33957 = (Math.abs(CountSteppers33957)-1)*1000 + 990; puti(BackColors33957, ForeColors33957); var dthens33957 = new Date(TargetDates33957); var dnows33957 = new Date("06/17/2026 3:11:49 PM"); if(CountSteppers33957>0) ddiffs33957 = new Date(dnows33957-dthens33957); else ddiffs33957 = new Date(dthens33957-dnows33957); gsecss33957 = Math.floor(ddiffs33957.valueOf()/1000); CountBacks33957(gsecss33957);