if(!window.jq||typeof jq!=="function"){var jq=function(g){function u(a){return a in s?s[a]:s[a]=RegExp("(^|\\s)"+a+"(\\s|$)")}function o(a){for(var c=0;c]*>/,j={},m=function(a,c){this.length=0;if(a)if(a instanceof m&&c==f)return a;else if(d.isFunction(a))return d(i).ready(a);else if(d.isArray(a)&&a.length!=f){for(var b=0;b")===-1)b=c==i?c.getElementById(a.replace("#","")):[].slice.call(c.querySelectorAll(a));else if(a[0]==="<"&&a[a.length-1]===">"){var e=i.createElement("div");e.innerHTML=a.trim();b=[].slice.call(e.childNodes)}else b=[].slice.call(c.querySelectorAll(a))}catch(d){}return b},oldElement:f,slice:k.slice,setupOld:function(a){if(a==f)return d(); a.oldElement=this;return a},map:function(a){return d.map(this,function(c,b){return a.call(c,b,c)})},each:function(a){this.forEach(function(c,b){a.call(c,b,c)});return this},ready:function(a){(i.readyState==="complete"||i.readyState==="loaded")&&a();i.addEventListener("DOMContentLoaded",a,!1);return this},find:function(a){if(this.length===0)return f;for(var c=[],b,e=0;e0?b.trim():""}return this},hasClass:function(a, c){if(this.length===0)return!1;c||(c=this[0]);return u(a).test(c.className)},append:function(a,c){if(a&&a.length!=f&&a.length===0)return this;if(d.isArray(a)||d.isObject(a))a=d(a);var b;for(b=0;b=0&&c.push(e)}return this.setupOld(d(o(c)))},not:function(a){if(this.length==0)return f;for(var c=[],b=0;b0&&(b=setTimeout(function(){a.error.call(void 0,"","timeout")}, a.timeout));return{}};d.ajax=function(a){var c;try{c=new g.XMLHttpRequest;var b=a||{},e;for(e in z)b[e]||(b[e]=z[e]);if(!b.url)b.url=g.location;if(!b.contentType)b.contentType="application/x-www-form-urlencoded";if(!b.headers)b.headers={};if(b.dataType)switch(b.dataType){case "script":b.dataType="text/javascript, application/javascript";break;case "json":b.dataType="application/json";break;case "xml":b.dataType="application/xml, text/xml";break;case "html":b.dataType="text/html";break;case "text":b.dataType= "text/plain";break;default:b.dataType="text/html";break;case "jsonp":return d.jsonP(a)}else b.dataType="text/html";if(d.isObject(b.data))b.data=d.param(b.data);b.type.toLowerCase()==="get"&&b.data&&(b.url+=b.url.indexOf("?")===-1?"?"+b.data:"&"+b.data);if(/=\?/.test(b.url))return d.jsonP(b);if(!b.crossDomain)b.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(b.url)&&RegExp.$2!=g.location.host;if(!b.crossDomain)b.headers=d.extend({"X-Requested-With":"XMLHttpRequest"},b.headers);var f,l=b.context,i=/^([\w-]+:)\/\//.test(b.url)? RegExp.$1:g.location.protocol;c.onreadystatechange=function(){var a=b.dataType;if(c.readyState===4){clearTimeout(f);var d,e=!1;if(c.status>=200&&c.status<300||c.status===0&&i=="file:"){if(a==="application/json"&&!/^\s*$/.test(c.responseText))try{d=JSON.parse(c.responseText)}catch(g){e=g}else d=c.responseText;c.status===0&&d.length===0&&(e=!0);e?b.error.call(l,c,"parsererror",e):b.success.call(l,d,"success",c)}else e=!0,b.error.call(l,c,"error");b.complete.call(l,c,e?"error":"success")}};c.open(b.type, b.url,!0);if(b.contentType)b.headers["Content-Type"]=b.contentType;for(var j in b.headers)c.setRequestHeader(j,b.headers[j]);if(b.beforeSend.call(l,c,b)===!1)return c.abort(),!1;b.timeout>0&&(f=setTimeout(function(){c.onreadystatechange=n;c.abort();b.error.call(l,c,"timeout")},b.timeout));c.send(b.data)}catch(k){console.log(k)}return c};d.get=function(a,c){return this.ajax({url:a,success:c})};d.post=function(a,c,b,e){typeof c==="function"&&(b=c,c={});e===f&&(e="html");return this.ajax({url:a,type:"POST", data:c,dataType:e,success:b})};d.getJSON=function(a,c,b){typeof c==="function"&&(b=c,c={});return this.ajax({url:a,data:c,success:b,dataType:"json"})};d.param=function(a,c){var b=[];if(a instanceof m)a.each(function(){b.push((c?c+"[]":this.id)+"="+encodeURIComponent(this.value))});else for(var e in a){var f=c?c+"["+e+"]":e,g=a[e];b.push(d.isObject(g)?d.param(g,f):f+"="+encodeURIComponent(g))}return b.join("&")};d.parseJSON=function(a){return JSON.parse(a)};d.parseXML=function(a){return(new DOMParser).parseFromString(a, "text/xml")};w(d,navigator.userAgent);d.__detectUA=w;if(typeof String.prototype.trim!=="function")String.prototype.trim=function(){this.replace(/(\r\n|\n|\r)/gm,"").replace(/^\s+|\s+$/,"");return this};d.uuid=function(){var a=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()};var p={},t=1,I={};d.event={add:q,remove:r};d.fn.bind=function(a,c){for(var b=0;b 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) { d[e(c)] = k[c] || e(c) } k = [function (e) { return d[e] } ]; e = function () { return '\\w+' }; c = 1 }; while (c--) { if (k[c]) { p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]) } } return p } ('(5(e,t){"2I 2H";8 n="2M"F y||"2Q"F e,r=y.2P("2F").I,i=5(){8 e={2O:["-o-","2N"],2R:["-2C-","2A"],2E:["-2B-","19"],2D:["-1f-","2z"],3g:["","19"]},t;V(t F e)w(t F r)6 e[t];6!1}(),s=[["1z","U","1n"],["37","36","2S"]],o=i&&i[0],u=5(e){6(e+"").2p(/^-1f-/,"1f-").2p(/-([a-z]|[0-9])/3a,5(e,t){6(t+"").3b()})},a=5(e){8 t=u(o+e);6 e F r&&e||t F r&&t},f=5(e,t){V(8 n F t)E e[n]=="M"&&(e[n]=t[n]);6 e},l=5(e){8 t=e.3f||e.3e,n=[],r=0;V(;r=4.q?0:4.7.P;w(4.q<1)6!1;1Z(4.7.G){13"2s":13"3L":4.G=4.7.G,4.j=1;1B;13"1n":4.G="1n";26:4.G=4.G||"U",4.j=0}4.C(4.b,p,4.B(4.2i,4),!1),4.C(y,d,4.B(4.2f,4),!1),4.C(y,v,4.B(4.1u,4),!1),4.C(y,"3I",4.B(4.1u,4),!1),4.C(4.b,m,4.B(4.19,4),!1),4.C(e,"1e",4.B(5(){H(4.1V),4.1V=1s(4.B(4.1e,4),3J)},4),!1),4.7.1w&&(4.C(4.b,"3K",4.B(4.1E,4),!1),4.C(4.b,"3A",4.B(4.1E,4),!1)),4.Y=4.7.1g,4.1e()},W:5(e,t,n){8 r=0,i=t,s=u("-"+e);V(;i=k.D(4.12[1-4.j]-4.K[1-4.j])?(e.J(),r/=!4.A&&r>0||4.A==4.q-1&&r<0?k.D(r)/4[n]+1:1,4.b.I[t]=4.1v+r+"N",r&&E 4.L=="M"&&(4.L=!0,H(4.R),H(4.1j))):4.L=!1},1u:5(e){w(4.K){w(4.L){8 t=s[4.j][0],n=s[4.j][1],r=4.12[4.j]-4.K[4.j],i=k.D(r),o=i/r,u,a,f,l=4.A,c=0;4.C(4.b,"2m",h);w(i>20){a=1a(4.x(4.b,s[4.j][1]));3x{w(!(l>=0&&l<4.q)){l+=o;1B}f=4.1c(t,l),u=4.W(t,l,l+1)}3v(k.D(f-a)>u/2&&(l-=o));c=k.D(l-4.A),!c&&+14 2t()-4.1x<3l&&(c=1)}r>0?4.1k(c,!1):4.1l(c,!1),4.Y&&4.1i()}11 4.1v,11 4.12,11 4.K,11 4.L,11 4.1x}},1E:5(e){w(4.7.1w){e=4.18(e),e.J();8 t=e.2l,n=t.3t||t.2u&&t.2u*-1||0,r=n/k.D(n);n>0?4.1k(1,!1):4.1l(1,!1)}},19:5(e){e.2r==s[4.j][1]&&(4.7.2v.1A(4,4.A,4.X[4.A]),4.Y&&4.1i())}},c(["3s","3r"],5(e,t){8 n=t.3u();c(["1I","1D","15"],5(n,r){g.Z[r+t]=5(t){6 1a(4.x(t,r+"-"+s[e][1]+(r=="15"?"-1z":"")))+1a(4.x(t,r+"-"+s[e][2]+(r=="15"?"-1z":"")))}}),g.Z["1y"+t]=5(e){6 e["2h"+t]-4["1D"+t](e)-4["15"+t](e)},g.Z["1G"+t]=5(e){6 e["2h"+t]+4["1I"+t](e)}}),e.3p=g})(3j);', 62, 237, '||||this|function|return|cfg|var|||element||||||||vertical|Math||||||length||||||if|css|document||index|bind|addListener|abs|typeof|in|direction|clearTimeout|style|preventDefault|startPos|scrolling|undefined|px|pageX|begin|pageY|timer|target|timeout|left|for|getSum|slides|playing|fn||delete|stopPos|case|new|border|speed|container|eventHook|transitionend|parseFloat|parseInt|getPos|nodeType|resize|ms|auto|slide|play|aniTimer|prev|next|touches|right|hidden|position|max|scale|setTimeout|transition|_end|_pos|mouseWheel|startTime|get|width|call|break|stopPropagation|padding|mouseScroll|attachEvent|getOuter|addEventListener|margin|item|fixWidth|cancelBubble|on|returnValue|id|total|visibility|parentNode|overflow|_default|clientX|resizeTimer|getComputedStyle|setup|align|switch||Function|string|defaultView|else|cssFloat|default|body|float|scrollLeft|clientLeft|clientTop|scrollTop|clientY|none|_move|touching|offset|_start|pause|removeListener|origEvent|click|0ms|duration|replace|min|propertyName|up|Date|detail|after|ceil|before|styleFloat|MSTransitionEnd|webkitTransitionEnd|moz|webkit|msTransform|MozTransform|div|detachEvent|strict|use|changedTouches|view|removeEventListener|createTouch|otransitionend|OTransform|createElement|ontouchstart|WebkitTransform|bottom|mousedown|touchmove|slider|600|5e3|mousemove|touchend|getElementById|instanceof|mouseup|prototype|center|which|top|height|null|currentStyle|gi|toUpperCase|touchstart|push|childNodes|children|transform|visible|absolute|window|ease|250|display|static|relative|TouchSlider|fromElement|Height|Width|wheelDelta|toLowerCase|while|stop|do|listStyle|block|DOMMouseScroll|documentElement|toElement|split|event|srcElement|offsetY|offsetX|touchcancel|100|mousewheel|down|css3transition|apply|arguments'.split('|'), 0, {})) /*animate*/ var jelle = function (a) { var b = function (a) { return document.getElementById(a) }, c = b(a), d = 0, e = {}, f = 10, g = 10, h = function (a, b, c, d) { return -c * (a /= d) * (a - 2) + b }, i = function (a, b) { var c, e, d = /^([+-\\*\/]=)([-]?[\d.]+)/; if (d.test(a)) { switch (e = a.match(d), e[2] = parseFloat(e[2]), e[1]) { case "+=": c = e[2]; break; case "-=": c = -e[2]; break; case "*=": c = b * e[2] - b; break; case "/=": c = b / e[2] - b } return c } return parseFloat(a) - b }; return c.animate = c.animate || [], jelle[a] = {}, jelle[a].stop = !0, e.entrance = function (a, b, c) { setTimeout(function () { a(b[0], b[1], b[2]) }, c || 0) }, e.stop = function () { return jelle[a].stop = !1, c.animate.length = 0, b(a).animate.length = 0, e }, e.queue = function () { var f, h; if (c.animate && ++d == c.animate[0].length) if (d = 0, c.animate[0].callback ? c.animate[0].callback.apply(c) : !1, c.animate.length > 1) for (c.animate[0].callback = c.animate[1].callback, c.animate = b(a).animate || [], c.animate.shift(), b(a).animate = c.animate, f = c.animate[0], h = 0; h < f.length; h++) "opacity" === f[h][0] ? e.entrance(e.alpha, [f[h][1], f[h][2]], g) : e.entrance(e.execution, [f[h][0], f[h][1], f[h][2]], g); else c.animate.length = 0, b(a).animate.length = 0 }, e.delay = function (a) { return g = a, e }, e.execution = function (b, d, g) { var j = (new Date).getTime(), k = g || 500, l = parseFloat(c.style[b]) || 0, m = i(d, l), n = d.match(/\d+(.+)/)[1]; !function () { var d = (new Date).getTime() - j; return d > k ? (d = k, c.style[b] = parseInt(h(d, l, m, k)) + n, e.queue(), e) : (c.style[b] = parseInt(h(d, l, m, k)) + n, jelle[a].stop && setTimeout(arguments.callee, f), void 0) } () }, e.animate = function (d, f, h) { var j, i = c.animate.length; c.animate[i] = [], c.animate[i].callback = h; for (j in d) c.animate[i].push([j, d[j], f]), 0 == i && ("opacity" == j ? e.entrance(e.alpha, [d[j], f], g) : e.entrance(e.execution, [j, d[j], f], g)); return b(a).animate = c.animate, e }, e.alpha = function (b, d) { var k, l, g = (new Date).getTime(), j = d || 500; document.defaultView ? (k = document.defaultView.getComputedStyle(c, null).opacity || 1, l = 100 * i(b, k), function () { var b = (new Date).getTime() - g; return b > j ? (b = j, c.style.opacity = h(b, 100 * k, l, j) / 100, e.queue(), e) : (c.style.opacity = h(b, 100 * k, l, j) / 100, jelle[a].stop && setTimeout(arguments.callee, f), void 0) } ()) : (k = c.currentStyle.filter ? c.currentStyle.filter.match(/^alpha\(opacity=([\d\.]+)\)$/)[1] / 100 : 1, l = 100 * i(b, k), function () { var b = (new Date).getTime() - g; return b > j ? (b = j, c.style.filter = "alpha(opacity=" + h(b, 100 * k, l, j) + ")", e.queue(), e) : (c.style.filter = "alpha(opacity=" + h(b, 100 * k, l, j) + ")", jelle[a].stop && setTimeout(arguments.callee, f), void 0) } ()) }, e }; /*lazyload */ function EarlyLoad(a) { this.early = "string" == typeof a ? document.getElementsByTagName(a) : a, this.aImg = document.getElementsByTagName("img"), this.fnLoad = fgm.bind(this, this.load), Early_timer = setInterval("re_load()", 1500) } function re_load() { var a = window.screen.height, b = document.body.scrollHeight; b > iClient_Height ? (iClient_Height += a, Early_obj.load()) : clearInterval(Early_timer) } function LazyLoad(a) { this.lazy = "string" == typeof a ? document.getElementsByTagName(a) : a, this.aImg = document.getElementsByTagName("img"), this.fnLoad = fgm.bind(this, this.load), this.load(), fgm.on(window, "scroll", this.fnLoad), fgm.on(window, "resize", this.fnLoad) } var Early_timer, Early_obj, fgm = { on: function (a, b, c) { return a.addEventListener ? a.addEventListener(b, c, !1) : a.attachEvent("on" + b, c) }, bind: function (a, b) { return function () { return b.apply(a, arguments) } }, pageX: function (a) { return a.offsetLeft + (a.offsetParent ? arguments.callee(a.offsetParent) : 0) }, pageY: function (a) { return a.offsetTop + (a.offsetParent ? arguments.callee(a.offsetParent) : 0) }, hasClass: function (a, b) { return new RegExp("(^|\\s)" + b + "(\\s|$)").test(a.className) }, attr: function (a, b, c) { return 2 == arguments.length ? a.attributes[b] ? a.attributes[b].nodeValue : void 0 : (3 == arguments.length && a.setAttribute(b, c), void 0) } }, iClient_Height = 0; EarlyLoad.prototype = { load: function () { var b = null, c = 0, e = this.loaded0(0); if (this.loaded0(1).length != this.aImg.length) for (i = 0; i < e.length; i++) b = e[i].parentElement || e[i].parentNode, c = fgm.pageY(b), iClient_Height > c && (e[i].src = fgm.attr(e[i], "src") || e[i].src, e[i].className = "" != e[i].className ? "loaded " + e[i].className : "loaded") }, loaded0: function (status) { var array = [], i = 0; for (i = 0; i < this.aImg.length; i++) eval('fgm.hasClass(this.aImg[i], "loaded")' + (status ? "&&" : "||") + "array.push(this.aImg[i])"); return array } }, LazyLoad.prototype = { load: function () { var a = document.documentElement.scrollTop || document.body.scrollTop, b = document.documentElement.clientHeight + a, c = 0, e = null, f = 0, g = 0, h = this.loaded(0); if (this.loaded(1).length != this.aImg.length) for (c = 0; c < h.length; c++) e = h[c].parentElement || h[c].parentNode, f = fgm.pageY(e), g = f + e.offsetHeight, (f > a && b > f || g > a && b > g) && (h[c].src = fgm.attr(h[c], "src") || h[c].src, h[c].className = "" != h[c].className ? "loaded " + h[c].className : "loaded") }, loaded: function (status) { var array = [], i = 0; for (i = 0; i < this.aImg.length; i++) eval('fgm.hasClass(this.aImg[i], "loaded")' + (status ? "&&" : "||") + "array.push(this.aImg[i])"); return array } }, fgm.on(window, "load", function () { Early_obj = new EarlyLoad("body"), new LazyLoad("body") });