$(document).ready(function(){$('a[data-toggle="tab"]').on("click",function(){history.pushState(null,null,$(this).attr("href"))});window.addEventListener("popstate",function(){var n=$("[href="+location.hash+"]");n.length?n.tab("show"):$(".nav-tabs a:first").tab("show")});$("ul.dropdown-menu [data-toggle=subdropdown]").on("click",function(n){n.preventDefault();n.stopPropagation();$("ul.dropdown-menu [data-toggle=dropdown]").parent().removeClass("open");$(this).parent().addClass("open")})});$(window).load(function(){$("a.smooth").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")||location.hostname==this.hostname){var n=$(this.hash);if(n=n.length?n:$("[name="+this.hash.slice(1)+"]"),n.length)return $("html,body").animate({scrollTop:n.offset().top},1e3),!1}})});$(".carousel-inner").cycle({fx:"scrollUp",timeout:7e3,speed:"fast",slideResize:!1,containerResize:!1,clip:"l2r",prev:"#cycle_prev",next:"#cycle_next",pager:"#slideshowcontrols"});
/*
//# sourceMappingURL=template-footer.min.js.map
*/