(function(){var fyca="function"==typeof Object.defineProperties?Object.defineProperty:function(a,e,c){a!=Array.prototype&&a!=Object.prototype&&(a[e]=c.value)},fycb="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function fycc(a,e){if(e){var c=fycb;a=a.split(".");for(var g=0;g<a.length-1;g++){var m=a[g];m in c||(c[m]={});c=c[m]}a=a[a.length-1];g=c[a];e=e(g);e!=g&&null!=e&&fyca(c,a,{configurable:!0,writable:!0,value:e})}}
fycc("Array.from",function(a){return a?a:function(e,c,g){c=null!=c?c:function(p){return p};var m=[],u="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];if("function"==typeof u){e=u.call(e);for(var x=0;!(u=e.next()).done;)m.push(c.call(g,u.value,x++))}else for(u=e.length,x=0;x<u;x++)m.push(c.call(g,e[x],x));return m}});function fycd(){function a(){return window.scrollY||g.scrollTop}function e(b,f,k){function h(t,l,q){d(Math.max(0,b.h(t)-k),l,q)}function d(t,l,q){r();if(0===l||l&&0>l||c(b.body))b.B(t),q&&q();else{var n=b.u(),D=Math.max(0,t)-n,F=(new Date).getTime();l=l||Math.min(Math.abs(D),f);(function A(){w=setTimeout(function(){var y=Math.min(1,((new Date).getTime()-F)/l),B=Math.max(0,Math.floor(n+D*(.5>y?2*y*y:y*(4-2*y)-1)));b.B(B);1>y&&b.D()+B<b.body.scrollHeight?A():(setTimeout(r,99),q&&q())},9)})()}}function r(){clearTimeout(w);w=0}f=f||999;k||0===k||(k=9);var w;return{setup:function(t,l){if(0===t||t)f=t;if(0===l||l)k=l;return{wa:f,O:k}},to:h,toY:d,intoView:function(t,l,q){var n=t.getBoundingClientRect().height,D=b.h(t)+n,F=b.D(),E=b.u(),A=E+F;Math.max(0,b.h(t)-k)<E||n+k>F?h(t,l,q):D+k>A?d(D-F+k,l,q):q&&q()},center:function(t,l,q,n){d(Math.max(0,b.h(t)-b.D()/2+(q||t.getBoundingClientRect().height/2)),l,n)},stop:r,moving:function(){return!!w},getY:b.u,getTopOf:b.h}}function c(b){return b&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(b)["scroll-behavior"]}if("undefined"===typeof window||!("document"in window))return{};var g=document.documentElement,m=e({body:document.scrollingElement||document.body,B:function(b){window.scrollTo(0,b)},u:a,D:function(){return window.innerHeight||g.clientHeight},h:function(b){return b.getBoundingClientRect().top+a()-g.offsetTop}});m.va=function(b,f,k){return e({body:b,B:function(h){b.scrollTop=h},u:function(){return b.scrollTop},D:function(){return Math.min(b.clientHeight,window.innerHeight||g.clientHeight)},h:function(h){return h.offsetTop}},f,k)};if("addEventListener"in window&&!window.sa&&!c(document.body)){var u="history"in window&&"pushState"in history,x=u&&"scrollRestoration"in history;x&&(history.scrollRestoration="auto");window.addEventListener("load",function(){x&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(b){b.state&&"zenscrollY"in b.state&&m.B(b.state.qa)},!1));window.location.hash&&setTimeout(function(){var b=m.pa().O;if(b){var f=document.getElementById(window.location.href.split("#")[1]);f&&(b=Math.max(0,m.h(f)-b),f=m.u()-b,0<=f&&9>f&&window.scrollTo(0,b))}},9)},!1);var p=/(^|\s)noZensmooth(\s|$)/;window.addEventListener("click",function(b){for(var f=b.target;f&&"A"!==f.tagName;)f=f.parentNode;if(!(!f||1!==b.which||b.shiftKey||b.metaKey||b.ctrlKey||b.altKey)){if(x){var k=history.state&&"object"===typeof history.state?history.state:{};k.qa=m.u();try{history.replaceState(k,"")}catch(d){}}var h=f.getAttribute("href")||"";if(0===h.indexOf("#")&&!p.test(f.className)){f=0;k=document.getElementById(h.substring(1));if("#"!==h){if(!k)return;f=m.h(k)}b.preventDefault();b=function(){window.location=h};if(k=m.pa().O)f=Math.max(0,f-k),u&&(b=function(){history.pushState({},"",h)});m.B(f,null,b)}}},!1)}return m}(function(){function a(p){this.c=u({},{R:null,ya:null,ta:null,M:null,U:!1,ha:!1,ea:[],ca:"Close",l:["overlay","button","escape"]},p);this.ja()}function e(){this.b&&(this.b.style.width=this.f.clientWidth+"px",this.b.style.left=this.f.offsetLeft+"px")}function c(){this.a=document.createElement("div");this.a.classList.add("tingle-modal");0!==this.c.l.length&&-1!==this.c.l.indexOf("overlay")||this.a.classList.add("tingle-modal--noOverlayClose");this.a.style.display="none";this.c.ea.forEach(function(p){"string"===typeof p&&this.a.classList.add(p)},this);-1!==this.c.l.indexOf("button")&&(this.v=document.createElement("button"),this.v.type="button",this.v.classList.add("tingle-modal__close"),this.J=document.createElement("span"),this.J.classList.add("tingle-modal__closeIcon"),this.J.innerHTML='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M.3 9.7c.2.2.4.3.7.3.3 0 .5-.1.7-.3L5 6.4l3.3 3.3c.2.2.5.3.7.3.2 0 .5-.1.7-.3.4-.4.4-1 0-1.4L6.4 5l3.3-3.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L5 3.6 1.7.3C1.3-.1.7-.1.3.3c-.4.4-.4 1 0 1.4L3.6 5 .3 8.3c-.4.4-.4 1 0 1.4z" fill="#000" fill-rule="nonzero"/></svg>',this.K=document.createElement("span"),this.K.classList.add("tingle-modal__closeLabel"),this.K.innerHTML=this.c.ca,this.v.appendChild(this.J),this.v.appendChild(this.K));this.f=document.createElement("div");this.f.classList.add("tingle-modal-box");this.P=document.createElement("div");this.P.classList.add("tingle-modal-box__title");this.f.appendChild(this.P);this.H=document.createElement("div");this.H.classList.add("tingle-modal-box__content");this.f.appendChild(this.H);-1!==this.c.l.indexOf("button")&&this.a.appendChild(this.v);this.a.appendChild(this.f)}function g(p){-1!==this.c.l.indexOf("escape")&&27===p.which&&this.la()&&this.close()}function m(p){var b;if(b=-1!==this.c.l.indexOf("overlay")){for(b=p.target;(b=b.parentElement)&&!b.classList.contains("tingle-modal"););b=!b}b&&p.clientX<this.a.clientWidth&&this.close()}function u(){for(var p=1;p<arguments.length;p++)for(var b in arguments[p])arguments[p].hasOwnProperty(b)&&(arguments[0][b]=arguments[p][b]);return arguments[0]}var x=!1;a.prototype.ja=function(){this.a||(c.call(this),this.C={aa:this.close.bind(this),ba:m.bind(this),resize:this.Z.bind(this),ma:g.bind(this)},-1!==this.c.l.indexOf("button")&&this.v.addEventListener("click",this.C.aa),this.a.addEventListener("mousedown",this.C.ba),window.addEventListener("resize",this.C.resize),document.addEventListener("keydown",this.C.ma),document.body.insertBefore(this.a,document.body.firstChild),this.c.ha&&this.Y())};a.prototype.L=function(p){x=p};a.prototype.X=function(){return x};a.prototype.la=function(){return!!this.a.classList.contains("tingle-modal--visible")};a.prototype.close=function(){if(!this.X()){this.L(!0);if("function"!==typeof this.c.M||this.c.M.call(this))document.body.classList.remove("tingle-enabled"),window.scrollTo({top:this.ra,behavior:"instant"}),document.body.style.top=null,this.a.classList.remove("tingle-modal--visible"),this.a.style.display="none","function"===typeof this.c.R&&this.c.R.call(this);this.L(!1)}};a.prototype.Y=function(){this.b=document.createElement("div");this.b.classList.add("tingle-modal-box__footer");this.f.appendChild(this.b)};a.prototype.S=function(p){this.G()||(p=!1);p?this.f.contains(this.b)&&(this.f.removeChild(this.b),this.a.appendChild(this.b),this.b.classList.add("tingle-modal-box__footer--sticky"),e.call(this),this.H.style["padding-bottom"]=this.b.clientHeight+20+"px"):this.b&&!this.f.contains(this.b)&&(this.a.removeChild(this.b),this.f.appendChild(this.b),this.b.style.width="auto",this.b.style.left="",this.H.style["padding-bottom"]="",this.b.classList.remove("tingle-modal-box__footer--sticky"))};a.prototype.resize=function(){console.warn("Resize is deprecated and will be removed in version 1.0")};a.prototype.G=function(){return this.f.clientHeight>=window.innerHeight};a.prototype.Z=function(){this.a.classList.contains("tingle-modal--visible")&&(this.G()?this.a.classList.add("tingle-modal--overflow"):this.a.classList.remove("tingle-modal--overflow"),!this.G()&&this.c.U?this.S(!1):this.G()&&this.c.U&&(e.call(this),this.S(!0)))};return{a:a}})();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};function fyce(a){function e(d){function r(){for(var w=d.offsetLeft,t=d.offsetTop+d.offsetHeight,l=d;l.offsetParent;)l=l.offsetParent,w+=l.offsetLeft,t+=l.offsetTop;l=h;var q="undefined"!==l.value+""?g(l.value):g(l.innerHTML);if(!document.getElementById("datepicker")){var n=document.createElement("div");n.id="datepicker";n.className="date-picker-container-div";document.body.appendChild(n);n=document.getElementById("overlay_div");n||(n=document.createElement("div"),n.id="overlay_div",n.className="overlay_div",document.body.appendChild(n))}n=document.getElementById("overlay_div");n.style.height=document.body.scrollHeight+"px";n.style.display="block";n=document.getElementById("datepicker");n.style.left=w+"px";n.style.display="block";c(l,q.getFullYear(),q.getMonth(),q.getDate());mobileBrowser&&500<n.offsetHeight&&(t=document.documentElement.scrollTop+20);n.style.top=t+"px"}d||(d=h);a.i||!mobileBrowser?h.onfocus=r:h.nextElementSibling.onclick=r}function c(d,r,w,t){function l(){E.innerHTML="";u.T(new Date(D,F-1,n));document.getElementById("overlay_div").style.display="";k()}function q(G,C){Array.prototype.map.call(G.childNodes,function(J){J.classList.remove(C)})}d=new Date;0<=w&&0<r?d=new Date(r,w,1):(t=d.getDate(),d.setDate(1));var n=t,D=r,F=w+1,E=document.createElement("div");E.className="calendar-widget";d=document.createElement("div");d.className="calendar-list-container";E.appendChild(d);var A=document.createElement("div");A.className="date-picker-list date-picker-day-list";d.appendChild(A);var y=document.createElement("month");y.className="date-picker-list date-picker-month-list";E.appendChild(y);var B=document.createElement("year");B.className="date-picker-list date-picker-year-list";for(var v={s:0};v.s<p.length;v={s:v.s},v.s++){var z=document.createElement("div");z.className="month-item";z.innerHTML=p[v.s];z.onclick=function(G){return function(){var C=G.s;F=C+1;q(y,"selected-date");y.childNodes[C].classList.add("selected-date");x&&l()}}(v);y.appendChild(z)}var H=0;if(!mobileBrowser&&10<f-b)for(H=0;H<b%10;H++)v=document.createElement("div"),v.className="year-item",v.innerHTML="",B.appendChild(v);v={};for(v.m=b;v.m<=f;v={m:v.m},v.m++)z=document.createElement("div"),z.className="year-item",z.innerHTML=v.m,z.onclick=function(G){return function(){var C=H+G.m-b;D=b+C-H;I=C;q(B,"selected-date");B.childNodes[C].classList.add("selected-date");x&&l()}}(v),B.appendChild(z);for(v={o:0};31>v.o;v={o:v.o},v.o++)z=document.createElement("div"),z.className="day-item",z.innerHTML=v.o+1,z.onclick=function(G){return function(){var C=G.o;n=C+1;q(A,"selected-date");A.childNodes[C].classList.add("selected-date");x&&l()}}(v),A.appendChild(z);d.appendChild(A);d.appendChild(y);d.appendChild(B);a.w&&(A.style.display="none");a.A&&(y.style.display="none");a.F&&(B.style.display="none");document.getElementById("datepicker").innerHTML="";document.getElementById("datepicker").appendChild(E);var I=H+r-b;I=Math.max(I,0);try{y.childNodes[w].classList.add("selected-date"),A.childNodes[t-1].classList.add("selected-date"),B.childNodes[I].classList.add("selected-date")}catch(G){}r=document.createElement("div");r.className="calendar-button_container";x||(w=fycf({caption:"אישור",onclick:l}),r.appendChild(w));E.appendChild(r)}function g(d){if(a.i)return new Date(d);var r;if(""===d)return a.N;try{var w;0<=d.indexOf("/")?w=d.split("/"):0<=d.indexOf(".")?w=d.split("."):0<=d.indexOf("-")?w=d.split("-"):0<=d.indexOf("\\")?w=d.split("\\"):w=!1;if(r=w){var t=parseInt(r[0],10);var l=parseInt(r[1],10)-1;var q=parseInt(r[2],10);q=q<=(new Date).getFullYear()-2E3?q+2E3:q+1900;var n=new Date(q,l,t)}else n=d?new Date(d):new Date}catch(D){n=new Date}return n}function m(d){if(a.w&&a.A)return d.getFullYear();var r=d.getYear()%100;return d.getDate()+"/"+(d.getMonth()+1)+"/"+(10>r?"0"+r:r)}var u=this,x=!a.F&&a.A&&a.w||a.F&&!a.A&&a.w||a.F&&a.A&&!a.w,p="ינואר פברואר מרץ אפריל מאי יוני יולי אוגוסט ספטמבר אוקטובר נובמבר דצמבר".split(" "),b=a.oa,f=a.na,k=a.onclick||function(){};u.Aa=function(d){b=d};u.za=function(d){f=d};var h=a.V;a.i||e(a.V);u.ia=function(){return g(h.value)};u.T=function(d){a.i?(h.value=d.toISOString().split("T")[0],h.nextElementSibling.innerHTML=m(d)):(mobileBrowser&&(h.nextElementSibling.innerHTML=m(d)),h.value=m(d))};u.T(a.N);a.i&&h.addEventListener("change",function(){h.nextElementSibling.innerHTML=m(new Date(h.value))})}var fyc=void 0;function fycg(a,e){var c=new XMLHttpRequest;c.addEventListener("load",function(g){4===g.target.readyState&&e(g.target.responseText,0,g.target.responseXML)});a=fych(a);c.open("POST","calculators/first_year/get_stage_for_a_week.php");c.setRequestHeader("Content-Type","application/x-www-form-urlencoded");c.send(a)}function fych(a){var e=[],c;for(c in a)e.push(c+"="+a[c]);return e.join("&")}
function fycf(a){var e=document.createElement("div");e.className="animated-calculator-button";e.innerHTML=a.caption||"";a.onclick&&(e.onclick=a.onclick);return e}
function fyci(a){var e=a.caption,c=document.createElement("div");c.id=a.ua||"";c.className="animated-calendar-container";var g=document.createElement("label");g.className="animated-calendar-container-label";g.innerHTML=e||"";c.appendChild(g);a.j.i=mobileBrowser&&!a.j.w&&!a.j.A&&!a.j.F;e=fycj(a.j);c.appendChild(e.ga);a.j.V=e.input;return{fa:new fyce(a.j),da:c}}
function fycj(a){var e=document.createElement("div");e.className="calendar-div-input";var c=document.createElement("input");c.setAttribute("autocomplete","off");c.type=a.i?"date":"text";c.className="calendar-text-input";c.id=a.ka;c.value=a.xa||"";e.appendChild(c);if(a.i||mobileBrowser){var g=document.createElement("label");g.className="calendar-label-input";c.onchange=a.onclick||function(){};a.i&&g.setAttribute("for",c.id);e.appendChild(g)}return{ga:e,input:c}}
function fyck(a){var e=document.createElement("div");e.className="quick-nav-container";a.I||(a.I=Array.from({length:a.W-a.from+1},function(m,u){return u+a.from}));var c={};for(c.g=a.from;c.g<=a.W;c={g:c.g},c.g++){var g=document.createElement("div");g.className="quick-nav-square";g.innerHTML=a.I[c.g-a.from];g.onclick=function(m){return function(){fycl(e,m.g-a.from);a.onclick(a.I[m.g-a.from],m.g,m.g-a.from)}}(c);e.appendChild(g)}return e}
function fycl(a,e){Array.prototype.map.call(a.childNodes,function(c){c.classList.remove("selected")});a.childNodes[e].classList.add("selected")}(function(){function a(){u[f]?g():fycg({week:f},c)}function e(){var k=new Date;var h=m.ia();f=Math.ceil(Math.ceil((k.getTime()-h.getTime())/864E5)/7);0>f?alert("יש לבחור תאריך בעבר"):a()}function c(k){u[f]=JSON.parse(k);g()}function g(){fycl(x,f-1);document.getElementById("baby_illustration_wrapper").style.visibility="visible";document.getElementById("comment").style.visibility="visible";document.getElementById("mother_state").innerHTML="<p class='themed-text'>למה את יכולה לצפות בשבוע "+f+" לאחר לידה:</p>"+u[f].mother;document.getElementById("baby_state").innerHTML="<p class='themed-text'>שינויים שעובר התינוק בשבוע "+f+" לאחר לידה:</p>"+u[f].baby;document.getElementById("img_baby_illustration").src="calculators/first_year/week_"+f+".jpg";1!==f&&(p.src="calculators/first_year/week_"+(f-1)+".jpg");48!==f&&(b.src="calculators/first_year/week_"+(f+1)+".jpg");if(mobileBrowser){var k=document.getElementById("calculator_center_ad");fyc||(fyc=fycd());fyc.to(k)}}var m,u=[],x,p=document.createElement("img"),b=document.createElement("img"),f=0;(function(){var k=document.getElementById("selection_panel");var h=new Date;h.setDate(h.getDate()-365);h=fyci({caption:"תאריך לידה",j:{ka:"birth_date",oa:(new Date).getFullYear()-1,na:(new Date).getFullYear(),N:h,onclick:e}});var d=h.da;m=h.fa;k.appendChild(d);x=fyck({from:1,W:48,onclick:function(r,w){f=w;a()}});h=document.createElement("div");h.className="animated-calendar-container-label";h.innerHTML="לחילופין, בחרי בן/בת כמה הוא/היא בשבועות";k.appendChild(h);k.appendChild(x);k=fycf({caption:"חישוב נוסף"});k.onclick=function(){var r=document.getElementsByClassName("calculator_wrapper")[0];fyc||(fyc=fycd());fyc.to(r)};document.getElementById("result_buttons").appendChild(k)})();return this})()})();(function(){function menu_(b){var d=0;return function(){return d<b.length?{done:!1,value:b[d++]}:{done:!0}}}(function(){function b(a){this.c=g({},{w:null,R:null,P:null,u:null,B:!1,K:!1,J:[],I:"Close",g:["overlay","button","escape"]},a);this.L()}function d(){this.b&&(this.b.style.width=this.f.clientWidth+"px",this.b.style.left=this.f.offsetLeft+"px")}function e(){this.a=document.createElement("div");this.a.classList.add("tingle-modal");0!==this.c.g.length&&-1!==this.c.g.indexOf("overlay")||this.a.classList.add("tingle-modal--noOverlayClose");this.a.style.display="none";this.c.J.forEach(function(a){"string"===typeof a&&this.a.classList.add(a)},this);-1!==this.c.g.indexOf("button")&&(this.h=document.createElement("button"),this.h.type="button",this.h.classList.add("tingle-modal__close"),this.m=document.createElement("span"),this.m.classList.add("tingle-modal__closeIcon"),this.m.innerHTML='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M.3 9.7c.2.2.4.3.7.3.3 0 .5-.1.7-.3L5 6.4l3.3 3.3c.2.2.5.3.7.3.2 0 .5-.1.7-.3.4-.4.4-1 0-1.4L6.4 5l3.3-3.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L5 3.6 1.7.3C1.3-.1.7-.1.3.3c-.4.4-.4 1 0 1.4L3.6 5 .3 8.3c-.4.4-.4 1 0 1.4z" fill="#000" fill-rule="nonzero"/></svg>',this.o=document.createElement("span"),this.o.classList.add("tingle-modal__closeLabel"),this.o.innerHTML=this.c.I,this.h.appendChild(this.m),this.h.appendChild(this.o));this.f=document.createElement("div");this.f.classList.add("tingle-modal-box");this.v=document.createElement("div");this.v.classList.add("tingle-modal-box__title");this.f.appendChild(this.v);this.l=document.createElement("div");this.l.classList.add("tingle-modal-box__content");this.f.appendChild(this.l);-1!==this.c.g.indexOf("button")&&this.a.appendChild(this.h);this.a.appendChild(this.f)}function f(a){-1!==this.c.g.indexOf("escape")&&27===a.which&&this.M()&&this.close()}function m(a){var c;if(c=-1!==this.c.g.indexOf("overlay")){for(c=a.target;(c=c.parentElement)&&!c.classList.contains("tingle-modal"););c=!c}c&&a.clientX<this.a.clientWidth&&this.close()}function g(){for(var a=1;a<arguments.length;a++)for(var c in arguments[a])arguments[a].hasOwnProperty(c)&&(arguments[0][c]=arguments[a][c]);return arguments[0]}var h=!1;b.prototype.L=function(){this.a||(e.call(this),this.i={G:this.close.bind(this),H:m.bind(this),resize:this.F.bind(this),N:f.bind(this)},-1!==this.c.g.indexOf("button")&&this.h.addEventListener("click",this.i.G),this.a.addEventListener("mousedown",this.i.H),window.addEventListener("resize",this.i.resize),document.addEventListener("keydown",this.i.N),document.body.insertBefore(this.a,document.body.firstChild),this.c.K&&this.D())};b.prototype.s=function(a){h=a};b.prototype.C=function(){return h};b.prototype.M=function(){return!!this.a.classList.contains("tingle-modal--visible")};b.prototype.close=function(){if(!this.C()){this.s(!0);if("function"!==typeof this.c.u||this.c.u.call(this))document.body.classList.remove("tingle-enabled"),window.scrollTo({top:this.O,behavior:"instant"}),document.body.style.top=null,this.a.classList.remove("tingle-modal--visible"),this.a.style.display="none","function"===typeof this.c.w&&this.c.w.call(this);this.s(!1)}};b.prototype.D=function(){this.b=document.createElement("div");this.b.classList.add("tingle-modal-box__footer");this.f.appendChild(this.b)};b.prototype.A=function(a){this.j()||(a=!1);a?this.f.contains(this.b)&&(this.f.removeChild(this.b),this.a.appendChild(this.b),this.b.classList.add("tingle-modal-box__footer--sticky"),d.call(this),this.l.style["padding-bottom"]=this.b.clientHeight+20+"px"):this.b&&!this.f.contains(this.b)&&(this.a.removeChild(this.b),this.f.appendChild(this.b),this.b.style.width="auto",this.b.style.left="",this.l.style["padding-bottom"]="",this.b.classList.remove("tingle-modal-box__footer--sticky"))};b.prototype.resize=function(){console.warn("Resize is deprecated and will be removed in version 1.0")};b.prototype.j=function(){return this.f.clientHeight>=window.innerHeight};b.prototype.F=function(){this.a.classList.contains("tingle-modal--visible")&&(this.j()?this.a.classList.add("tingle-modal--overflow"):this.a.classList.remove("tingle-modal--overflow"),!this.j()&&this.c.B?this.A(!1):this.j()&&this.c.B&&(d.call(this),this.A(!0)))};return{a:b}})();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};function menu_a(b){var d=new XMLHttpRequest;d.addEventListener("load",function(f){4===f.target.readyState&&b(f.target.responseText,0,f.target.responseXML)});var e=menu_b();""!==e&&(e="?"+e);d.open("GET","panel_content/print_menu_contents.php"+e);d.send("")}function menu_b(){var b={},d=[],e;for(e in b)d.push(e+"="+b[e]);return d.join("&")}
function menu_c(){"images/square_articles/food-bag_200_200-125.png images/square_articles/lettuce_with_measure_200_200-125.jpg images/square_articles/pregnant_apple_200_200-125.jpg images/square_articles/drinks_200_200-125.jpg images/calculators/house_dollar_swing_125_125.jpg images/calculators/tax_receipt_125_125.jpg images/calculators/coins3_125_125.jpg images/square_articles/calculator_10_200_200-125.jpg images/square_articles/dog_200_200-125.jpg images/square_articles/woman_weight_200_200-125.jpg images/square_articles/fruit_basket_2_200_200-125.jpg images/square_articles/housing_200_200-125.jpg images/square_articles/woman_belly_measure_200_200-125.jpg images/square_articles/pregnant_mirror_200_200-125.jpg images/square_articles/man_suit_watch_200_200-125.jpg images/square_articles/strawberris_200_200-125.jpg images/square_articles/wallet_200_200-125.jpg images/square_articles/dollar_house_200_200-125.jpg images/square_articles/kojak_200_200-125.jpg images/square_articles/graph_up_200_200-125.jpg images/square_articles/freud_200_200-125.jpg images/square_articles/pregnant_cyan_1_200_200-125.jpg images/square_articles/yellow_pepper_200_200-125.jpg images/square_articles/yin_yang_200_200-125.jpg images/square_articles/yellow_car_200_200-125.jpg images/square_articles/hitech_gym_200_200-125.jpg images/square_articles/fruit_basket_200_200-125.jpg images/square_articles/books_200_200-125.jpg images/categories/affiliates_200_200-125.jpg images/categories/gear_200_200-125.jpg images/authors/ami_and_reut2.jpg".split(" ").map(function(b,d){document.querySelector(".lazy_loaded_image_"+d).src=b})}(function(){function b(f){function m(){h();a=setTimeout(function(){k.classList.remove("visible");c=setTimeout(function(){k.classList.remove("top-visible");c=-1},200);a=-1},1E3)}function g(){n||(menu_c(),n=!0);Array.prototype.map.call(document.querySelectorAll("div.mbmenu.boxMenu"),function(l){l!==k&&(l.classList.remove("top-visible"),l.classList.remove("visible"))});h();k.classList.add("top-visible");k.classList.add("visible")}function h(){var l=[a,c];var p="undefined"!=typeof Symbol&&Symbol.iterator&&l[Symbol.iterator];l=p?p.call(l):{next:menu_(l)};for(p=l.next();!p.done;p=l.next())clearTimeout(p.value)}var a=-1,c=-1,k=document.getElementById(f.id.substr(0,f.id.indexOf("-header"))),n=!1;f.onmouseenter=g;f.onmouseleave=m;k.onmouseenter=g;k.onmouseleave=m}var d=document.getElementsByClassName("desktop-menu-item"),e;menu_a(function(f){f=(new DOMParser).parseFromString(f,"text/xml");var m=[];Array.prototype.map.call(f.childNodes[0].childNodes,function(g){return m.push(g)});m.map(function(g){var h=document.createElement("div"),a=g.getAttribute("id");h.className=g.getAttribute("class");h.id=a;if(g.innerHTML)h.innerHTML=g.innerHTML;else{e||(e=new XMLSerializer);var c=e;for(var k="",n=0;n<g.childNodes.length;n++)k+=c.serializeToString(g.childNodes[n]);h.innerHTML=k}document.getElementById(a+"-header").appendChild(h)});Array.prototype.map.call(d,b)})})({})})()