function captchaCallbackFunction(n,t){nativeAppProxyEx.IsInNativeApp()||(t!=""&&window[t]==undefined&&$("#"+n).length&&(window[t]=grecaptcha.render(n,{sitekey:"6Lcqs9ESAAAAAPEpodHxOQ70PKVwRyL8U3YG07t9",callback:function(n){msgToBusinessReCaptchaToken=n}})),grecaptcha.reset(window[t]))}function copyToClipboard(n){var o=/Android/i.test(navigator.userAgent)?!0:!1,e=/iPad|iPhone|iPod/.test(navigator.platform||""),t,u,f,i,r;$(n).addClass("active");value=$(n).data("clipboard-text");t=$("<input>");t.attr("readonly",!0);t.val(value);isMobile&&e?(u=t[0].contentEditable,f=t[0].readOnly,t[0].contentEditable=!0,t[0].readOnly=!1,$(n).parent().append(t),i=document.createRange(),r=window.getSelection(),i.selectNodeContents(t[0]),r.removeAllRanges(),r.addRange(i),t[0].setSelectionRange(0,999999),t[0].contentEditable=u,t[0].readOnly=f):($("body").append(t),t.select());document.execCommand("copy");t.remove();setTimeout(()=>{$(n).removeClass("active")},1e3)}function copyToClipboardAnimation(n){$(n).addClass("active");setTimeout(()=>{$(n).removeClass("active")},1e3)}function fixScrollButton(n){var r,t,i;isMobile===!1&&($(".scrolltoTop").click(()=>{$("html, body").stop().animate({scrollTop:0},700)}),r=$(".scroll-top-align")[0],r?(t={position:"absolute"},i={position:"relative"},t.right="270px",t.bottom=0,t.left="45px",i.right="unset",i.bottom="24px"):(t={position:"absolute"},i={position:"fixed"},t.bottom="-30px",i.left=$(".container").width()+($(n).width()-$(".container").width())/2-90+"px",t.left=$(".container").width()-90+"px",i.bottom="24px"),$(window).scroll(function(){$(window).scrollTop()<$(n).offset().top?$(".scrolltoTop").hide():$(".scrolltoTop").show();$(window).scrollTop()>$(n).offset().top&&$(window).scrollTop()<$(".preFooter").offset().top-$(window).outerHeight()-80?$(".scrolltoTop").css(i):$(".scrolltoTop").css(t)}))}window.matchMedia=window.matchMedia||function(n){var u,i=n.documentElement,f=i.firstElementChild||i.firstChild,r=n.createElement("body"),t=n.createElement("div");return t.id="mq-test-1",t.style.cssText="position:absolute;top:-100em",r.style.background="none",r.appendChild(t),function(n){return t.innerHTML='&shy;<style media="'+n+'"> #mq-test-1 { width: 42px; }<\/style>',i.insertBefore(r,f),u=t.offsetWidth==42,i.removeChild(r),{matches:u,media:n}}}(document),function(n){function d(){a(!0)}if(n.respond={},respond.update=function(){},respond.mediaQueriesSupported=n.matchMedia&&n.matchMedia("only all").matches,!respond.mediaQueriesSupported){var t=n.document,i=t.documentElement,e=[],u=[],r=[],o={},v=30,f=t.getElementsByTagName("head")[0]||i,g=t.getElementsByTagName("base")[0],s=f.getElementsByTagName("link"),h=[],y=function(){for(var f=s,c=f.length,r=0,t,i,u,e;r<c;r++)t=f[r],i=t.href,u=t.media,e=t.rel&&t.rel.toLowerCase()==="stylesheet",!i||!e||o[i]||(t.styleSheet&&t.styleSheet.rawCssText?(w(t.styleSheet.rawCssText,i,u),o[i]=!0):(/^([a-zA-Z:]*\/\/)/.test(i)||g)&&i.replace(RegExp.$1,"").split("/")[0]!==n.location.host||h.push({href:i,media:u}));p()},p=function(){if(h.length){var n=h.shift();nt(n.href,function(t){w(t,n.href,n.media);o[n.href]=!0;p()})}},w=function(n,t,i){var o=n.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),s=o&&o.length||0,t=t.substring(0,t.lastIndexOf("/")),v=function(n){return n.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+t+"$2$3")},y=!s&&i,h=0,f,c,r,l,p;for(t.length&&(t+="/"),y&&(s=1);h<s;h++)for(f=0,y?(c=i,u.push(v(n))):(c=o[h].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,u.push(RegExp.$2&&v(RegExp.$2))),l=c.split(","),p=l.length;f<p;f++)r=l[f],e.push({media:r.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:u.length-1,hasquery:r.indexOf("(")>-1,minw:r.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:r.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});a()},c,b,k=function(){var u,r=t.createElement("div"),n=t.body,f=!1;return r.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=f=t.createElement("body"),n.style.background="none"),n.appendChild(r),i.insertBefore(n,i.firstChild),u=r.offsetWidth,f?i.removeChild(n):n.removeChild(r),l=parseFloat(u)},l,a=function(n){var nt="clientWidth",tt=i[nt],it=t.compatMode==="CSS1Compat"&&tt||t.body[nt]||tt,d={},ot=s[s.length-1],rt=(new Date).getTime(),o,h,g;if(n&&c&&rt-c<v){clearTimeout(b);b=setTimeout(a,v);return}c=rt;for(o in e){var y=e[o],p=y.minw,w=y.maxw,ut=p===null,ft=w===null,et="em";!p||(p=parseFloat(p)*(p.indexOf(et)>-1?l||k():1));!w||(w=parseFloat(w)*(w.indexOf(et)>-1?l||k():1));y.hasquery&&(ut&&ft||!(ut||it>=p)||!(ft||it<=w))||(d[y.media]||(d[y.media]=[]),d[y.media].push(u[y.rules]))}for(o in r)r[o]&&r[o].parentNode===f&&f.removeChild(r[o]);for(o in d)h=t.createElement("style"),g=d[o].join("\n"),h.type="text/css",h.media=o,f.insertBefore(h,ot.nextSibling),h.styleSheet?h.styleSheet.cssText=g:h.appendChild(t.createTextNode(g)),r.push(h)},nt=function(n,t){var i=tt();i&&(i.open("GET",n,!0),i.onreadystatechange=function(){i.readyState==4&&(i.status==200||i.status==304)&&t(i.responseText)},i.readyState!=4)&&i.send(null)},tt=function(){var n=!1;try{n=new XMLHttpRequest}catch(t){n=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return n}}();y();respond.update=y;n.addEventListener?n.addEventListener("resize",d,!1):n.attachEvent&&n.attachEvent("onresize",d)}}(this);$(document).ready(function(){function e(n){if(s(),window.innerWidth>768&&$(n).parent().parent().hasClass("dropWrapp")&&!$(n).parent().parent().hasClass("searchTabsOpen")){var u=$(".bezekDrop").text(),f=$(n).text(),e=$(".bezekDrop").attr("id"),i=$(n).attr("id");$(n).text(u);$(n).attr("id",e);$(".bezekDrop").text(f);$("[data-target-id]").hide();$("[data-target-id='"+i+"']").show();$(".bezekDrop").attr("id",i);t()}else $(n).addClass("selectedTab"),$(".bezekDrop").removeClass("selectedTab"),r()}function t(){var n=$(".dropWrapp.active .selectedTab").html();$(".dropWrapp").hasClass("active")&&(n=="חיפוש אנשים"||n=="אנשים"?r():u())}function r(){$("#peopleImage").show();$("#txtNamePrivate").show();$("#suitcaseImg").hide();$("#txtCat").hide();$("#txtCityPrivate").show();$("#txtCity").hide();$("#b_BusinessSearch").hide();$("#b_PrivateSearch").css("display","flex")}function u(){$("#peopleImage").hide();$("#txtNamePrivate").hide();$("#suitcaseImg").show();$("#txtCat").show();$("#txtCityPrivate").hide();$("#txtCity").show();$("#b_PrivateSearch").hide();$("#b_BusinessSearch").css("display","flex")}function o(){$(".inputRow").addClass("showZipcode");$("#txtCat").hide();$("#txtNamePrivate").hide();$("#suitcaseImg").hide();$("#txtCat").hide();$("#txtCityPrivate").hide();$("#txtCity").hide();$("#b_PrivateSearch").hide();$("#b_BusinessSearch").hide();$("#peopleImage").hide();$(".showZipcode .imgRight").hide();$("#city_input").show();$("#street_input").show();$("#b_ZipCodeSearch").show();$(".input-zipcode").show()}function s(){$(".inputRow").removeClass("showZipcode");$(".imgRight").show();$(".input-zipcode").hide();$("#city_input").hide();$("#street_input").hide();$("#b_ZipCodeSearch").hide()}var f=isInZipCode?isInZipCode:!1,n;if(f==!0&&o(),window.innerWidth>768&&$(this).parent().parent().hasClass("dropWrapp")&&t(),(window.location.pathname=="/Home.aspx"||window.location.pathname=="/"||window.location.pathname=="/Home2.aspx")&&$("#access").fadeIn("fast"),$(".tab").click(function(){$(this.parentNode.children).removeClass("tabActive");var n=$(this).attr("id");$("[data-target-id]").hide();$("[data-target-id='"+n+"']").show();$(this).addClass("tabActive")}),$(".dropWrapp").click(function(){isMobile!=!1||$(this).hasClass("searchTabsOpen")||($(this).toggleClass("active"),$(".dropWrapp").hasClass("active")?$(".quickSearchHeader").css("padding-bottom","20px"):$(".quickSearchHeader").css("padding-bottom","0"))}),$(".bezekDrop-dropItem").click(function(){e(this)}),$(".bezekDrop").click(function(){$(this).parent().hasClass("dropWrapp")?isMobile==!0||$(this).parent().hasClass("searchTabsOpen")?($(".bezekDrop-dropItem").removeClass("selectedTab"),$(this).addClass("selectedTab"),u()):t():($(".bezekDrop-dropItem").removeClass("selectedTab"),$(".bezekDrop").removeClass("selectedTab"),$(this).addClass("selectedTab"),f==!0&&$(this).html().includes("מיקוד")==!0?o():(s(),u()))}),$(".bezekInput img.close").click(function(){$(this).parent().find("input").val("")}),n=/Android/i.test(navigator.userAgent)?!0:!1,n==!0&&isMobile==!0&&($(".input-business").click(function(){var n=$(this).offset().top;$("html, body").animate({scrollTop:n},"slow")}),$(".input-city").click(function(){var n=$(this).offset().top;$("html, body").animate({scrollTop:n},"slow")}),$(".input-zipcode").click(function(){var n=$(this).offset().top;$("html, body").animate({scrollTop:n},"slow")})),n==!1&&isMobile==!0&&$("body").addClass("mobIOS"),$(".hamburger").click(function(){$("#account-menu").removeClass("open");$(".arrow-down").removeClass("menu-open");$("#menu").hasClass("open")?($("#menu").removeClass("open"),$(".item-dropdown").removeClass("active")):$("#menu").addClass("open")}),$("#account-menu-trigger").click(function(){$(".arrow-down").toggleClass("menu-open");$("#account-menu").toggleClass("open");$("#menu").removeClass("open");$(".hamburger").removeClass("is-active");$(".item-dropdown").removeClass("active")}),$(".item-dropdown").click(function(){$(this).toggleClass("active")}),$(window).click(function(n){n.target.className.indexOf("hamburger")>-1||n.target.className.indexOf("account-menu")>-1||($("#menu").hasClass("open")&&n.target.id!="menu"&&n.target.parentNode.id!="menu"&&!$(n.target.parentNode).hasClass("menu-item")&&($("#menu").removeClass("open"),$(".hamburger").removeClass("is-active"),$(".item-dropdown").removeClass("active")),$("#account-menu").hasClass("open")&&n.target.id!="account-menu"&&n.target.parentNode.id!="account-menu"&&!$(n.target.parentNode).hasClass("account-menu-item")&&($("#account-menu").removeClass("open"),$(".arrow-down").removeClass("menu-open")))}),$(".floatingTabs li").click(function(){$(".floatingTabs li").removeClass("active");$(this).addClass("active")}),$(".item-dropdown").click(function(){var n=document.getElementById("menu").childNodes,t=0;for(i=0;i<n.length;i++)String(n[i].className).indexOf("active")>-1&&t++;t>1&&($("#menu .item-dropdown").removeClass("active"),$(this).addClass("active"))}),(window.location.href.indexOf("private")>-1||window.location.href.indexOf("Private")>-1)&&(e($(".bezekDrop-dropItem")),isMobile==!1&&($(".dropWrapp").removeClass("active"),r())),isMobile==!0){$("#txtCat,#txtNamePrivate,#txtCity,#txtCityPrivate,#city_input,#street_input,#houseNum_input").keypress(function(){$(this).parent().find(".close").removeClass("invisible")});$("#txtCat,#txtNamePrivate,#txtCity,#txtCityPrivate,#city_input,#street_input,#houseNum_input").on("keyup",function(){$(this).parent().find(".close").removeClass("invisible")})}})