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 (LeadingZeros33996 && s.length < 2) s = "0" + s; if (seconds == 1) { var classString = "count-seconds"; } else { var classString = ""; } return "" + s + ""; } function CountBacks33996(secs) { if (secs < 0) { document.getElementById("cntdwns33996").innerHTML = FinishMessages33996; return; } DisplayStrs33996 = DisplayFormats33996.replace(/%%D%%/g, calcage(secs,86400,100000,0)); DisplayStrs33996 = DisplayStrs33996.replace(/%%H%%/g, calcage(secs,3600,24,1)); DisplayStrs33996 = DisplayStrs33996.replace(/%%M%%/g, calcage(secs,60,60,0)); DisplayStrs33996 = DisplayStrs33996.replace(/%%S%%/g, calcage(secs,1,60,0,1)); document.getElementById("cntdwns33996").innerHTML = DisplayStrs33996; if (CountActives33996) //alert(SetTimeOutPeriods33996); setTimeout("CountBacks33996(" + (secs+CountSteppers33996) + ")", SetTimeOutPeriods33996); } function puti(backcolor, forecolor) { document.write("
"); } if (typeof(BackColors33996)=="undefined") BackColors33996 = ""; if (typeof(ForeColors33996)=="undefined") ForeColors33996= "white"; if (typeof(TargetDates33996)=="undefined") TargetDates33996 = "07/12/2026 11:00:00 PM"; if (typeof(DisplayFormats33996)=="undefined") DisplayFormats33996 = " %%H%%:%%M%%:%%S%%"; if (typeof(CountActives33996)=="undefined") CountActives33996 = true; if (typeof(FinishMessages33996)=="undefined") FinishMessages33996 = ""; if (typeof(CountSteppers33996)!="number") CountSteppers33996 = -1; if (typeof(LeadingZeros33996)=="undefined") LeadingZeros33996 = true; CountSteppers33996 = Math.ceil(CountSteppers33996); if (CountSteppers33996 == 0) CountActives33996 = false; var SetTimeOutPeriods33996 = (Math.abs(CountSteppers33996)-1)*1000 + 990; puti(BackColors33996, ForeColors33996); var dthens33996 = new Date(TargetDates33996); var dnows33996 = new Date("07/09/2026 11:40:27 PM"); if(CountSteppers33996>0) ddiffs33996 = new Date(dnows33996-dthens33996); else ddiffs33996 = new Date(dthens33996-dnows33996); gsecss33996 = Math.floor(ddiffs33996.valueOf()/1000); CountBacks33996(gsecss33996);