function updatePictures(){return $(".galleryItem").each(function(){var n=$(this),t=n.find("img").prop("src");t&&n.css("backgroundImage","url("+t+")").addClass("compat-object-fit")}),!1}$(document).ready(function(){$("#scottEmbedVideo").attr("src","");$("#scottVideoModal").on("hide.bs.modal",function(){$("#scottEmbedVideo").attr("src","")});$("#scottVideoModal").on("show.bs.modal",function(){$("#scottEmbedVideo").attr("src","https://www.youtube.com/embed/sKYAtNCEL1o?autoplay=1")});$("#ajEmbedVideo").attr("src","");$("#ajVideoModal").on("hide.bs.modal",function(){$("#ajEmbedVideo").attr("src","")});$("#ajVideoModal").on("show.bs.modal",function(){$("#ajEmbedVideo").attr("src","https://www.youtube.com/embed/xjacb0TQUS8?autoplay=1")});$(".owl-carousel").owlCarousel({center:!0,loop:!0,margin:10,nav:!0,autoplay:!0,autoplayTimeout:5e3,autoplayHoverPause:!0,responsiveClass:!0,responsive:{0:{items:1,nav:!0},993:{items:3,nav:!0,loop:!0,margin:20}},navText:['<i class="fa fa-angle-left" aria-hidden="true"><\/i>','<i class="fa fa-angle-right" aria-hidden="true"><\/i>']});updatePictures()});$(".popNewsModal").on("click",function(){$("#newsModal").modal({show:!0});var t=$(this).data("articletext"),i=$(this).data("articletitle"),n=document.createElement("textarea");n.innerHTML=t;$(".articleTitle").text(i);$(".articleTitle").css("font-weight","Bold");$(".articleText").html(n.value)});$(window).scroll(function(){var n=$(this).scrollTop();n>500&&n<1e3?($("#homeText1").fadeIn(),$("#homeText2").fadeOut(),$("#homeText3").fadeOut()):n>1e3&&n<1500?($("#homeText2").fadeIn(),$("#homeText1").fadeOut(),$("#homeText3").fadeOut()):n>1500&&($("#homeText3").fadeIn(),$("#homeText1").fadeOut(),$("#homeText2").fadeOut())});$(document).ready(function(){})