function GetParam(){var n="",t=document.getElementById("gQuery");return t&&(n=t.value),n?decodeURIComponent(n):null}function afsPgOpts(n,t){this.pubId="pub-4113849322810730";this.query=GetParam();this.channel=n;this.location=!1;this.siteLinks=!1;this.hl="en";this.linkTarget="_blank";t>0&&(this.numRepeated=t)}function afsAdUnit(n,t){this.container=n;this.fontSizeTitle=16;this.fontSizeDescription=14;this.fontSizeDomainLink=14;this.colorTitleLink="#2E5880";this.colorDomainLink="#777";this.titleBold=!0;t&&(this.longerHeadlines=!0);this.detailedAttribution=!1;this.rolloverLinkColor="#2E5880";this.rolloverLinkUnderline=!0;this.rolloverAdBackgroundColor="#E9EDF1"}function google_afs_show(){var r=new afsPgOpts(google_afs_channel,0),s=new afsPgOpts("6426272378",2),h=new afsPgOpts("2871963246",0),t=new afsAdUnit("w_a_u",!0),n,i;t.maxTop="3";n=new afsAdUnit("n_a_u",!1);n.number="5";n.width="280px";i=new afsAdUnit("w_a_u2",!0);i.number="2";var u=document.getElementById("w_a_u"),f=document.getElementById("w_a_u2"),e=document.getElementById("n_a_u"),o=-1;if(google_afs_channel=="5638673757"&&(o=1),u)if(u.style.display="",e&&(e.style.display=""),f){f.style.display="";switch(o){case 1:_googCsa("ads",s,t,i,n);break;case 0:_googCsa("ads",h,t,n,i);break;default:_googCsa("ads",r,t,n,i)}}else _googCsa("ads",r,t,n)}function expandViewMoreCategories(){$("div#viewMoreCategoriesBtn").hide();$("div#viewMoreCategories").show()}function collapseViewMoreCategories(){$("div#viewMoreCategoriesBtn").show();$("div#viewMoreCategories").hide()}function expandSearch(){$("div#searchBtn").hide();$("div#searchPanel").show()}function closeSearch(){$("div#searchBtn").show();$("div#searchPanel").hide()}function expandViewMoredescrFull(){$("div#descrSummary").hide();$("div#descrFull").show()}function expandViewMoredescrFullMobile(){$("div#descrSummaryMob").hide();$("div#descrFullMob").show()}!function(n){"use strict";function t(n){return"[data-value"+(n?"="+n:"")+"]"}function r(n,t,i){var r=i.activeIcon,u=i.inactiveIcon;n.removeClass(t?u:r).addClass(t?r:u)}function h(t,i){var r=n.extend({},o,t.data(),i);return r.inline=""===r.inline||r.inline,r.readonly=""===r.readonly||r.readonly,r.clearableLabel=r.clearable===!1?"":r.clearable,r.clearable=""===r.clearable||r.clearable,r}function c(t,i){var r,u;for(r=i.inline?n('<span class="rating-input"><\/span>'):n('<div class="rating-input"><\/div>'),r.addClass(t.attr("class")),r.removeClass("rating"),u=i.min;u<=i.max;u++)r.append('<i class="'+i.iconLib+'" data-value="'+u+'"><\/i>');return i.clearable&&!i.readonly&&r.append("&nbsp;").append('<a class="'+e+'"><i class="'+i.iconLib+" "+i.clearableIcon+'"/>'+i.clearableLabel+"<\/a>"),r}var e="rating-clear",u="."+e,f="hidden",o={min:1,max:5,"empty-value":0,iconLib:"glyphicon",activeIcon:"glyphicon-star",inactiveIcon:"glyphicon-star-empty",clearable:!1,clearableIcon:"glyphicon-remove",inline:!1,readonly:!1},i=function(n,t){var i=this.$input=n,r;this.options=h(i,t);r=this.$el=c(i,this.options);i.addClass(f).before(r);i.attr("type","hidden");this.highlight(i.val())},s;i.VERSION="0.4.0";i.DEFAULTS=o;i.prototype={clear:function(){this.setValue(this.options["empty-value"])},setValue:function(n){this.highlight(n);this.updateInput(n)},highlight:function(n,i){var o=this.options,e=this.$el,s;n>=this.options.min&&n<=this.options.max?(s=e.find(t(n)),r(s.prevAll("i").andSelf(),!0,o),r(s.nextAll("i"),!1,o)):r(e.find(t()),!1,o);i||(n&&n!=this.options["empty-value"]?e.find(u).removeClass(f):e.find(u).addClass(f))},updateInput:function(n){var t=this.$input;t.val()!=n&&t.val(n).change()}};s=n.fn.rating=function(r){return this.filter("input[type=number]").each(function(){var e=n(this),o="object"==typeof r&&r||{},f=new i(e,o);f.options.readonly||f.$el.on("mouseenter",t(),function(){f.highlight(n(this).data("value"),!0)}).on("mouseleave",t(),function(){f.highlight(e.val(),!0)}).on("click",t(),function(){f.setValue(n(this).data("value"))}).on("click",u,function(){f.clear()})})};s.Constructor=i;n(function(){n("input.rating[type=number]").each(function(){n(this).rating()})})}(jQuery);$(document).ready(function(){if($("#footer").length>0){var n=$(window).height(),i=$("#footer").height(),t=$("#footer").position().top+i;t<n&&$("#footer").css("margin-top",15+(n-t)+"px")}$("[data-toggle=offcanvas]").click(function(){$(".row-offcanvas").toggleClass("active")});window.location.href.includes("directory")&&expandViewMoreCategories();$(".clickable-row").click(function(){window.document.location=$(this).data("href")});$("input#whatTerm").autocomplete({source:function(n,t){$.getJSON("/Service/WhatAutoComplete",{whatQ:n.term},function(n){t($.map(n,function(n){return{label:n.Item,value:n.Item}}))})}});$("input#whereTerm").autocomplete({source:function(n,t){$.getJSON("/Service/WhereAutoComplete",{whereQ:n.term},function(n){t($.map(n,function(n){return{label:n.location,value:n.location}}))})}})})