(function(){function ecc_a(a){var c=0;return function(){return c<a.length?{done:!1,value:a[c++]}:{done:!0}}}function ecc_(a){var c="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return c?c.call(a):{next:ecc_a(a)}}
var ecc_b=function(){function a(b){this.b=u({},{V:null,W:null,N:null,M:null,w:!1,T:!1,ea:[],C:"Close",g:["overlay","button","escape"]},b);this.ga()}function c(){this.c&&(this.c.style.width=this.f.clientWidth+"px",this.c.style.left=this.f.offsetLeft+"px")}function d(){this.a=document.createElement("div");this.a.classList.add("tingle-modal");0!==this.b.g.length&&-1!==this.b.g.indexOf("overlay")||this.a.classList.add("tingle-modal--noOverlayClose");this.a.style.display="none";this.b.ea.forEach(function(b){"string"===typeof b&&this.a.classList.add(b)},this);-1!==this.b.g.indexOf("button")&&(this.l=document.createElement("button"),this.l.type="button",this.l.classList.add("tingle-modal__close"),this.F=document.createElement("span"),this.F.classList.add("tingle-modal__closeIcon"),this.F.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.G=document.createElement("span"),this.G.classList.add("tingle-modal__closeLabel"),this.G.innerHTML=this.b.C,this.l.appendChild(this.F),this.l.appendChild(this.G));this.f=document.createElement("div");this.f.classList.add("tingle-modal-box");this.D=document.createElement("div");this.D.classList.add("tingle-modal-box__title");this.f.appendChild(this.D);this.j=document.createElement("div");this.j.classList.add("tingle-modal-box__content");this.f.appendChild(this.j);-1!==this.b.g.indexOf("button")&&this.a.appendChild(this.l);this.a.appendChild(this.f)}function e(b){-1!==this.b.g.indexOf("escape")&&27===b.which&&this.U()&&this.close()}function n(b){var g;if(g=-1!==this.b.g.indexOf("overlay")){for(g=b.target;(g=g.parentElement)&&!g.classList.contains("tingle-modal"););g=!g}g&&b.clientX<this.a.clientWidth&&this.close()}function u(){for(var b=1;b<arguments.length;b++)for(var g in arguments[b])arguments[b].hasOwnProperty(g)&&(arguments[0][g]=arguments[b][g]);return arguments[0]}var w=!1;a.prototype.ga=function(){this.a||(d.call(this),this.s={aa:this.close.bind(this),ba:n.bind(this),resize:this.A.bind(this),ha:e.bind(this)},-1!==this.b.g.indexOf("button")&&this.l.addEventListener("click",this.s.aa),this.a.addEventListener("mousedown",this.s.ba),window.addEventListener("resize",this.s.resize),document.addEventListener("keydown",this.s.ha),document.body.insertBefore(this.a,document.body.firstChild),this.b.T&&this.Y())};a.prototype.o=function(b){w=b};a.prototype.J=function(){return w};a.prototype.U=function(){return!!this.a.classList.contains("tingle-modal--visible")};a.prototype.open=function(){if(!this.J())return this.o(!0),"function"===typeof this.b.N&&this.b.N(),this.a.style.removeProperty?this.a.style.removeProperty("display"):this.a.style.removeAttribute("display"),this.K=window.pageYOffset,document.body.classList.add("tingle-enabled"),document.body.style.top=-this.K+"px",this.I(this.b.w),this.a.classList.add("tingle-modal--visible"),"function"===typeof this.b.W&&this.b.W.call(this),this.o(!1),this.A(),this};a.prototype.close=function(){if(!this.J()){this.o(!0);if("function"!==typeof this.b.M||this.b.M.call(this))document.body.classList.remove("tingle-enabled"),window.scrollTo({top:this.K,behavior:"instant"}),document.body.style.top=null,this.a.classList.remove("tingle-modal--visible"),this.a.style.display="none","function"===typeof this.b.V&&this.b.V.call(this);this.o(!1)}};a.prototype.X=function(b,g){var q=document.createElement("div");q.className="tingle-modal-box-content";"string"===typeof g?q.innerHTML=g:q.appendChild(g);b.innerHTML="";b.appendChild(q);this.U()&&this.A()};a.prototype.ja=function(b){this.i=b};a.prototype.ia=function(b){this.X(this.j,b);this.i&&(b=document.createElement("div"),b.className="tingle-modal-box-icon",this.j.prepend(b),b.innerHTML=this.i);this.i=void 0};a.prototype.ka=function(b){this.X(this.D,b)};a.prototype.Y=function(){this.c=document.createElement("div");this.c.classList.add("tingle-modal-box__footer");this.f.appendChild(this.c)};a.prototype.I=function(b){this.v()||(b=!1);b?this.f.contains(this.c)&&(this.f.removeChild(this.c),this.a.appendChild(this.c),this.c.classList.add("tingle-modal-box__footer--sticky"),c.call(this),this.j.style["padding-bottom"]=this.c.clientHeight+20+"px"):this.c&&!this.f.contains(this.c)&&(this.a.removeChild(this.c),this.f.appendChild(this.c),this.c.style.width="auto",this.c.style.left="",this.j.style["padding-bottom"]="",this.c.classList.remove("tingle-modal-box__footer--sticky"))};a.prototype.Z=function(b,g,q){var l=document.createElement("button");l.innerHTML=b;l.addEventListener("click",q);"string"===typeof g&&g.length&&g.split(" ").forEach(function(f){l.classList.add(f)});this.c.appendChild(l)};a.prototype.resize=function(){console.warn("Resize is deprecated and will be removed in version 1.0")};a.prototype.v=function(){return this.f.clientHeight>=window.innerHeight};a.prototype.A=function(){this.a.classList.contains("tingle-modal--visible")&&(this.v()?this.a.classList.add("tingle-modal--overflow"):this.a.classList.remove("tingle-modal--overflow"),!this.v()&&this.b.w?this.I(!1):this.v()&&this.b.w&&(c.call(this),this.I(!0)))};return{a:a}}();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.reverse=function(){return this.split("").reverse().join("")};function ecc_c(){function a(f){function y(){d.la(f.H%e.length)}var x=document.createElement("div"),v=ecc_d(f);v.onclick=f.onclick?function(h){f.onclick(h)&&y(h)}:y;x.appendChild(v);x.classList.add(f.B);return x}function c(f){n=f;g.innerHTML=n+1+"/"+e.length;e.map(function(){});l.style.left=u*f+"px"}var d=this,e=[],n=-1,u,w=0;d.L=function(f){0===e.length&&(u=b.offsetWidth);f=f.S;e.push(f);f.classList.add("multi-page-div-page");f.style.width=u+"px";f.style.minWidth=u+"px";l.style.width=e.length*u+"px";l.appendChild(f);setTimeout(function(){w<l.offsetHeight&&(w=l.offsetHeight,b.style.height=w+"px",l.style.width=u+"px",l.style.minHeight=w+"px");q.style.clip="rect(0px, "+u+"px, "+w+"px, 0px)";-1===n&&c(0)},100)};d.fa=function(){return b};d.la=c;d.na=function(){};d.R=function(f){f.H=f.u+1;return a(f)};d.da=function(){var f={caption:"למשפחת האם",u:1,B:"prev-question-button"};f.H=f.u-1;return a(f)};d.ca=function(){return a({H:0,caption:"התחל מחדש"})};d.oa=function(){c(e.length-1)};d.pa=function(f){c(f)};var b=document.createElement("div");b.className="multi-page-external-wrapper";var g=document.createElement("div");g.className="page-number-div";g.classList.add("visible");b.appendChild(g);var q=document.createElement("div");q.className="multi-page-clipped-wrapper";var l=document.createElement("div");l.className="multi-page-active-page";q.appendChild(l);b.appendChild(q);return d}
var ecc_e={1:"\u2757",2:"\u2714\ufe0f",3:"\u2753",4:"\u2049\ufe0f",5:"\ud83d\uddd1\ufe0f",6:"",7:"\u2699\ufe0f",8:"\u26d4"},ecc_f={};function ecc_g(a){var c=void 0===c?{}:c;c.title="בעיה בשימוש במחשבון";c.content=a;c.i=1;c.buttons=[{text:"אישור",P:!0,click:function(){},O:"tingle-btn--primary"}];ecc_h(c)}
function ecc_i(a){var c=new ecc_b.a({T:!0,w:!1,g:["overlay","button","escape"],C:a.C||"ביטול"});a.title&&c.ka(a.title);a.i&&c.ja(ecc_e[a.i]);c.ia(a.content||"");var d={};a=ecc_(a.buttons);for(var e=a.next();!e.done;d={h:d.h},e=a.next())d.h=e.value,(e=d.h.O||"")&&(e+=" "),e+="tingle-btn",c.Z(d.h.text,e,function(n){return function(){n.h.click&&n.h.click();n.h.P&&c.close()}}(d));c.open();return c}
function ecc_h(a){a.buttons||(a.buttons=[{P:!0,text:"אישור",O:"tingle-btn--primary"}]);void 0===ecc_f.alert&&(ecc_f.alert=[]);ecc_f.alert.push(ecc_i(a))}function ecc_j(a,c){var d=new XMLHttpRequest;d.addEventListener("load",function(e){4===e.target.readyState&&c(e.target.responseText,0,e.target.responseXML)});a=ecc_k(a);""!==a&&(a="?"+a);d.open("GET","calculators/eye_color_calculator/get_eye_color_new.php"+a);d.send("")}
function ecc_k(a){var c=[],d;for(d in a)c.push(d+"="+a[d]);return c.join("&")}function ecc_d(a){var c=document.createElement("div");c.className="animated-calculator-button";c.innerHTML=a.caption||"";a.onclick&&(c.onclick=a.onclick);return c}
function ecc_l(a){var c=document.createElement("div");c.className="animated-checkbox-wrapper";var d=document.createElement("div");d.className="animated-checkbox-caption";d.innerHTML=a.caption;c.appendChild(d);var e=document.createElement("div");e.className="animated-checkbox";d=document.createElement("div");d.className="check";d.innerHTML="\u2716";e.appendChild(d);var n=document.createElement("input");n.type="checkbox";n.name=a.name;n.id=a.id;e.appendChild(n);var u=a.onclick||function(){};e.onclick=function(){n.checked=!n.checked;e.classList.toggle("checked");u()};a.ma&&(n.checked=!0,e.classList.add("checked"));e.appendChild(n);c.appendChild(e);return c}function ecc_m(a,c){for(var d in c){var e=c[d];e&&"[object Object]"===Object.prototype.toString.call(e)?(void 0==a[d]&&(a[d]=a[d]||{}),ecc_m(a[d],e)):void 0==a[d]&&(a[d]=e)}return a}var ecc_n={};ecc_n=ecc_m(ecc_n,{});(function(){function a(){for(var h=ecc_(["mother","father"]),r=h.next();!r.done;r=h.next()){r=r.value;for(var m=ecc_(["green","blue"]),p=m.next();!p.done;p=m.next())document.getElementById(r+"_"+p.value+"_sibling_line").style.visibility="hidden"}}function c(){g=document.getElementById("father_eye_color");q=document.getElementById("mother_eye_color");l=document.getElementById("father_dad");f=document.getElementById("father_mom");y=document.getElementById("mother_dad");x=document.getElementById("mother_mom");for(var h={},r=ecc_([g,q,l,f,y,x]),m=r.next();!m.done;h={m:h.m},m=r.next())h.m=m.value,h.m.onclick=function(p){return function(){var k=p.m,t=-1===p.m.id.indexOf("dad")?"right":"left";null==k.color&&(k.color=-1);k.color=(k.color+1)%3;k.src="calculators/eye_color_calculator/images/"+t+"-"+b[k.color]+"-eye.png";if(-1===k.id.indexOf("dad")&&-1===k.id.indexOf("mom"))if(t=-1!==k.id.indexOf("father")?"father":"mother","brown"===b[k.color]){var z=ecc_(["blue","green"]);for(k=z.next();!k.done;k=z.next())document.getElementById(t+"_"+k.value+"_sibling_line").style.visibility="visible"}else if("green"===b[k.color])document.getElementById(t+"_blue_sibling_line").style.visibility="visible",document.getElementById(t+"_green_sibling_line").style.visibility="hidden";else for(z=ecc_(["blue","green"]),k=z.next();!k.done;k=z.next())document.getElementById(t+"_"+k.value+"_sibling_line").style.visibility="hidden"}}(h);document.getElementById("results").style.visibility="hidden";g.color=null;q.color=null;x.color=null;y.color=null;f.color=null;l.color=null;g.src="calculators/eye_color_calculator/images/right-grey-eye.png";l.src="calculators/eye_color_calculator/images/left-grey-eye.png";y.src="calculators/eye_color_calculator/images/left-grey-eye.png";q.src="calculators/eye_color_calculator/images/right-grey-eye.png";x.src="calculators/eye_color_calculator/images/right-grey-eye.png";f.src="calculators/eye_color_calculator/images/right-grey-eye.png";a()}function d(){return null==x.color?(ecc_g("יש לבחור את צבע העיניים של סבתא מצד אמא"),!1):null==y.color?(ecc_g("יש לבחור את צבע העיניים של סבא מצד אמא"),!1):null==q.color?(ecc_g("יש לבחור את צבע העיניים של האם"),!1):!0}function e(){return null==l.color?(ecc_g("יש לבחור את צבע העיניים של סבא מצד אבא"),!1):null==f.color?(ecc_g("יש לבחור את צבע העיניים של סבתא מצד אבא"),!1):null==g.color?(ecc_g("יש לבחור את צבע העיניים של האב"),!1):!0}function n(){return e()?(ecc_j({father_color:b[g.color],father_blue_sibling:document.getElementsByName("father_blue_siblings_checkbox")[0].checked?"true":"false",father_green_sibling:document.getElementsByName("father_green_siblings_checkbox")[0].checked?"true":"false",father_dad_color:b[l.color],father_mom_color:b[f.color],mother_color:b[q.color],mother_blue_sibling:document.getElementsByName("mother_blue_siblings_checkbox")[0].checked?"true":"false",mother_green_sibling:document.getElementsByName("mother_green_siblings_checkbox")[0].checked?"true":"false",mother_dad_color:b[y.color],mother_mom_color:b[x.color]},u),!0):!1}function u(h){h=JSON.parse(h);document.getElementById("results").style.visibility="visible";document.getElementById("brown_eyes").innerHTML=h.brown+"%";document.getElementById("green_eyes").innerHTML=h.green+"%";document.getElementById("blue_eyes").innerHTML=h.blue+"%"}function w(){function h(r,m,p){var k=document.createElement("div");k.className="color-selection-wrapper";var t=document.createElement("div");t.style.width="100%";k.appendChild(t);var z=document.createElement("div");z.innerHTML=r;z.className="page-title";t.appendChild(z);r=document.createElement("div");r.innerHTML='\n<div class="grandparents-eye-table">\n\t<div class="secondary_title">סבא</div>\n\t<div class="secondary_title">סבתא</div>\n\t<div class="eye_circle_wrapper"><img id="'+m+'_dad" class="eye_circle" src="calculators/eye_color_calculator/images/left-grey-eye.png"></div>\n\t<div class="eye_circle_wrapper"><img id="'+m+'_mom" class="eye_circle" src="calculators/eye_color_calculator/images/left-grey-eye.png"></div>\n</div>\n<div class="parents-eye-table">\t\n\t<div>אמא</div>\n\t<div class="eye_circle_wrapper"><img id="'+m+'_eye_color" class="eye_circle" src="calculators/eye_color_calculator/left-grey-eye.png"></div>\n</div>';t.appendChild(r);r=ecc_l({name:m+"_blue_siblings_checkbox",caption:"האם ל"+p+" אחים עם עיניים כחולות?"});r.id=m+"_blue_sibling_line";t.appendChild(r);p=ecc_l({name:m+"_green_siblings_checkbox",caption:"האם ל"+p+" אחים עם עיניים ירוקות?"});p.id=m+"_green_sibling_line";t.appendChild(p);p=document.createElement("div");p.className="button-wrapper";"mother"===m?(m=v.R({caption:"למשפחת האב",u:0,B:"next-question-button",onclick:d}),p.appendChild(document.createElement("div")),p.appendChild(m)):(m=v.da(),p.appendChild(m),m=v.R({caption:"חשב צבע עיניים",u:1,B:"next-question-button",onclick:n}),p.appendChild(m));t.appendChild(p);v.L({S:k})}
h("צבע עיניים במשפחת האם","mother","אם");h("צבע עיניים במשפחת האב","father","אב")}var b=["blue","green","brown"],g,q,l,f,y,x,v;(function(){var h=document.getElementById("selection_panel");v=ecc_c();h.appendChild(v.fa());w();h=document.createElement("div");h.innerHTML="\n<div id='result' class='calculator_main_result'>\n\t<table width='100%' align='center' id='results'>\n\t\t<tr>\n\t\t\t<td width='33%' align='center' id='result_image_brown'>\n\t\t\t\t<img class='eye_circle result' src='calculators/eye_color_calculator/images/left-brown-eye.png' />\n\t\t\t</td>\n\t\t\t<td width='33%' align='center' id='result_image_green'>\n\t\t\t\t<img class='eye_circle result' src='calculators/eye_color_calculator/images/left-green-eye.png' />\n\t\t\t</td>\n\t\t\t<td width='33%' align='center' id='result_image_blue'>\n\t\t\t\t<img class='eye_circle result' src='calculators/eye_color_calculator/images/left-blue-eye.png' />\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr align='center'>\n\t\t\t<td width='33%' id='result_count_brown' class=\"result-text\">\n\t\t\t\tההסתברות לילד חום עיניים:<br/>\n\t\t\t\t<span id='brown_eyes' class='themed-text'>0</span>\n\t\t\t</td>\n\t\t\t<td width='33%' id='result_count_green' class=\"result-text\">\n\t\t\t\tההסתברות לילד ירוק עיניים:<br/>\n\t\t\t\t<span id='green_eyes' class='themed-text'>0</span>\n\t\t\t</td>\n\t\t\t<td width='33%' id='result_count_blue' class=\"result-text\">\n\t\t\t\tההסתברות לילד תכול עיניים:<br/>\n\t\t\t\t<span id='blue_eyes' class='themed-text'>0</span>\n\t\t\t</td>\n\t\t</tr>\n\t</table>\n\t<div id=\"advertisment\"></div>\n\t<div id='result_buttons' class='calculator_buttons'></div>\n</div>";var r=v.ca();v.L({S:h});document.getElementById("result_buttons").appendChild(r);c()})()})()})();(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)})})({})})()