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 (LeadingZeros33986 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33986(secs) { if (secs < 0) { document.getElementById("cntdwns33986").innerHTML = FinishMessages33986; return; } DisplayStrs33986 = DisplayFormats33986.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33986 = DisplayStrs33986.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33986 = DisplayStrs33986.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33986 = DisplayStrs33986.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33986").innerHTML = DisplayStrs33986; if (CountActives33986) //alert(SetTimeOutPeriods33986); setTimeout("CountBacks33986(" + (secs+CountSteppers33986) + ")", SetTimeOutPeriods33986); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33986)=="undefined") BackColors33986 = ""; if (typeof(ForeColors33986)=="undefined") ForeColors33986= "white"; if (typeof(TargetDates33986)=="undefined") TargetDates33986 = "07/16/2026 10:00:00 PM"; if (typeof(DisplayFormats33986)=="undefined") DisplayFormats33986 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33986)=="undefined") CountActives33986 = true; if (typeof(FinishMessages33986)=="undefined") FinishMessages33986 = ""; if (typeof(CountSteppers33986)!="number") CountSteppers33986 = -1; if (typeof(LeadingZeros33986)=="undefined") LeadingZeros33986 = true; CountSteppers33986 = Math.ceil(CountSteppers33986); if (CountSteppers33986 == 0) CountActives33986 = false; var SetTimeOutPeriods33986 = (Math.abs(CountSteppers33986)-1)*1000 + 990; puti(BackColors33986, ForeColors33986); var dthens33986 = new Date(TargetDates33986); var dnows33986 = new Date("07/13/2026 2:02:38 PM"); if(CountSteppers33986>0) ddiffs33986 = new Date(dnows33986-dthens33986); else ddiffs33986 = new Date(dthens33986-dnows33986); gsecss33986 = Math.floor(ddiffs33986.valueOf()/1000); CountBacks33986(gsecss33986);