$(document).ready(function(){var a=!1,e=$(".navbar-right-block").width()+$(".navbar-left-block").width()+$(".navbar-brand").width()+30;$(window).on("resize",function(){n()});var n=function(){e<=$(window).width()?a&&a<=$(window).width()&&($("#navbar").addClass("navbar-collapse"),$("#navbar").removeClass("navbar-collapsed"),$("nav").removeClass("navbar-collapsed-before"),a=!1):($("#navbar").removeClass("navbar-collapse"),$("#navbar").addClass("navbar-collapsed"),$("nav").addClass("navbar-collapsed-before"),a=$(window).width())};$(window).width()>=768&&n()}),$(window).scroll(function(){$(document).scrollTop()>100?$(".not-auth nav").addClass("fixed"):$(".not-auth nav").removeClass("fixed")}),$("#ab").change(function(){$(".service-well, .service-well tbody tr").attr("visible","false"),$(this).find("option:selected").each(function(){var a=$(this).attr("value");a&&$('.service-well[data-category="'+a+'"], .service-well tbody tr[data-category="'+a+'"]').attr("visible","true")})});