תפריט

מפת אתר

עמודים

עורכי דין

פוסטים

הצלחות המשרד

עורכי דין

a2
עורך דין משרד הביטחון גרינברג ושות'
מחובר/ת
למעבר מהיר לשיחת ווטאסאפ עם עורך דין >>
"; if (/<\/body>/i.test(html)) html = html.replace(/<\/body>/i, bootTag + ""); else html = html + bootTag; writeDoc(html); }); }); }).catch(() => { location.href = path; }); } if (!document.getElementById("mirror-dropdown-css")) { const st = document.createElement("style"); st.id = "mirror-dropdown-css"; st.textContent = ".elementor-nav-menu--main .menu-item-has-children:hover > ul.sub-menu, .elementor-nav-menu--main ul.sub-menu:hover { display: block !important; z-index: 9999; min-width: 10em; width: max-content !important; top: 100%; }.elementor-nav-menu--main .menu-item-has-children > a::after { content: ''; display: inline-block; margin-inline-start: 6px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(2px); }.elementor-nav-menu--dropdown .sub-arrow { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-inline-start: auto; cursor: pointer; vertical-align: middle; }.elementor-nav-menu--dropdown .sub-arrow::before { content: ''; display: inline-block; border: 5px solid transparent; border-top-color: currentColor; }.elementor-nav-menu--dropdown li.menu-item-has-children > a { display: flex; align-items: center; }"; document.head.appendChild(st); } function ensureSubArrows() { document.querySelectorAll(".elementor-nav-menu--dropdown li.menu-item-has-children > a").forEach(function(a) { if (!a.querySelector(":scope > .sub-arrow")) { const sp = document.createElement("span"); sp.className = "sub-arrow"; sp.setAttribute("aria-hidden", "true"); a.appendChild(sp); } }); } ensureSubArrows(); new MutationObserver(ensureSubArrows).observe(document.body, { childList: !0, subtree: !0 }); function releaseLazyBg() { document.querySelectorAll(".e-con.e-parent:not(.e-lazyloaded)").forEach(function(el) { el.classList.add("e-lazyloaded"); }); } releaseLazyBg(); document.addEventListener("DOMContentLoaded", releaseLazyBg); setTimeout(releaseLazyBg, 800); function stickyHeader() { const header = document.querySelector('[data-elementor-type="header"]'); if (!header || header.__stickyDone) return; header.__stickyDone = !0; const spacer = document.createElement("div"); spacer.style.height = header.offsetHeight + "px"; spacer.setAttribute("data-header-spacer", ""); header.parentNode?.insertBefore(spacer, header.nextSibling); const cs = window.getComputedStyle(header); if (!cs.backgroundColor || cs.backgroundColor === "rgba(0, 0, 0, 0)" || cs.backgroundColor === "transparent") header.style.background = "#fff"; header.style.position = "fixed"; header.style.top = "0"; header.style.left = "0"; header.style.right = "0"; header.style.zIndex = "9999"; window.addEventListener("resize", function() { spacer.style.height = header.offsetHeight + "px"; }); } stickyHeader(); document.addEventListener("DOMContentLoaded", stickyHeader); setTimeout(stickyHeader, 500); document.addEventListener("click", function(e) { const t = e.target; if (!t || !t.closest) return; const li = t.closest(".elementor-nav-menu--dropdown li.menu-item-has-children"); if (!li) return; const ul = li.querySelector(":scope > ul"); if (!ul) return; const link = li.querySelector(":scope > a"), arrow = t.closest(".sub-arrow"), isVisible = ul.style.display === "block"; if (arrow) { e.preventDefault(); e.stopImmediatePropagation(); if (isVisible) { ul.style.display = ""; ul.style.width = ""; link?.setAttribute("aria-expanded", "false"); } else { ul.style.display = "block"; ul.style.width = "auto"; link?.setAttribute("aria-expanded", "true"); } return; } if (link && (link === t || link.contains(t)) && !isVisible) { e.preventDefault(); e.stopImmediatePropagation(); ul.style.display = "block"; ul.style.width = "auto"; link.setAttribute("aria-expanded", "true"); return; } }, !0); document.addEventListener("click", (e) => { if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return; const t = e.target, a = t && t.closest ? t.closest("a[href]") : null; if (!a) return; const href = a.getAttribute("href") || ""; if (!isInternal(href)) return; if (a.target && a.target !== "_self") return; const u = new URL(href, location.href); e.preventDefault(); history.pushState({ mirror: !0 }, "", u.pathname + u.search + u.hash); handoff(u.pathname); }, !0); window.addEventListener("popstate", () => { handoff(location.pathname); }); })();