(function(){function do_toggle(e){var t=document.getElementById(e);t.style.display==="block"?t.style.display="none":t.style.display="block"}function hideURLbar(){!window.pageXOffset&&!window.pageYOffset&&!window.location.hash&&window.scrollTo(0,1)}function mobile_menu(){function e(e){if(!is_mobile)return;e.preventDefault();var t=e.currentTarget.nextElementSibling;t.className==="sub-menu"?t.className="sub-menu show-on-mobile":t.className="sub-menu"}document.getElementById("toogle-search").addEventListener("click",function(e){var t=this.getAttribute("data-search");do_toggle(t),e.preventDefault()},!1),document.getElementById("toogle-menu").addEventListener("click",function(e){var t=this.getAttribute("data-menu");do_toggle(t),e.preventDefault()},!1);var t=document.getElementsByClassName("have-submenu");for(var n=0;n<t.length;n++)t[n].children[0].addEventListener("click",e,!1)}function set_viewportwidth(){typeof window.innerWidth!="undefined"?viewportwidth=window.innerWidth:typeof document.documentElement!="undefined"&&typeof document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth!==0?viewportwidth=document.documentElement.clientWidth:viewportwidth=document.getElementsByTagName("body")[0].clientWidth}define("jquery-mf-private",[],function(e){return jQuery.noConflict(!0)}),define("cookie",["jquery"],function(e){e.cookie=function(t,n,r){var i=!1;if("localStorage"in window)try{window.localStorage.setItem("isStorageAvailable","true"),i=!0,window.localStorage.removeItem("isStorageAvailable","true")}catch(s){}if(arguments.length>1&&String(n)!=="[object Object]"){r=e.extend({},r),r.maxChunkSize==undefined&&(r.maxChunkSize=3e3),r.maxNumberOfCookies==undefined&&(r.maxNumberOfCookies=20),r.useLocalStorage==undefined&&(r.useLocalStorage=!0);if(n===null||n===undefined){r.useLocalStorage&&i!=0&&localStorage.removeItem(t);for(var o=0;o<r.maxNumberOfCookies;o++){if(o==0)var u=e.chunkedcookie(t);else var u=e.chunkedcookie(t+"---"+o);if(u==null)break;e.chunkedcookie(t+"---"+o,null,r)}}else if(r.useLocalStorage&&i!=0)localStorage.setItem(t,n);else{var a=new RegExp(".{1,"+r.maxChunkSize+"}","g");if(n.match!=undefined){var f=n.match(a);for(var o=0;o<f.length;o++)o==0?e.chunkedcookie(t,f[o],r):e.chunkedcookie(t+"---"+o,f[o],r)}else e.chunkedcookie(t,n,r)}return null}if(r==undefined){var r;arguments.length>1&&String(n)==="[object Object]"?r=n:r={},r.maxNumberOfCookies==undefined&&(r.maxNumberOfCookies=20),r.useLocalStorage==undefined&&(r.useLocalStorage=!0)}if(i!=0){var n=localStorage.getItem(t);if(n!=undefined&&n!=null)return n}var n="";for(var o=0;o<r.maxNumberOfCookies;o++){if(o==0)var l=e.chunkedcookie(t);else var l=e.chunkedcookie(t+"---"+o);if(l==null){if(o==0)return null;break}n+=l}return n},e.chunkedcookie=function(t,n,r){if(arguments.length>1&&String(n)!=="[object Object]"){r=e.extend({},r);if(n===null||n===undefined)r.expires=-1;if(typeof r.expires=="number"){var i=r.expires,s=r.expires=new Date;s.setDate(s.getDate()+i)}return n=String(n),document.cookie=[encodeURIComponent(t),"=",r.raw?n:encodeURIComponent(n),r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("")}r=n||{};var o,u=r.raw?function(e){return e}:decodeURIComponent;return(o=(new RegExp("(?:^|; )"+encodeURIComponent(t)+"=([^;]*)")).exec(document.cookie))?u(o[1]):null}}),window.matchMedia||(window.matchMedia=function(){"use strict";var e=window.styleMedia||window.media;if(!e){var t=document.createElement("style"),n=document.getElementsByTagName("script")[0],r=null;t.type="text/css",t.id="matchmediajs-test",n.parentNode.insertBefore(t,n),r="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle,e={matchMedium:function(e){var n="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=n:t.textContent=n,r.width==="1px"}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}()),function(){if(window.matchMedia&&window.matchMedia("all").addListener)return!1;var e=window.matchMedia,t=e("only all").matches,n=!1,r=0,i=[],s=function(t){clearTimeout(r),r=setTimeout(function(){for(var t=0,n=i.length;t<n;t++){var r=i[t].mql,s=i[t].listeners||[],o=e(r.media).matches;if(o!==r.matches){r.matches=o;for(var u=0,a=s.length;u<a;u++)s[u].call(window,r)}}},30)};window.matchMedia=function(r){var o=e(r),u=[],a=0;return o.addListener=function(e){if(!t)return;n||(n=!0,window.addEventListener("resize",s,!0)),a===0&&(a=i.push({mql:o,listeners:u})),u.push(e)},o.removeListener=function(e){for(var t=0,n=u.length;t<n;t++)u[t]===e&&u.splice(t,1)},o}}(),function(e,t,n){var r=t.matchMedia;typeof module!="undefined"&&module.exports?module.exports=n(r):typeof define=="function"&&define.amd?define(e,function(){return t[e]=n(r)}):t[e]=n(r)}("enquire",this,function(e){"use strict";function t(e,t){var n=0,r=e.length,i;for(n;n<r;n++){i=t(e[n],n);if(i===!1)break}}function n(e){return Object.prototype.toString.apply(e)==="[object Array]"}function r(e){return typeof e=="function"}function i(e){this.options=e,!e.deferSetup&&this.setup()}function s(t,n){this.query=t,this.isUnconditional=n,this.handlers=[],this.mql=e(t);var r=this;this.listener=function(e){r.mql=e,r.assess()},this.mql.addListener(this.listener)}function o(){if(!e)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!e("only all").matches}return i.prototype={setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},s.prototype={addHandler:function(e){var t=new i(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var n=this.handlers;t(n,function(t,r){if(t.equals(e))return t.destroy(),!n.splice(r,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){t(this.

Next
Pg.: 1 2 3 4 5 6 ... 11


Back to home | File page

Subscribe | Register | Login | N