var p7HMY={ctl:[],status:!1,once:!1,ie:!1,flex:!1,prf:"none"};function P7_HMYaddLoad(){document.getElementById&&(window.addEventListener?(document.addEventListener("DOMContentLoaded",P7_HMYinit,!1),window.addEventListener("load",P7_HMYinit,!1)):window.attachEvent&&(document.write('<script id=p7ie_hmy defer src="//:"><\/script>'),document.getElementById("p7ie_hmy").onreadystatechange=function(){"complete"==this.readyState&&P7_HMYinit()},window.attachEvent("onload",P7_HMYinit)))}function P7_HMYinit(){var e,t,n,a,i,s,r,o;if(!p7HMY.once)for(p7HMY.once=!0,p7HMY.ie=P7_HMYgetIEver(),p7HMY.prf=P7_HMYgetCSSPre(),"none"!=p7HMY.prf&&""===P7_HMYsupports(p7HMY.prf+"flex-basis")&&(p7HMY.ie<0||p7HMY.ie>9.9)&&(p7HMY.flex=!0),p7HMY.ie>9.9&&(p7HMY.flex=!0),n=P7_HMYgetByClass(document.body,"p7HMY","DIV"),t=0;t<n.length;t++)for(p7HMY.ctl[p7HMY.ctl.length]=n[t],P7_HMYremClass(a=n[t],"hmy-noscript"),p7HMY.flex||P7_HMYsetClass(a,"hmy-legacy"),(r=a.getAttribute("data-hmy-max-width"))&&""!==r&&(s=(o=r.split(","))[0]+o[1],a.style.maxWidth=s),i=P7_HMYgetByClass(a,"hmy-section","DIV"),e=0;e<i.length;e++)(r=i[e].getAttribute("data-hmy-basis"))&&""!==r?(s=(o=r.split(","))[0]+o[1],s=""===o[0]||"auto"==o[0]?"auto":s):s="auto",p7HMY.flex?(i[e].style[p7HMY.prf+"flex-basis"]=s,o.length>2&&(i[e].style[p7HMY.prf+"flex-grow"]=o[2])):i[e].style.width=s}function P7_HMYgetIEver(){var e,t,n,a=-1;return(e=(n=navigator.userAgent.toLowerCase()).indexOf("msie"))>-1&&(a=parseFloat(n.substring(e+4,e+8)),document.documentMode&&(a=document.documentMode),p7HMY.ie=a),(e=n.indexOf("trident/"))>0&&((t=n.indexOf("rv:"))&&t>0&&(a=parseInt(n.substring(t+3,n.indexOf(".",t)),10)),p7HMY.ie=a),a}function P7_HMYsetClass(e,t){if(e){var n,a;a=t,(n=e.className)&&n.length>0&&(a=-1==n.indexOf(t)?n+" "+t:n),a=a.replace(/\s+/g," "),e.className=a}}function P7_HMYremClass(e,t){if(e){var n,a;n=e.className,t=t.replace("-","-");var i=new RegExp("\\b"+t+"\\b");i.test(n)&&(a=(a=(a=(a=n.replace(i,"")).replace(/\s+/g," ")).replace(/\s$/,"")).replace(/^\s/,""),e.className=a)}}function P7_HMYgetByClass(e,t,n){var a,i,s,r=[];if("function"!=typeof e.getElementsByClassName)for(s=e.getElementsByTagName(n),a=0;a<s.length;a++)(i=s[a].className)&&i.indexOf(t)>-1&&(r[r.length]=s[a]);else r=e.getElementsByClassName(t);return r}function P7_HMYgetCSSPre(){var e,t,n=["animationDuration","WebkitAnimationDuration"],a="none",i=["","-webkit-"];for(t=document.createElement("div"),e=0;e<n.length;e++)if(void 0!==t.style[n[e]]){a=i[e];break}return a}function P7_HMYsupports(e){return document.createElement("div").style[e]}P7_HMYaddLoad();