(function(a,l,c,h,fa,ca,b,x,ga,ea,j,R,ia,m,ha,Q,C,J,H,v,o,y,p,z,i,k,g,q,r,u,w,s,t,n,U,xa,d){ a(l,[c,h],function(L,F){function M(){}function N(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);return a}function O(a,b){return(b=b||g)&&b.getElementById&&b.getElementById(a)}function A(a,b){var d=b?"string"==typeof a?O(a):a:g;return d?d.getElementsByTagName(b||a):[]}function B(a,b){return~(" "+a.className+" ").indexOf(" "+b+" ")}function P(a,b){B(a,b)&&(a.className=(" "+a.className+" ").replace(" "+b+" "," ").slice(1,-1),P(a,b))}function Y(a,b){var d,f=a.ownerDocument.defaultView; f&&(f=f.getComputedStyle(a,null))&&(d=f.getPropertyValue(b.replace(Z,"-$1").toLowerCase()));return d||a.style[b]}function aa(a,b){var d,f,h=a.style,c=a.currentStyle&&a.currentStyle[b];if(!ba.test(c)&&ca.test(c)){d=h.left;if(f=a.runtimeStyle&&a.runtimeStyle.left)a.runtimeStyle.left=a.currentStyle.left;h.left="fontSize"===b?"1em":c||0;c=h.pixelLeft+"px";h.left=d;f&&(a.runtimeStyle.left=f)}return""===c?"auto":"curStyle"}function G(a){var b=a.offsetTop,d=a.offsetLeft,f,h=c.curCSS,m="static"!=h(a,"position"); b||(b=(parseFloat(h(a,"marginTop"))||0)+(m?parseFloat(h(a,"top"))||0:0));d||(d=(parseFloat(h(a,"marginLeft"))||0)+(m?parseFloat(h(a,"left"))||0:0));m&&a.getBoundingClientRect&&(f=c.offset(a,!0));!b&&f&&(b=f.top);!d&&f&&(d=f.left);return{top:b,left:d}}function da(a,b){var d,f,c;c=a&&a.ownerDocument;if(!c)return null;if(!b&&a===c.body)return G(a);try{d=a.getBoundingClientRect()}catch(m){}if(!d)return{top:0,left:0};f=c.body;c=c.documentElement;return{top:d.top+(c.scrollTop||f.scrollTop)-(c.clientTop|| f.clientTop||0),left:d.left+(c.scrollLeft||f.scrollLeft)-(c.clientLeft||f.clientLeft||0)}}function ea(a){var b,d,f,c,m,e,k,g;m=a&&a.ownerDocument;if(!m)return null;if(a===m.body)return G(a);d=a.offsetParent;f=m.documentElement;c=m.body;b=(m=m.defaultView)?m.getComputedStyle(a,null):a.currentStyle;e=a.offsetTop;k=a.offsetLeft;for(g=Q();(a=a.parentNode)&&a!==c&&a!==f&&(!g.sfp||"fixed"!==b.position);)b=m?m.getComputedStyle(a,null):a.currentStyle,e-=a.scrollTop,k-=a.scrollLeft,a===d&&(e+=a.offsetTop, k+=a.offsetLeft,!g.dnab||g.dabftac&&fa.test(a.nodeName)||(e+=parseFloat(b.borderTopWidth)||0,k+=parseFloat(b.borderLeftWidth)||0),d=a.offsetParent),g.sbfonv&&"visible"!==b.overflow&&(e+=parseFloat(b.borderTopWidth)||0,k+=parseFloat(b.borderLeftWidth)||0);if("relative"===b.position||"static"===b.position)e+=c.offsetTop,k+=c.offsetLeft;g.sfp&&"fixed"===b.position&&(e+=Math.max(f.scrollTop,c.scrollTop),k+=Math.max(f.scrollLeft,c.scrollLeft));return{top:e,left:k}}function ga(a){return"[object Array]"== Object.prototype.toString.call(a)}function R(a){var b,d,f={relativeX:a[t[0]],relativeY:a[t[1]]};null==a.pageX&&null!=a.clientX?(b=g.documentElement,d=g.body,f.pageX=a.clientX+(b&&b.scrollLeft||d.scrollLeft||0),f.pageY=a.clientY+(b&&b.scrollTop||d.scrollTop||0)):(f.pageX=a.pageX,f.pageY=a.pageY);return f}function ha(a,b){var d,f,h,e=c.curCSS;a=a.parentNode;if(!a)return!1;if(n.$sf)return!0;d=a.ownerDocument;f=d.body;if(p&&(8>d.documentMode||"BackCompat"==d.compatMode))return!1;for(b&&(b+=1);a&&a!=f;){if("hidden"== e(a,"overflow"))return!1;if("fixed"==e(a,"position"))break;else if(b&&(h=parseInt(e(a,"z-index"),10))&&h
';b.insertBefore(d=d.firstChild,b.firstChild);f=d.childNodes;a.dnab=5!==f[0].firstChild.offsetTop;a.sfp=20===f[1].firstChild.offsetTop;a.sbfonv=-5===f[2].firstChild.offsetTop;a.dabftac=5===A(d,"td").offsetTop;b.removeChild(d);b=d= f=null;return Q=a},x=D.vendor;e=D.userAgent;var r=F.RMB,c=r.lib||(r.lib={}),y=/Apple Computer/i.test(x),r=/Google/i.test(x),z=c.isIPad=/iPad/i.test(e),E=c.isIPhone=/iPhone/i.test(e),z=c.isIOS=z||E,J=c.isTouch="ontouchstart"in g.documentElement||"ontouchstart"in n,oa=c.isOrientation="orientation"in n,E=c.isAndroid=!z&&/Android/i.test(e),K=c.isMobile=/Mobile|Mobi|Tablet|Nokia/i.test(e)||J,p=c.isIE=/msie|Trident/i.test(e),J=c.isFF=/Firefox[\/.]+[^\s]/i.test(e),K=c.isWinPhone=p&&K&&/Phone/gi.test(e), pa=c.isOpera=/Opera/i.test(e),qa=c.isOperaMobile=/Opera\s(?!Mini)/i.test(e),ra=c.isOperaMini=/Opera\sMini/i.test(e),x=c.isOperaWebKit=/OPR/i.test(e)&&/Opera Software/i.test(x),X=c.isChrome=/(Chrome|CriOS)+\/[\d\.]+\s/i.test(e)&&(z?y:r),y=c.isSafari=!/Chrome|CriOS|Skyfire/i.test(e)&&/Safari+\/[\.\d]+$/i.test(e)&&y,r=c.isInternet=E&&!X&&oa&&/Safari\/[\.\d]+$/i.test(e)&&r,sa=p?"msie":J?"firefox":qa?"operaMobile":ra?"operaMini":pa?"opera":x?"operaWebKit":X?"chrome":y?"safari":r?"internet":!1;c.isAndroidApp= E&&!/^(?:Opera|Mozilla)/i.test(e);c.isIOSF=z&&(l=/\sos\s(\d+)_\d+/i.exec(e))&&(l=4>0);c.isMACOS=/Mac OS X/i.test(e);K&&(l=/Windows Phone (OS )?(\d+[\.\d]*)/i.exec(e))&&l[2]&&(c.winPhoneVer=parseFloat(l[2]));c.isEdge=/Edge\/[\.\d]+$/i.test(e);c.isAfmaSDK=/afma-sdk/i.test(e);c.browser=function(){return sa};p&&("Microsoft Internet Explorer"==D.appName&&/MSIE (\d+[\.\d]*)/i.exec(e)||/rv:(\d+[\.\d]*)/i.exec(e))&&(V=c.ieVersion=parseFloat(RegExp.$1));y&&(e=/Version.([\d.]+)/.exec(e),c.safariVersion= parseFloat(e&&e[1]));c.inherit=function(a,b){a.super_=b;M.prototype=b.prototype;a.prototype=new M;a.prototype.constructor=a};c.gid=function(a){var b=+new Date;return(a||"")+(b+b*~~(1E4*Math.random())).toString(36)};c.byId=O;c.byTag=A;c.bind=function(a,b){return function(){return b.apply(a,arguments)}};c.extend=N;c.isMouseLeave=function(a,b){var d,f,c=b.length;if(a&&"mouseout"==a.type)for(d=a.relatedTarget||a.toElement;d;){for(f=0;fV?function(){return!1}:ha;F.lib||(F.lib= c);return c}); a(fa,[h],function(f){function g(a){this._delay=a||0;this._diff=this._start=this._count=this._partial=0;this.active=!1;this.count=this.time=0;this._list=[]}var h=Date.now||function(){return(new Date).getTime()};f.ET.Timer=g;g.calculateEngagement=function(){var a,b,e,d;d=arguments;var c=[],f=h(),g=0;for(a=0;a=this._delay&&(this.active=!e,this.count=this._count+1,this.time=this._partial+c,this._diff=c,d||e||a.push(b))}!d||b&&!e||a.push(h());return this};f.start=function(){this._start||(this._start=h(),this.update());return this};f.stop= function(){this._start&&(this.update(),this._count=this.count,this._partial=this.time,this._start=0,this.update());return this};f.paused=function(a){a&&!this._paused?(this._paused=h(),this.update()):!a&&this._paused&&(this.update(),this._paused=0,this._partial=this.time,this._start&&(this._start=h()),this.update());return this};return g}); a(ca,[c,b,h,l,x],function(f,u,b,y,l){b=b.ET;f=f.window;var m=Date.now||function(){return(new Date).getTime()},e=new l;b.ActiveTab=e;e.init=function(g){function f(){var b,a=y.removeEvent;n=!0;d.clear();c&&(b=g.top.document,a(g.top,"scroll",c),a(b,"mousemove",c),a(b,"keydown",c),a(b,"mousedown",c),a(b,"mouseup",c),c=null)}function b(){var e=h&&p&&q,a;a=m();var c=a-r;t?h=!l[t]:v?(r=a,c>z&&d.emit(d.IDLE,c)):k&&(h=cthis.minTime;a&&!e?(b.start(),c.start(),d.paused(!1)):!a&&e&&(b.stop(),c.stop(),d.paused(!0))}e.ET.Counter=g;e=g.prototype;e.update=function(a,b,d){a=this.visiblePercent=Math.round(100*b/a)||0;this.exposure.modifier(b/d||0);k.call(this,a>=this.minPercent)};e.visiblePercent=0;e.action=function(a){var b=this,d={start:function(){b.mouse.start();b.delaylessMouse.start()},stop:function(){b.mouse.stop();b.delaylessMouse.stop()}};if("stop"===a)return k.call(b,!1);if((a= {over:1,out:2,expand:3,collapse:4,videoPlay:5,videoStop:6}[a])&&a--)[d,b.expand,b.video][a>>1][a%2?"stop":"start"]()};return g}); a(j,[h,l],function(t,k){function p(){function e(a){h.push(this);this._doc=a;this._events={};this.dispatchHover=k.bind(this,q)}function q(){var a,c,b;c=e._hoverTarget;for(var d=[],f=[],g=e._hoverChain,h=RegExp("adform-domevents-hover-\\S+","g");c&&"undefined"!=(a=typeof c.className);)"string"==a&&0<=c.className.indexOf("adform-domevents-hover-")&&d.unshift(c),c=c.parentNode;for(b=Math.max(d.length,g.length)-1;0<=b&&g[b]!=d[b];b--){if(g[b])for(a=n(g[b].className,"adform-domevents-hover-", h),c=0;ca.className.indexOf(b)&&(a.className+=" "+b,this.setup(c))};m.off=function(a,c,b){if(b=b._adform_dom_key)a.className=a.className.replace("adform-domevents-"+c+"-"+b,"")};m.destroy=function(){var a,c,b,d=this._events, f=this._doc,g=e._hoverChain;for(a in d)for(c in b=d[a],b)k.removeEvent(f,c,b[c]);for(a=h.length;0e[b]&&(d.fullSearch=!0),m.push(new B(e[b],1E3*f[b]));d.viewImpr=new B(h, 1E3*g);b=m[0];d.visibility=b.visibility;d.mouse=b.mouse;d.delaylessMouse=b.delaylessMouse;d.video=b.video;d.expand=b.expand;d.exposure=b.exposure;d.clicks={length:0};d.jsClicksCount=0;d.flashClicksCount=0;d.hmClicks=[];d.jsClicks=[];d.flashClicks=[];d.children=[];d.dimensions=[{width:a.width,height:a.height}];d.bannerProperties={};d.status="NOT VISIBLE";for(b=0;b=b?a:0}var D=k.window.parent,N={PageGeometry:0,IntersectionObserver:1,mozInnerScreen:2,DOMEvents:3,elementFromPoint:4,requestAnimationFrame:5,SafeFrame:6,MRAID:7,wisp:8,AMP:9,OMID:10},x=F.ET;l.inherit(p,G);var z="bn unloadID cookieID id width height sendUnloadData isMobile".split(" ");x.EngagementItem=p;k=p.prototype;k.attr=function(a,b){var c=this._attributes,e=arguments.length; return 1a){for(var f=0,g=u.length,q;f>1).join(";"),(d+e.join("|")).length>a?g=q:f=q+1;e[9]=u.slice(0,q).join(";");f=d+e.join("|")}this.isFirst= 0;return f}};k.addChild=function(a){this.dimensions.push({width:a.width,height:a.height});this.children.push(a);a._attributes=this._attributes;a.unloadID&&(this.unloadID=a.unloadID)};k.destroy=function(){var a,b,c=this._elements,e=this.mouseCallbacks;for(c&&(a=c[0],b=c.length);b--;)C.destroy(c[b]);e&&a&&(l.removeEvent(a,"mouseenter",e.enter),l.removeEvent(a,"mouseleave",e.leave));this._elements=this.object=null};return p}); a(C,[c,h,ha,R,ca,b,l,x,J,ia,H,v],function(t,n,G,x,u,y,m,g,p,H,I,v){function k(){var a,b=this;if(k._instance)return k._instance;if(!(b instanceof k))return new k;k._instance=n.ADFEventsInstance=b;b.maxTime=6E5;b.items=b.events={};b.version=15;b.windows=[];b.byBN={};b._items={};b.startTime=q();b.friendly=!1;try{J.document.getElementById, b.friendly=!0}catch(c){}b.queryLimit=2E3;b.update=m.bind(b,K);b.optimized=m.bind(b,L);m.addEvent(l,"beforeunload",y.nop);m.addEvent(l,"unload",function(){b.send(!0);b.destroy()});a=m.bind(b,z);setTimeout(a,5E3);u.on("visible",function(){a()});setTimeout(a,54E4);b.setupWindow(l);try{r!=M&&r.document.getElementById&&b.setupWindow(r)}catch(c){}try{l.MESSENGER_POPUP&&b.setupWindow(N)}catch(c){}try{n.ADF_STUB&&b.setupWindow(r.parent)}catch(c){}b.registerAll();b.registerInEvents()}function A(){var a=B(); if(a)for(var b in a)this.register(a[b])}function C(a){var b=B();b&&(a=this.register(b[a]))&&a.update()}function z(a){this.sendQuery(this.query())}function B(){var a=I();return a&&a.banners}function K(){var a,b,c,d,e,h=[],f=this.items;u.update();for(a in f)b=f[a],c=b.settings,d=c.publisherUnloadData,e=c.rtbdata,c=c.rtbwp,b.update&&(b.update(),b.counters&&D(b.counters)&&h.push(b),b.viewImpr&&D([b.viewImpr])&&(d&&this.sendQuery(this.query([b],!0),"&pud="+d),e&&c&&q()-this.startTime<=this.maxTime&&p.sendEvent(b.id, 178,0,"Viewable impressions","&rtbwp="+c+"&rtbdata="+e),b.viewImpr=null));h.length&&this.sendQuery(this.query(h));this.emit("update")}function D(a){for(var b=!1,c=a.length;c--;)b=!a[c].imprest&&(a[c].imprest=a[c].impression)||b;return b}function O(a,b){var c=this._items[a];if(c){b=","+b+",";var d=E,e;for(e in d)d[e]&&~d[e].indexOf(b)&&c.engage(e)}}function L(){var a=q();100c){for(var d=a.split("@@"),e=d.shift(),h=e+"@@"+d[0],f=1;f c&&(v(h,w),h=e),h+="@@"+d[f];v(h,w)}else v(a,w)}};g.addElement=function(a,b,c){if(a=this._items[a]){c&&this.setupWindow(c);c=a.settings.trackElements;var d=c.length;c.push.apply(c,b);a._elements=null;a.elements();c.length=d;a._elements=null}};g.removeElement=function(a,b,c){this._items&&(a=this._items[a])&&c&&(this.removeWindow(c),a._elements=null)};g.setupWindow=function(a){for(var b=this.windows,c=0;c>0;!l[d]&&(l[d]=c>>0);break;case "ewidth":case "eheight":d= d.slice(1);J[d]=ca[d]=l[d]=C[d]=c>>0;break;case "wmode":case "version":case "quality":case "defaultClickTAG":B[d]=J[d]=u[d]=C[d]=c;break;case "flashvars":g=B[d]=J[d]=u[d]=C[d]=c;break;case "link":F=sa?na(encodeURIComponent(c)):c;break;case "css":m=c.split("/assets/css/"),a.scriptsBase=z.scriptBase||m[0]+"/",c=a.scriptsBase+"assets/css/"+m[1];case "sources":a[d]=l[d]=c;break;case "ADFPoliteSrc":S.src=c;S.assetId=la(c,v);break;case "showType":a[d]=0==c?1:2==c?2:0;break;case "hideType":a[d]=1==c?0:1; break;case "floatPosition":a[d]=ma[c];break;case "behavior":a[d]=ja[c];break;case "zIndex":oa=parseInt(c,10);a[d]=isNaN(oa)?a.zIndex:oa;break;default:a[d]=c}Ya=a.userParams=a.userParams||{};if(e=G&&G.banners&&G.banners[a.xId]){if(jb=e.csImpressionUrl)a.csImpressionUrl=jb;e.disableFlash&&(Ia._noFlash=!0);if(kb=e.dynamicAdContent)g.dynamicAdContent=kb;if(Za=e.compoundSeqNo)a.seqNo=g.seqNo=Za;!1===e.stubFileExists&&(a.forceBackup=!0);e.cookieID&&(g.icid=e.cookieID);if($a=G.getPropByBn&&G.getPropByBn("animURL", Gb))Ya.animURL=$a;if(ab=G.getRotSeed&&G.getRotSeed().id)g.hash=ab;if(bb=e.rotseqno)g.rotseqno=bb;if(cb=e.smid)g.smid=cb;if(db=e.timeDiff)g.timeDiff=db;if(hb=e.dcoEngineId)g.dcoEngineId=hb;if(ib=e.trackingSetupId)g.trackingSetupId=ib;a.bannerId=e.ban;if(!H.ctAPI&&e.isDSPTag&&n!=n.parent)try{n.parent.document.getElementById,n.inFIF=a.iab=!0}catch(va){z.ADFIframe=1}if(eb=e.unloadScriptVersion)a.unloadVersion="v"+eb;if(e.sendUnloadData||e.publisherUnloadData)a.sendUnload=!0;a.bv=e.bannerVersion}"takeover"== a.behavior&&(a.autoShow=.01,a.autoHide=8);H.msAPI&&!a.showType&&(a.showType=1);g.expandsTo=a.expPosition;g.wmode=B.wmode;if(fb=n.ADFDomainCDN)g.hvfdomain=fb;w=a.type;w==Y&&"slider"==a.behavior&&(w=a.type=Bb);if(w==P||w==Pa)F=v.clickTAG;if(F){if(sa)for(D=3;D--&&(2>(Wa=F.indexOf("://"))||8>0,a.floatFrom=e.floatFrom),qa=parseInt(e.showFloat,10),a.showFloat=isNaN(qa)||1<=qa?1:0));w==ka&&(J.src=B.src,C.src=u.src,"sidekick"!=a.behavior&&(a.sideKickAnim=1),!a.sideKickAnim&& (g.useAsMask=!1));E=u.flashvars;ra=n.ADFDynamicDomain;E.staticDomain=E.domain;n.ADFDomain&&ra&&(E.domain=encodeURIComponent(ra));for(k in E){c=E[k];if("object"!==typeof c)try{c=decodeURIComponent(c)}catch(va){}ta[k]=c}A=b.videoSources;var nb=E.staticDomain,ob=A,Jb=nb&&decodeURIComponent(nb),pb,T;for(pb in ob)(T=ob[pb])&&T.file&&!~T.file.indexOf("://")&&(T.file=Jb+T.file);if(A){var qb=A,ya,za,ea,fa,y,Aa,M,Ba,Ca,rb,sb,tb,Da;ya=[];Da=z.ENV&&z.ENV.akamaiHost||zb+"adformvod-vh.akamaihd.net/i/Banners"; sb=/avc1\.(..)(..)(..)/;tb=/mp4a\.40\.(?:2|5)/;for(za=qb.length;za--;)if(ea=qb[za])fa=ea.codecs,y=ea.file,fa&&y&&(y.indexOf(Da)||!~y.indexOf("/master.m3u8"))&&(Ba=(M=fa.match(sb))&&M[1].toLowerCase(),Ca=M&&parseInt(M[3],16),M="42"===Ba&&30>=Ca||"4d"===Ba&&31>=Ca,rb=fa.match(tb),M&&rb&&(Aa=y.indexOf("/Banners/"),~Aa&&(y=y.substr(Aa+8,y.length-1),ya.unshift({file:Da+y+"/master.m3u8",mime:"application/x-mpegURL",codecs:ea.codecs}))));A=ya.concat(A);D=0;for(Va=A.length;D>= 0;a.y>>=0;break;case P:a.x>>=0;a.y>>=0;Ga||(0>a.x&&(a.x=0),0>a.y&&(a.y=0));ha=(a.y?"T":(Ga?Mb:Kb)[N]||"M")+(a.x?"L":(Ga?Nb:Lb)[N]||"C");a.position=ha;break;case Y:case ka:ia={left:"L",center:"C",right:"R"};a.position=a.colPosition=ia[N]||N;a.expPosition=Ob[Fa]||Fa;"custom"!=Fa&&(a.expX=a.expY=0);break;case Z:a.position=a.colPosition=a.expPosition="2"==""+N?"TR":"TL"}a.disturber=new Ja;h.flash=h.colFlash=B;h.expFlash=J;h.image=h.colImage=R;h.expImage=ca;h.video=l;h.html=h.colHtml=u;h.expHtml=C;h.polite= S;h.options=a;h.events=new Ja;var r,W,xb,t=h.options,X={zIndex:t.zIndex-1},Pb=t.iab?yb:n,O;try{O=Pb.ADFORM_OVERLAY||n.ADFORM_OVERLAY}catch(va){O=n.ADFORM_OVERLAY}var Ha={bn:t.bn,closeOnClick:t.overlayCloseOnClick||1,style:X};t.overlayOpacity&&(X.opacity=(t.overlayOpacity>>0)/100);t.overlayColor&&(X.background=t.overlayColor);if(t.type==P&&O){W=0;for(xb=O.length;Wq.ieVersion&&p.image&&(delete p.video,delete p.html,delete p.expHtml,delete p.colHtml);gb="standard"==a.type&&"flash"==a.subtype;(p.image|| p.html)&&(21>Hb&&!q.isIE||q.isSafari&&6.1<=q.safariVersion&&gb)&&(delete p.flash,delete p.colFlash,delete p.expFlash);return p};m.parseFlashvars=Na;m.fixFlashvarsValue=na;m.applyHooks=function(b,f){var g,k,c;ja(b,f);g=(b.html||b.flash||b.image||b.video||{}).adNotice||Ma();if(k=b.options._adNotice){for(c in k)k.hasOwnProperty(c)&&(g[c]=k[c]);delete b.options._adNotice}b.video&&Ka(b.options,b.video);return b};return z.RMB.DataParser=m}); a(i,[h,l,x],function(k,d,l){function h(){h.super_.call(this);this._previous={};this._attributes={};this._sets=[]}d.inherit(h,l);d=h.prototype;d.set=function(b,a){var e,c=this._sets,f=this._attributes;if("object"==typeof b)for(e in b)b.hasOwnProperty(e)&&(f[e]=b[e],c.push(e));else f[b]=a,c.push(b);return this.commit()};d.get=function(b){var a=this._attributes;return b?a[b]:a};d.commit=function(){var b,a,e=this._sets,c=this._attributes,f=this._previous,g=this._changes, d=!1;if(!this._commit&&e.length){this._commit=!0;g||(g=this._changes={});for(b=0;a=e[b];b++)c[a]!==f[a]&&c[a]!==g[a]&&(g[a]=c[a],d=!0,this.emit("change:"+a,c[a],f[a],a));if(d){g={};d=!1;for(a in c)c[a]!==f[a]&&(g[a]=c[a],d=!0);d&&this.emit("change",g)}this._commit=!1;e.splice(0,b);if(e.length)this.commit();else for(a in this._changes=null,c)c.hasOwnProperty(a)&&(f[a]=c[a])}return this};d.onchange=function(b,a){return a?this.on("change:"+b,a):this.on("change",b)};return k.RMB.StateEmitter=h}); a(k,[c,h,l],function(b,q,f){function e(a,c){"string"!=typeof a&&(c=a,a="default");if(this instanceof e)this._id="adfrom-styleSheet-"+a,this._doc=c||r;else return new e(a,c)}var g,m,n;b=b.window;var r=b.document,t=b.setTimeout;b=e.prototype;b.node=function(){var a;a=this._doc;var c=this._id,d=f.byId(c,a);d||(d=a.createElement("style"),d.type="text/css",d.id=c,d._rules={},f.byTag(a,"head")[0].appendChild(d));!g&&(m=d.sheet?"sheet":"styleSheet",a=d[m])&&(n=a.insertRule?function(a, c,d,b){a.insertRule(c+" {"+d+"}",b)}:function(a,c,d,b){a.addRule(c,d,b)},g=a.cssRules?"cssRules":"rules");return d};b.set=function(a,c){var d=this.node(),b=d[m],e,h;try{e=d._rules,h=e[a]}catch(f){}var p=a.split(/\s*,\s*/),k,l;try{if(1(new Date).getTime())x(this.findElement,0);else throw S.pushMessage("adbox", "AdBox element not found"),Error("AdBox element not found");}function X(a){var b=this.hovered="hoverin"==a;this.emit("hover",b,this);this.emit(a,b,this)}function Y(a){this.emit("click",a||this._win.event)}function O(a){var b=this._doc,c=a.from,b=a.type||(c?c.window==c?"fixed":c===b?"page":"floated":"static"),e=a.position||"",g=H.exec(e),e=I.exec(e),k=this.get(),f=this.get(),m=f.postype;if(f=f.element)f.className=f.className.replace(new RegExp("\\s*adform-adbox-"+m+"(-\\w+)?\\s*","g")," ");g=g?g[0]: "L";e=e?e[0]:"T";k.vpos=e;k.hpos=g;k.postype=b;k.frompos=c;this.resetPosition&&this.resetPosition();Z.call(this,b,k,a)}function Z(a,b,c){var e,g,k,y,m,h,A,l,d=this,p=d._win,P=d._doc,t=b.element,u=!1,n=!1,z=!1,v=b.vpos,q=b.hpos;t&&(f.addClass(t,"adform-adbox-"+a+"-"+b.vpos),f.addClass(t,"adform-adbox-"+a+"-"+b.hpos),f.addClass(t,"adform-adbox-"+a));d.positionType=a;"static"==a?(d.onchange("x",r).onchange("y",r).onchange("showing",r),d.resetPosition=function(){d.off("change:x",r).off("change:y",r).off("change:showing", r);d.resetPosition=null}):"fixed"==a?(e=P.documentElement,g=P.body,k=function(a){var c,f,k,h;b.showing&&!1!==b.fixedBounding&&(c=e.clientWidth||g.clientWidth,f=e.clientHeight||g.clientHeight,k=b.element,h=k.offsetWidth-b.x,k=k.offsetHeight-b.y,a&&a.showing&&(u=n=null),d._hp||n==c=p.innerHeight,a=function(){d.pos.width=d.pos.height=0},h=function(){var a,c,e,g,f,k,h=b.width,m=b.height;k=d._hp;var y=d._vp,l=d.pos||{};b.showing&&!z&&(a=t.getBoundingClientRect(),c=p.innerWidth,e=p.innerHeight,A&&c=e?(z=!0,x(function(){z=!1},500)):(h=k?c*parseFloat(h)/100:h,m=y?e*parseFloat(m)/100:m,k=(parseFloat(l.left)||0)-a.left,a=(parseFloat(l.top)||0)- a.top,"C"==q?g=Math.round(k+(c-h)/2):"L"==q?g=Math.floor(k):"R"==q&&(g=Math.ceil(k+(c-h))),"M"==v?f=Math.round(a+(e-m)/2):"T"==v?f=Math.floor(a):"B"==v&&(f=Math.ceil(a+(e-m))),d.setPosition(f,g,0,0,0,0,h,m)),A=c>=e)},l=K(h,100),f.addEvent(p,"resize",h),f.addEvent(p,"scroll",h),d.onchange("showing",h).onchange("width",a).onchange("height",a),h(),d.resetPosition=function(){f.removeEvent(p,"resize",h);f.removeEvent(p,"scroll",h);d.resetPosition=null;D(l)})}function ca(){this.repositionPage({showing:1})} function ba(){this.repositionSticky({showing:1})}function ea(a){var b,c=a.defaultView||a.parentWindow,e=a.documentElement||a.body;c.self||(c=B);this._doc=a;this._win=c;this.sheet=E("adbox",a);c.__adform_adbox_init||(b=E("adbox-static",a),b.set(".adform-adbox-hidden","visibility:hidden").set(".adform-adbox-mobile","position:absolute").set(".adform-adbox-static","position:relative").set(".adform-adbox-static-L","margin:0 auto 0 0").set(".adform-adbox-static-C","margin:0 auto").set(".adform-adbox-static-R", "margin:0 0 0 auto").set(".adform-adbox-static-I","display:inline-block;*display:inline;zoom:1").set(".adform-adbox-floated","position:absolute;display:block!important").set(".adform-adbox-page,.adform-adbox-fixed,.adform-adbox-sticky","position:fixed;display:block!important").set(".adform-adbox-page-L,.adform-adbox-fixed-L","left:0").set(".adform-adbox-page-C,.adform-adbox-fixed-C","left:50%").set(".adform-adbox-page-R,.adform-adbox-fixed-R","right:0").set(".adform-adbox-page-T,.adform-adbox-fixed-T", "top:0").set(".adform-adbox-page-M,.adform-adbox-fixed-M","top:50%").set(".adform-adbox-page-B,.adform-adbox-fixed-B","bottom:0").set(".adform-adbox-overlay","position:fixed;right:0;bottom:0;width:300%;height:300%").set(".adform-adbox-overlay iframe","display:none;position:absolute;top:0;right:0;width:100%;height:100%").set("* html .adform-adbox-page,* html .adform-adbox-fixed","position:absolute").set("* html .adform-adbox-fixed-L","left:expression(eval(__adform_adbox_fixedLeft(this)))").set("* html .adform-adbox-fixed-C", "left:expression(eval(__adform_adbox_fixedCenter(this)))").set("* html .adform-adbox-fixed-R","left:expression(eval(__adform_adbox_fixedRight(this)))").set("* html .adform-adbox-fixed-T","top:expression(eval(__adform_adbox_fixedTop(this)))").set("* html .adform-adbox-fixed-M","top:expression(eval(__adform_adbox_fixedMiddle(this)))").set("* html .adform-adbox-fixed-B","top:expression(eval(__adform_adbox_fixedBottom(this)))").set("* html .adform-adbox-overlay","position:absolute;top:expression(eval(__adform_adbox_fixedTop(this)));left:expression(eval(__adform_adbox_fixedLeft(this)));width:100%;height:100%"), L&&"BackCompat"==a.compatMode&&b.set(".adform-adbox-page","position:absolute"),c.__adform_adbox_fixedLeft=function(){return e.scrollLeft},c.__adform_adbox_fixedCenter=function(){return e.scrollLeft+Math.round(e.clientWidth/2)},c.__adform_adbox_fixedRight=function(a){return e.scrollLeft+e.clientWidth-a.offsetWidth},c.__adform_adbox_fixedTop=function(){return e.scrollTop},c.__adform_adbox_fixedMiddle=function(){return e.scrollTop+Math.round(e.clientHeight/2)},c.__adform_adbox_fixedBottom=function(a){return e.scrollTop+ e.clientHeight-a.offsetHeight},c.__adform_adbox_init=0);c.__adform_adbox_init++}function r(){var a=this.get();a.showing&&this.style({left:a.x+"px",top:a.y+"px"})}function J(a){var b=this.get(),c=b.vpos,e=b.hpos,g=b.width,k=b.height,f=b.y,m=b.x,h=("C"==e||"M"==c)&&{};b.showing&&(!a||"x"in a||"y"in a||"width"in a||"height"in a||"showing"in a)&&("C"==e&&(this._hp?h.left=50-parseFloat(g)/2+"%":(m-=g/2,h.left="")),"M"==c&&(this._vp?h.top=50-parseFloat(k)/2+"%":(f-=k/2,h.top="")),this.css("margin:"+f+"px "+ -m+"px "+-f+"px "+m+"px"),h&&this.style(h))}function G(a){var b,c,e,g,k,y,m,h,A,l,d,p,n,t,u,x,z,v,q,w;w=this.get();t=this._win;u=this._doc;h=w.element;var r=w.stickyOffset||0;w.showing&&(!a||"x"in a||"y"in a||"width"in a||"height"in a||"showing"in a||"stickyOffset"in a)&&(b=this.from(),c=f.offsetFromWindow(b),!0===r&&(c.top=f.offset(b).top,r=c.top),y=this._hp,m=this._vp,a=w.x,e=w.y,g=y?h.offsetWidth:w.width||0,k=m?h.offsetHeight:w.height||0,h=c.left,A=c.top,c=b.offsetWidth,b=b.offsetHeight,l=t.innerWidth|| u.body.clientWidth,d=t.innerHeight||u.body.clientHeight,p=w.vpos,n=w.hpos,t="K"==n,u="C"==n,x="R"==n,n="E"==n,z="Y"==p,v="M"==p,q="B"==p,p="N"==p,y&&(g=l*parseFloat(w.width)/100,this.style({width:g+"px"})),m&&(k=d*parseFloat(w.height)/100,this.style({height:k+"px"})),w=e+A+(z?-k:v?(b-k)/2:q?b-k:p?b:0),this.setPosition(w>r?w:r,a+h+(t?-g:u?(c-g)/2:x?c-g:n?c:0),0,0))}function F(a){var b,c,e,g,k,y,m,h,l,n,d,p,r,t,u,x,z,v,q;q=this.get();z=this._win;t=this._doc;l=q.vpos;h=q.hpos;v=q.x;n=q.y;b=q.element; r=this._hp;g=this._vp;d=this._absolute;if(q.showing&&(!a||"x"in a||"y"in a||"width"in a||"height"in a||"showing"in a)){a=r?b.offsetWidth:q.width;b=g?b.offsetHeight:q.height;c="K"==h;e="C"==h;g="R"==h;k="E"==h;y="Y"==l;m="M"==l;h="B"==l;l="N"==l;if(null==d){if(d="absolute"==f.curCSS(q.element,"position"))f.removeEvent(z,"resize",this.handleResize),f.removeEvent(z,"scroll",this.handleResize);this._absolute=d}d?(n=Math.round(m?-(b/2):0)+n,a=Math.round(e?-(a/2):0)+v,this.setPosition(null,null,h?0:n,g? 0:a,h?-n:0,g?-a:0)):(d=t.documentElement,p=t.body,t=d&&d.clientHeight||p&&p.clientHeight,u=Math.max(d&&d.scrollWidth||0,p&&p.scrollWidth||0),x=Math.max(d&&d.scrollLeft||0,p&&p.scrollLeft||0),z=Math.max(d&&d.scrollTop||0,p&&p.scrollTop||0),r&&(r=Math.max(d&&d.clientWidth||0,p&&p.clientWidth||0),a=Math.round(u*parseFloat(q.width)/100),this.style({width:f.isFF&&r>=u?q.width:a+"px"})),v=-x+(c?-a:e?(u-a)/2:g?u-a:k?u:0)+v,n=-z+(y?-b:m?(t-b)/2:h?t-b:l?t:0)+n,q=this._pp||(this._pp={t:0,l:0}),(q.t>-b&&q.l> -a||n>-b&&v>-a)&&this.setPosition(n,v,0,0),q.t=n,q.l=v)}}function da(){var a,b;a=this.get();var c=this._lastFromPos;a.showing&&(a=this.from())&&(b=f.offset(a),b.w=a.offsetWidth,b.h=a.offsetHeight,c&&c.left==b.left&&c.top==b.top&&c.w==b.w&&c.h==b.h||(this._lastFromPos=b,C.call(this)))}function C(a){var b,c,e,g,k,l,m,h,n;m=this.get();h=m.element;k={};if(!a||"x"in a||"y"in a||"width"in a||"height"in a||"showing"in a)if(m.showing){if(b=this.from())a=m.vpos,c=m.hpos,e=this._hp,g=this._vp,e&&(k.width=Math.round(b.offsetWidth* parseFloat(m.width)/100)+"px"),g&&(k.height=Math.round(b.offsetHeight*parseFloat(m.height)/100)+"px"),(e||g)&&this.style(k),k=m.x,l=m.y,e=e?h.offsetWidth:m.width,m=g?h.offsetHeight:m.height,g=f.offset(b),h=h.parentNode,"static"!=f.curCSS(h,"position")&&(h=f.offset(h),g.top-=h.top,g.left-=h.left),h=g.left,g=g.top,n=b.offsetWidth,b=b.offsetHeight,l=Math.round("M"==a?-(m/2):0)+l,k=Math.round("C"==c?-(e/2):0)+k,this.setPosition(g+("Y"==a?-m:"M"==a?b/2:"B"==a?b-m:"N"==a?b:0),h+("K"==c?-e:"C"==c?n/2:"R"== c?n-e:"E"==c?n:0),l,k)}else this.setPosition(-3E3,-3E3,0,0)}function U(a){var b,c=this.get(),e=c.width,c=c.height;"mobile"!=this.positionType&&("width"in a||"height"in a)&&(a=this._hp="string"==typeof e&&0b.offsetHeight&&(a=f.byTag(b,"embed")[0])&&20AdBox';if(e||l||g){try{h.body||h.write("")}catch(r){}if(h.body.insertAdjacentHTML&&f.isIE){k="afterBegin";e?(g||(g=h.body),"end"==l&&(k="beforeEnd")):l&&(k="beforeBegin", g=l);try{g.insertAdjacentHTML(k,n)}catch(r){h.write(n)}}else e?(g||(g=h.body),l=null):l&&(g=l.parentNode),g.insertBefore(f.html(n,h),l||g.firstChild)}else h.write(n);this.set({x:c.x||m.x||0,y:c.y||m.y||0});this.onchange("showing",ga);this.findElement();return this};n.pull=function(a,b){var c=this.get();if(a in c)b.call(this,c[a]);else this.once("change:"+a,b);return this};n.publish=function(a,b){this._hubName=a;this._hub=b;this.pull("element",W);return this};return Q.RMB.AdBox=l}); a(q,[c,h,p,g,l],function(L,z,M,E,x){function A(a,b,c){var d,e,g,m={};a=a.replace(/[\r\n]+/g,b).split(b);d=a.length;for(b=0;b>0)&&(m=.5*(m-g.width),c.x=(c.x||0)+("L"==d?-1:1)*m);b.box.pull("element",function(){p(a,{from:b.box})})} function O(){u=0;n.length&&y(n.shift())}function p(a,b,c){function d(d){var g=k?"stickyBox":"box";B=r[g]=(new E).publish("panel-"+g,a.events);u&&B.set("zIndex",h.zIndex=u);B.set({width:z,height:q?A:"auto",x:!k&&f.x||0,y:!k&&f.y||0,visible:!f.hidden}).set(v?{stickyOffset:f.sticky}:{}).pull("element",e).draw(n,{type:v&&"sticky",position:k?"":C(f.position,c),container:y,before:p,from:d||b.from})}function e(b){var c={item:r,settings:a,content:t};b.innerHTML="";h.iab=!1;h.window=H;h.$tag= b.firstChild;b=c.exports={set:x.bind(c,I),get:x.bind(c,P)};h.panel=b;c.constructor=l=F.AdConstructor.initialize(a);l._panel_show=l.show;l._panel_hide=l.hide;l.show=g;l.hide=m}function g(){var a=b.from;a&&a.pull&&!a.get("visible")?G(g,100):(k&&k.set("visible",!0),B.set("visible",!0),l._panel_show())}function m(){l._panel_hide();B.set("visible",!1);k&&k.set("visible",!1)}var B,k,l,t=a.image||a.html||a.flash,h=a.options,f=a.panel,H=h.iab?w.parent:w,n=H.document,r=D[h.bn+"#"+h.seqNo],q=!!b.from,v="sticky"in f&&!1!==f.sticky,y=b.container,p=b.before,u="z"in f?f.z:v||q?1E4:null,z=t.width,A=t.height;h.hidden?f.hidden=h.hidden:f.hidden&&(h.hidden=f.hidden);v&&!q?(y=p=null,(k=r.box=new E).publish("panel-box",a.events).set({width:z,height:A,visible:!f.hidden,x:f.x||0,y:f.y||0}).pull("element",d).draw(n,{position:C(f.position,c),before:b.before,container:b.container})):d()}function I(a,b){var c=this.item,d=c.box,c=c.stickyBox;a=J[a]||a;if("string"!==typeof a)for(b in a)I.call(this,b,a[b]);else"zIndex"==a?((c|| d).set(a,b),this.constructor.setZIndex&&this.constructor.setZIndex(b)):c&&"stickyOffset"==a?c.set(a,b):d.set(a,b);c&&c.repositionSticky()}function P(a){var b=this.item,c=b.box;a=J[a]||a;if("width"==a||"height"==a)a=this.content[a];else{if("zIndex"==a||"stickyOffset"==a)c=b.stickyBox||c;a=c.get(a)}return a}function C(a,b){var c;a=(a||"").toLowerCase();var d={r:"E",ri:"R",l:"K",li:"L"}[(c=a.match(/[rl]i?/))&&c[0]]||"C",e={t:"Y",ti:"T",b:"N",bi:"B"}[(c=a.match(/[tb]i?/))&&c[0]]||"M";return b?{E:"R", K:"L"}[d]||d:d+e}var w=L.window,G=w.setTimeout,F=z.RMB,n=[],u,D={},K={},J={z:"zIndex",sticky:"stickyOffset"};return function(a){var b=z.ADFUtilInstance,c=a.options,d=c.bn;if(b&&b.getPropByBn){var e=a.panel,g=a.events,m=c.seqNo,n=1==m,k;k=K[d];if(!k)for(var l=x.byTag("script"),t=l.length,h,f;0=e?(d=m,c={},b.callSwfMethod("updateInScreen",a),f&&(f=y(f))):f||(f=l(function(){g(a)},e-q))}var a,d,f,c;e=e||0;b.on("initInScreen",function(){d=0;a||(a=x(b.options.xId),a.on("change",g));g({visible:a.get("visible"),percent:a.get("percent"),loaded:a.get("loaded")})})},setCallbacks:function(b,e){function g(b,a,e,d,g){c(b,{x:parseInt(a,10)+f.x,y:parseInt(e,10)+f.y,width:parseInt(d,10),height:parseInt(g,10)})}function a(b){c(b); k.IABcloseAD&&k.IABcloseAD()}for(var d=b.win,f={x:0,y:0},c=h.bind(b,b.emit),n=[["initPoliteMode",c,"politeReady"],["initVideoMode","video",!0],["initCube3D","cube3D",!0],["initExtender",c,"extender"],["initInScreen",c,"initInScreen"],["startDrag",c,"startDrag"],["endDrag",g,"endDrag"],["updateBox",g,"updateBox"],["expandComplete",c,"expandComplete"],["collapseComplete",c,"collapseComplete"],["close",a,"hide"],["superClose",a,"close"],["expand",c,"show"],["rollOutAd",c,"rollOut"],["videoPlayStartHandler", c,"video:start"],["videoCompleteHandler",c,"video:end"]],m=n.length;0',b&&b.ownerDocument)),d&&(b&&(c&&(c.appendChild(d),this.wrapper=c),b.appendChild(c||d)),"string"==typeof a&&(d.innerHTML=a))):d&&(d.parentNode&&d.parentNode.removeChild(d),d=null);return this._elem=d};c.bind=function(a){var b;this._adbox||(this._adbox=a,a.on("change:element",this.container),a.on("content:show",this.show),a.on("content:hide",this.hide),a.on("content:destroy", this.clear),a.on("content:reload",this.reload),(b=a.get("element"))&&this.container(b),a.get("showing")&&this.show())};c._clear=c.clear;c.clear=function(){var a=this._adbox;a&&(a.off("change:element",this.container),a.off("content:show",this.show),a.off("content:hide",this.hide),a.off("content:destroy",this.clear),a.off("content:reload",this.reload),this.destroy(),this._clear(),this._adbox=this.doc=this.win=this._element=null)};c.style=function(a){var b=this.element();b&&e.extend(b.style,a);return this}; c.setupExtra=function(a){var b=this,c=b.bind,e=b.clear;b.bind=function(e){var f=c.call(b,e);a.bind(e);return f};b.clear=function(){a.clear(b._adbox);return e.call(b)}};return f}); a(s,[c,h,w,k,l,j],function(g,c,n,p,k,q){function d(a,e){var b;d.super_.call(this,a,e.adNotice);b=this.data;b.width=e.width;b.height=e.height;this.id=k.gid("adform-adnotice-button-");this.base=a.scriptsBase+"assets/images/OBA/"}g=g.window.navigator;var m={},r=g.userLanguage||g.language||"";c.RMB.Content.AdNotice=d;k.inherit(d,n);d.supported=function(){return!0};d.READY="ready";c=d.prototype;c.show=function(){this._element&&!this.created&& this.write()};c.write=function(){var a=this,e=a._element,b=a.doc,c=a.win,l=a.statics=p("adbox-static",b),f=a.options,d=f.obaId,h=f.scriptsBase+"adplayer/css/adplayer.min.css",g=f.scriptsBase+"adplayer/js/adplayer.min.js";a.created=(new Date).getTime();l.adNoticeStyles||(l.adNoticeStyles=!0,l.set(".adform-adnotice","z-index:1;position:absolute!important;top:0!important;right:0!important;left:auto!important;padding:0!important;margin:0!important"));a._elem=k.html('
',b);d?c.$ADP?a.setupAdPlayer(d,e):(k.loadCSS(b,h),k.loadScript(b,g,function(b){b||!c.$ADP?a.setupDefault(e):a.setupAdPlayer(d,e)})):a.setupDefault(e);q.on(a._elem,"hover",function(a){f.disturber.emit("hover","hoverin"==a)})};c.destroy=function(){this.element("",!1);this.created=0};c.getOBAImage=function(a){a=a.toLowerCase().match(/^(bg|cs|da|de-at|de-ch|de|el|es|fi|fr-be|fr-ch|fr|ga|hu|it-ch|it|nl-be|nl|no|pl|ro|sk|sv|uk|en)/);a=(a&&a[0]||"en")+".png";return this.base+a};c.setupAdPlayer= function(a,e){var b=this.win,c=b.$ADP.Registry,d=this.id,f=this.data,g=this.options,h=[{title:f.title,text:f.text,url:f.link,linkText:f.linkText,usePopup:!!(b.Adform&&b.Adform.ADFIframe||g.iframeManager||g.iab)}];this.element("",e);if(!m[a]){b.ADFCall(g.xId,function(){this.emit("setupADP",h)});if(h)for(b=0,f=h.length;b1575/(e.width* e.height);c.set(".adform-adnotice a","display:block;width:19px;height:15px;margin:0!important;padding:0!important;position:static!important;background:url("+this.base+"oba.png) no-repeat;").set(".adform-adnotice img","display:none;border:none;margin:0!important;padding:0!important;position:static!important");d&&c.set("#"+b+" a:hover","width:auto;position:absolute;top:0;right:0;background-position:0 -100px").set("#"+b+" a:hover img","display:block;");this.element(''+ (d?'':"")+"",a);this.emit("ready")};return d}); a(t,[l,w],function(f,g){function c(){return{create:c,register:function(b){for(var a in b)b[a]&&"function"==typeof b[a].content&&e(b[a]);b.on("draw",function(a){e(a)})}}}function e(b){var a=b.content(),c=b.content(null,"click");a&&!c&&(a=a.data.link||a.flashvars&&a.flashvars.clickTAG)&&(0>a.indexOf("://")&&(a=decodeURIComponent(a)),a=~a.indexOf(";CREFURL")?a.split(";CREFURL").join(";fc=1;CREFURL"):a.replace(/bn=\d+/,"$&;fc=1"),b.content(new d({},{link:a}),!1,"click"))}function d(b, a){d.super_.call(this,b,a)}f.inherit(d,g);d.prototype.show=function(){var b=this._element;!this.created&&b&&(this.created=new Date,this.element('',b),this.style({top:0,left:0,position:"absolute",zIndex:-1}))};return c()}); a(n,[c,h,o,p,q,j,k,r,l,s,t,u,v],function(p,m,B,x,C,D,E,F,h,G,H,I,J){function q(a){var b=this.options=a.options,c=n,d=a.events,e=this.adDestroy=h.bind(this,y);this.settings=a;b.BANNER_TYPE=this.BANNER_TYPE;b.iab?(c=u,b.iframe=n.frameElement):b.iframeManager?(c=u.parent,b.iframe=K(c,u)):b.window&&(c=b.window);this.win=c;a=c.Adform=c.Adform|| {};a.adRegister=a.adRegister||{};m.adRegister=c.Adform.adRegister;z.call(this);(this._wallpaper=b.wallpaper&&b.wallpaper.background&&!h.isTMX(c))&&this.setupWallpaper();this.on=function(){d.on.apply(d,arguments);return this};this.off=function(){d.off.apply(d,arguments);return this};this.once=function(){d.once.apply(d,arguments);return this};this.emit=function(){var a=this._events;this._events=d._events;d.emit.apply(this,arguments);this._events=a;return this};this._clearEvents=function(a){d.clear(a)}; L(c);n.ADFReload=c.ADFReload;n.ADFcall=n.ADFCall=c.ADFCall;h.addEvent(n,"unload",e);c!=n&&(M(c),h.isOpera||9>h.ieVersion)&&(c.Adform&&c.Adform.trackIframe||N(c),c.Adform.trackIframe(b.iframe,e));try{H.register(this)}catch(f){p.log("fctest",f,1)}}function N(a){function b(){for(var a=e.length;a--;)e[a][0].parentNode||(e[a][1](),e.splice(a,1));e.length||(c=g(c))}var c,d=a.Adform=a.Adform||{},e=[],f=a.setInterval,g=a.clearInterval;d.trackIframe=function(a,d){e.push([a,d]);c||(c=f(b,200))}}function K(a, b){for(var c=a.document.getElementsByTagName("iframe"),d=c.length;0k.ieVersion,f=c?"frameElement":"this",n=a.createElement("div");e="ad";var h="eval("+f+".getAttribute('data-onload'))";g=""+e+"