var __IntegralASDiagnosticCall = function(){}; try { var __IntegralASConfig = { jsDoSplit : "false", cocaPuffsPath : "", debug : "false", killPhrases : "", useAdTalk : "true", jsDiag:'false', version:'0', mtCell: 10, mtSample: 5, cookieDomain:'sc.iasds01.com/dtc', trackMouse : "true", exchList:{'e1':'nqzryq','e2':'tbbtyrnqf.t.qbhoyrpyvpx','e3':'ehovpbacebwrpg','e4':'chozngvp','e5':'bcrak','e6':'nqoevgr.pbz','e7':'tynz.pbz','e8':'lvryqznantre.pbz','e9':'yvwvg','e10':'nqakf','p11':'ghea.pbz','p12':'zngugnt','p13':'vaivgrzrqvn','p14':'qngnkh','n15':'zrqvn6qrterrf','n16':'dhnagfreir','n17':'esvuho.arg','a18':'napubeserr','a19':'eff2frnepu','a20':'mgfgngvp.pbz','n21':'ovq.npr.nqiregvfvat','e22':'wnfba','v23':'fcbgkpqa','v24':'ogeyy','v25':'yvirenvy','v26':'nqncgi','v27':'nqnc.gi','n29':'qbzqrk.pbz','n30':'ernyih.arg','d31':'cvengronl','d32':'cebklonl','d33':'onlcebkl','d34':'cvengrcebkl','d35':'cebklcvengr','d36':'onlcvengr'}, protocol:'http', jsref : "http://fynskemedieradmin.adservinginternational.com/show_campaign.php?nocount=1&adspaceid=544&campaignid=182468&bannerid=33805&target=adserving_54432cb36856095b", asid : "f46b243d-9cea-11e4-af7d-002590882e9e", allowViewability : "true", jsFeatures : "mousetrack:0,cocoapuffs,viewabilityready,consecutive,cachebust:0,forcecocoa:0,rattie:0,exch,recordalternate:100,usedtdomain,nextcocoa,bapiDiag,cookie,postDts:0,videotwoseconds,getPl,decodePl,resolution,usetpl,usesca:1,tpiLookupURL,hundredpct,jloadDiag:0,cdnTest:1", adTalkDtCall : "true", adsafeDomain : "adsafeprotected.com:80", minimizeCalls : "false", adWidth : "", adHeight : "", forceAppend : "true", requrl : "http://pixel.adsafeprotected.com/", reqquery : "anId=6862&advId=326154&campId=6216315&pubId=1787&chanId=15370956&placementId=300x250&adsafe_par&bidurl=http://fynskemedieradmin.adservinginternational.com/show_campaign.php?nocount=1&adspaceid=544&campaignid=182468&bannerid=33805&target=adserving_54432cb36856095b&bidPr=unaudited&uId=0&impId=4114688713317561420&BEGIN__ADSAFE&prc=1.246708&END__ADSAFE", mode : "jload", adsafeSrc : "", adsafeSep : "", _onAPIResult : __IntegralASConfig && __IntegralASConfig.onAPIResult, _onInViewMRC15 : __IntegralASConfig && __IntegralASConfig.onInViewMRC15, _onMeasurable : __IntegralASConfig && __IntegralASConfig.onMeasurable, _onSuspicious : __IntegralASConfig && __IntegralASConfig.onSuspicious, _onInViewMRC : __IntegralASConfig && __IntegralASConfig.onInViewMRC, _onInViewMRC5 : __IntegralASConfig && __IntegralASConfig.onInViewMRC5, getTpl: "false", use100v: false, useBapiCallback: "", useViewabilityNotification: "", scriptUrl : "http://pixel.adsafeprotected.com/jload?anId=6862&advId=326154&campId=6216315&pubId=1787&chanId=15370956&placementId=300x250&adsafe_par&bidurl=http://f", accountForSadImps:'', sendCookie:'false', tpiLookupURL:"", fwMonitoring:'', cdnTestUrl: "//cdn.adsafeprotected.com/cdn-test.js", colloTestUrl: "//pixel.adsafeprotected.com/jload?campId=cdnTest&anId=100", doNothing: false, cdnTestEnabled: false, mn: "app13ami", videoId : '' }; if (__IntegralASConfig.jsFeatures.indexOf('asidJsDiagnostic') !== -1) { var fakeErr = { message: __IntegralASConfig.asid }; __IntegralASDiagnosticCall('asid', fakeErr); } __IntegralASConfig.birthdate = new Date().getTime(); __IntegralASConfig.thisScriptNode = (function() { var tempScript, embedded = window != top, scripts = document.getElementsByTagName('script'), result = scripts[scripts.length - 1], scriptIndex = scripts.length, useDocWrite = 'jss,jsi,jspix'.indexOf(__IntegralASConfig.mode) !== -1, scriptUrl = __IntegralASConfig.scriptUrl; try { while (--scriptIndex >= 0) { tempScript = scripts[scriptIndex]; if (tempScript.src && tempScript.src.indexOf(scriptUrl) === 0 && tempScript.getAttribute('data-ias-script-tag') === null) { result = tempScript; tempScript.setAttribute('data-ias-script-tag', 'found'); break; } } if (scriptIndex === 0 && useDocWrite && !embedded) { document.write(''); result = document.getElementById('s' + __IntegralASConfig.asid).parentNode; } } catch(e) { } return result; }()); } catch(err) { __IntegralASConfig = {}; __IntegralASDiagnosticCall('bootstrapper', err); } __IntegralASConfig.initialize=function(k){var y,Ja=function(){y=new P;var a=-1!==k.mode.indexOf("jsvid"),c=f.isDef(window.JSON)&&f.isDef(window.postMessage),c="true"===k.useAdTalk&&c,d,b,e,g,h=V(),l=new P,n=W(y),p=da(l),r=new ea(l),w=fa(),l=ga(),s=ha(),A=ia(),z=ja(),z=ka(p,h,z,y),F=la(p),B=ma(p),u=na(p),C=oa(),D=pa(u,p),K=qa(u),H=a?ra(s):{},I=a?sa(k.videoId,h,y,s,H):{},a=ta(C,K,y,D,A,I),C=ua(a,p,w),t=va(a,z,p,h,y,B,r,u,s,I,H),x=wa(z,t,n),v=xa(p,h,y,n),n=ya(z,t,p,B,r),H=za(z,t),v=Aa(v,z,y),E=Ba(u, t,p,h,K,y,B,D,r,x,A,w,C,s,I),w=Ca(z,p,h,B,v,r,u,E),s=Da(y),A=Ea(y);t.setViewabilityMod(E);c&&(d=Fa(p));var u="0"!==u.getFlashVersion(),L,B=!E.useFlash();if(!function(){var a=!1,b,d;try{f.isDef(k)&&f.isDef(k.killPhrases)&&""!==k.killPhrases&&(b=k.adsafeSrc?k.adsafeSrc:k.requrl+k.reqquery,d=k.killPhrases.split(","),f(d).each(function(c,n){n=decodeURIComponent(d[c]).replace(/^\s+|\s+$/g,"");-1!==b.search(n)&&(a=!0)})),k.doNothing&&(a=!0)}catch(c){p.add(p.ERROR_KILL_IT)}return a}()){if(c)try{d.createAdProxy(k), d.findFrames(),d.listen(),d.sendMessages(),r.addItem(d.getFrameStore(),"fm")}catch(Q){p.add(p.ERROR_ADTALK_GENERAL)}var J;try{"true"!==k.minimizeCalls&&E.init();h.on("mousetrack")&&(g=Ga(a,r),g.init());J=l.detectTopURL();h.on("exch")&&(b=Ha(p,r),b.parse(J));if(h.on("getPl")&&navigator&&navigator.plugins){e=Ia(navigator.plugins);var G=e.hash();r.addItem({output:G.join(".")},"pl",{type:m.DT_CODES.ADTALK});if(h.on("decodePl")&&G.length){var M=e.decode(G);r.addItem({output:M.join(".")},"pd",{type:m.DT_CODES.ADTALK})}}var R= F.getProps();f(R).each(function(a,b){r.addItem({output:b},a,{type:"UFO"})})}catch(S){p.add(p.ERROR_IMPRESSION_LEADUP)}t.sendCookie();w.send(J);h.on("cdnTest")&&k.cdnTestEnabled&&A.init();"true"===k.useViewabilityNotification&&k._onMeasurable&&(B||u)&&z.notify(k._onMeasurable);"http"===k.protocol&&"true"===k.getTpl&&h.on("usetpl")&&n.init();k.tpiLookupURL&&H.init(k.tpiLookupURL);"true"===k.adTalkDtCall&&"true"!==k.minimizeCalls&&(L=(new Date).getTime(),q.execAtEndOfThread(function(){q.execAtEndOfThread(function(){var a= {output:(new Date).getTime()-L};r.addItem(a,"sinceFw",{type:m.DT_CODES.ADTALK});f.isDef(E.readyFired())&&r.addItem({output:E.readyFired()},"readyFired",{type:m.DT_CODES.ADTALK});t.send(m.DT_CODES.ADTALK)})}));h.on("usesca")&&s.load()}},f=function(a){var c=function(b){return a instanceof Object&&(b||!(a instanceof Array))},d=function(b,d){if(a.length===+a.length)for(var c=0,e=a.length;ca,e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),g=[];a=b?-a:a;do d=a%c,g.push(e[d]),a=(a-d)/c;while(0'},r=function(){var a;a=new N;var d=k.cocaPuffsPath;a.sub("static");a.master(a.master().split(":")[0]);d&&(a.master(d),a.sub(""));var d=a+(b.on("nextcocoa")?"/detector3.pix":"/detector2.pix"),c=p("allowscriptaccess","always"),e=p("movie",d)+p("play","true")+p("loop","true");g.browserIs("i")?(a=document.createElement("div"),a.innerHTML=""+e+c+"",h=a.firstChild):(h=document.createElement("object"),h.data=d,h.type=m.FLASH_MIME,h.innerHTML=c,h[m.IAS_DETECTOR]="true");h.style.position="absolute";h.style.width="1px";h.style.opacity="0";h.style.height="0px";return h},w=function(a){a.style.height=n?"1px":"2px";n=!n;q.execAtEndOfThread(function(){s()&&(l=a.isInView())})},s=function(){return h&&f.isFunction(h.isInView)};(function(a,b,d){var c=r(),g=c.style;g.left=b+"px";g.top=d+"px";a.appendChild(c);g.height= "1px";e.onHiddenChange(function(a){a?g.height="0px":w(c)})})(a,c,d);return{isInView:function(){var a;s()&&(a=h.isInView(),g.browserIs("w")&&a!==l&&w(h));return s()&&a},isNotReadyToReport:function(){return!s()},createdFlash:h}},aa=function(a){return{doEligibleJobs:function(c){var d=a[0],b=d&&d.time;b&&c>=b&&(d.task(),a.shift())},getNextJob:function(){return a[0]}}},ea=function(a){var c=0,d={},b=function(a,b,d){if(f.isUndef(a.output))throw Error("item with id "+b+' must have "output" method');this.item= a;this.id=b||++c;this.props=d||{};this.output=function(){return f.isFunction(a.output)?a.output():a.output}},e=function(a,c,e){a=new b(a,c,e||{});d[a.id]=a};a.on("addOutputItem",function(a,b,d){e(a,b,d)});return{addItem:e,iterate:function(a){var b,c,e=[];for(b in d)d.hasOwnProperty(b)&&(c=a(b,d[b]))&&e.push(c);return e},getItem:function(a){return d[a]}}},U=function(){var a=[];return{push:function(c){a[a.length]=c},run:function(){var c=arguments;f(a).each(function(a,b){b.apply({},c)})}}},ua=function(a, c,d){return{collect:function(){var b,e=a.find(),g=e.getOutOfViewReasons(),h=d.isHidden();try{b=x.calcWinDims()}catch(l){c.add(c.ERROR_GET_WIN_DIMENSIONS),b=-1}if(-1===b||!e.getDims().hasValidDims())return e=e.getDims().getRounded(),{viewState:m.NA,posViewState:m.NA,embedded:t.embedded,winDimensions:b,adDimensions:e};!0===h&&g.push(m.OUT_OF_VIEW_REASONS.FOCUS);return{winDimensions:b,adDimensions:e.getDims(),containerDimensions:e.getContainerDims(),method:e.getDetectionMethod(),viewState:g.length?m.OUT_OF_VIEW: e.getViewState(),percentInView:e.getPercentInView(),reason:g.join("."),obstructed:f.stringifyTriState(e.isObstructed()),isHidden:f.stringifyTriState(e.isHidden()),tabHidden:f.stringifyTriState(h),posViewState:e.getViewState(),adCompCount:e.getComponentCount()}}}},Pa=function(a){a=a||f.identity;var c=[],d=q.now(),b=function(){var a=q.now();c.length&&(c[c.length-1].duration+=a-d,d=a)};return{clear:function(){b();c=[]},fastForward:b,get:function(){return c},hasAlwaysBeen:function(a){return 1===c.length&& c[0].state===a},addState:function(d){var g=c[c.length-1];d=a(d);b();0!==c.length&&d===g.state||c.push({state:d,duration:0})}}},Qa=function(a){var c=a||1,d=0,b=0,e=0,g=0;return{start:function(){0===d%c&&(e=q.now())},stop:function(){0===d%c&&(g+=q.now()-e,b++);d++},getTime:function(){return g},getCount:function(){return b}}},ba=function(a){var c=0,d=t.getTagTime(),b=0,e,g;return{getTotalTime:function(){return b},stop:function(){c=0;d=t.getTagTime()},mark:function(){e=t.getTagTime()-d;c+=e;c>a&&(g=c- e\x3c/script>'],iframe:[''],img:['']}[a];c=d[0]+b+d[1];"true"===k.forceAppend?"script"!==a?(d=document.createElement("DIV"), d.innerHTML=c,e.appendChild(d.childNodes[0])):(d=document.createElement("SCRIPT"),d.src=b,e.appendChild(d)):document.write(c)},g=function(a,b,d){var e=!d&&c.on("postDts")&&v.getXHR2();e?(e.open("POST",a),e.onreadystatechange=function(){4===e.readyState&&200===e.status&&b&&b()},e.send()):(d=new Image,b&&(d.onload=b),d.src=a)},h=function(a,b){var d=document.createElement("script");d.type="text/javascript";d.src=a;b&&(d.onload=b);f.isDef(k.thisScriptNode.parentNode)&&k.thisScriptNode.parentNode.appendChild(d)}, l=function(b){f.isFunction(b)?b():"string"===typeof b?g(b):a.add(a.ERROR_NOTIFY_CLIENT)};b.on({addNode:e,send:g,exec:h,notify:l});return{addNode:e,send:g,exec:h,notify:l,jsonp:function(a,b,c,e){h(d.wrap(a,b,c,e))}}},m={MAX_URL_LENGTH:2E3,FLASH_MIME:"application/x-shockwave-flash",IN_VIEW:"inView",OUT_OF_VIEW:"outOfView",PARTIAL_VIEW_PLUS:"partialViewPlus",PARTIAL_VIEW_MINUS:"partialViewMinus",NA:"na",DT_CODES:{UNLOAD:"u",PING:"p",FULLY_INVIEW:"pf",QUARTILE_FULLY_INVIEW:"qf",ADTALK:"a",VIEWABILITY_READY:"v", VIDEO_EVENTS:"m",DIAGNOSTIC:"b",POS_INVIEW:"t",THIRD_PARTY:"i",SCA:"s"},DETECTION_METHODS:{SPAN:"s",AD_HUNT:"a",IFRAME:"i",VIDEO:"v",MOBILE:"m",MUTATION:"c"},OUT_OF_VIEW_REASONS:{GEOM:"l",OBSTRUCTION:"o",FOCUS:"f",COLLAPSED:"c",HIDDEN:"h"},IAS_DETECTOR:"iasdetector"},t=function(){var a=window!=top,c=function(){var a;try{a=!!top.document}catch(b){a=!1}return a}();return{embedded:a,friendly:c,getTagTime:function(){return q.now()-k.birthdate},getPageTime:function(){return f.isDef(window.chrome)&&f.isDef(window.chrome.csi)&& f.isFunction(window.chrome.csi)?q.round(chrome.csi().pageT):m.NA},friendlyIframe:a&&c,xDomainIframe:a&!c}}(),v={addEvent:function(a,c,d,b){f.isDef(a.addEventListener)?"mouseenter"===c?a.addEventListener("mouseover",v.mouseEnter(d),b):"mouseleave"===c?a.addEventListener("mouseout",v.mouseEnter(d),b):a.addEventListener(c,d,b):f.isDef(a.attachEvent)&&a.attachEvent("on"+c,d)},removeEvent:function(a,c,d){f.isDef(a.removeEventListener)?("mouseenter"===c?(c="mouseover",d=v.mouseEnter):"mouseleave"===c&& (c="mouseout",d=v.mouseEnter),a.removeEventListener(c,d)):f.isDef(a.detachEvent)&&a.detachEvent("on"+c,d)},mouseEnter:function(a){var c=this;return function(d){var b=d.relatedTarget;this===b||c.isAChildOf(this,b)||a.call(this,d)}},isAChildOf:function(a,c){if(a===c)return!1;for(;c&&c!==a;)c=c.parentNode;return c===a},getStyle:function(a,c){var d="";document.defaultView&&document.defaultView.getComputedStyle?d=document.defaultView.getComputedStyle(a,"").getPropertyValue(c):a.currentStyle&&(c=c.replace(/\-(\w)/g, function(a,d){return d.toUpperCase()}),d=a.currentStyle[c]);return d},getXHR2:function(a,c){var d,b;f.isDef(window.XMLHttpRequest)?(b=new XMLHttpRequest,"withCredentials"in b&&(d=b)):f.isDef(XDomainRequest)&&(d=new XDomainRequest);return d}},va=function(a,c,d,b,e,g,h,f,n,p,r){var w=0,s=0,A=!1,z,F=function(a,b,e,f,h){if(g.impressionIsIdentifiable()&&(a===m.DT_CODES.DIAGNOSTIC||a===m.DT_CODES.ADTALK||"n"!==n.getCurrentLoc()))try{var l=new N,p=q.now();l.path("dt");l=C(l,a,b,h);f||(l=u(l,a,b));c.send(l.toString(), function(){s+=1;w=q.now()-p},e);a===m.DT_CODES.UNLOAD&&(A=!0)}catch(k){__IntegralASDiagnosticCall("dt-"+a,k),d.add(d.ERROR_PHONE_HOME)}},B=function(a,d){var c={bapi:"a",bapiClient:"b",jload:"c",jss:"d",jsi:"e",cdnTest:"f",colloTest:"g"},e=k.mode,c=c[a]||c[e];b.on(d||e+"Diag")&&c&&F(m.DT_CODES.DIAGNOSTIC,-5,!0,!0,{field:"bkp",value:c})},u=function(a,c){n.fastForward();var e={};c===m.DT_CODES.VIDEO_EVENTS&&r&&p&&(e.ve=r.stringify());c===m.DT_CODES.UNLOAD&&(e.ndt=s);-1!==k.mode.indexOf("jsvid")&&p&& (e.vv=p.version);e.NULL1=b.output();e.NULL2=n.stringify(10);e.em=t.embedded;e.fr=t.friendly;e.uf=z.useFlash()?1:0;e.e=d.toString();e.tt=k.mode;e.dtt=w;h.iterate(function(a,b){b.props.type&&b.props.type!==c||(e[a]=b.output())});a.setField("tv",e);a.setField("br",f.getBrowserVendor());a.setField("adsafePrivacyPolicy","http://integr.al/privacy-policy");return a},C=function(a,d,c,e){b.on("usedtdomain")&&a.sub("dt");a.setField("asId",k.asid);a.setField("tv",{c:g.getCacheBustId(),pingTime:c||D(d),time:t.getTagTime(), type:d});e&&a.setField(e.field,e.value);return a},D=function(a){var b;a===m.DT_CODES.UNLOAD?b=-1:a===m.DT_CODES.ADTALK?b=-2:a===m.DT_CODES.VIEWABILITY_READY?b=-3:a===m.DT_CODES.VIDEO_EVENTS&&r&&p?b=-4:a===m.DT_CODES.DIAGNOSTIC?b=-5:a===m.DT_CODES.THIRD_PARTY?b=-6:a===m.DT_CODES.QUARTILE_FULLY_INVIEW&&(b=-7);return b};e.on({sendDt:function(a,b){F(a,b)},sendDiag:function(a,b){B(a,b)}});return{send:F,sendCookie:function(){var a;b.on("cookie")&&"true"===k.sendCookie&&k.protocol&&k.cookieDomain&&k.asid&& (a=k.protocol+"://"+k.cookieDomain+"?asid="+k.asid,c.send(a,void 0,!0),s++)},unload:function(){A||F(m.DT_CODES.UNLOAD,-1,!0)},diagnostic:B,setViewabilityMod:function(a){z=a}}},M=function(a){var c={},d=!1;(function(){var b;a!==window.parent&&(1!==a.nodeType?c=a:f.isDef(a.getBoundingClientRect)&&(b=x.getRect(a),f(c).mixin({x:b.left,y:b.top,width:b.width,height:b.height})))})();return{hasValidDims:function(){var b=1===a.nodeType?c:a;return!(isNaN(b.x)||isNaN(b.y)||isNaN(b.height)||isNaN(b.width))},get:function(){return c}, getRounded:function(){return{x:q.round(c.x),y:q.round(c.y),width:q.round(c.width),height:q.round(c.height)}},set:function(a,d){c[a]=d},isHidden:function(){var b=1===a.nodeType?x.nodeIsHidden(a):0===a.width||0===a.height;return d?!1:b},disallowHiddenState:function(){d=!0}}},oa=function(){return{calcDims:function(a,c){var d=M(a),b=x.getClippedDimensions(a,c),e=d.get();d.set("height",b.heightn&&(c=a,n=d);return f.isUndef(c)?null:f.isDef(c.nodeName)&&"DIV"==c.nodeName?x.findLargestChildNode(c):c}},la=function(a){return{getProps:function(){var c={};try{var d=document.createElement("span");f(d.style).mixin({position:"absolute",top:"150"});c={rpx:""=== d.style.top?1:0}}catch(b){a.add(a.ERROR_ENVIRONMENT)}return c}}},da=function(a){var c={},d=function(a){f.isDef(c[a])?c[a]++:c[a]=1};a.on("error",function(a){d(a)});return{list:c,add:d,toString:function(){var a="",d;for(d in c)c.hasOwnProperty(d)&&(a+=d);return a},hasErrors:function(){for(var a in c)return!0;return!1},ERROR_GET_AD_DIMENSIONS:"a",ERROR_ADTALK_GENERAL:"c",ERROR_GET_SCREEN_LOC_GET_DIMENSIONS:"d",ERROR_EXCHANGE_PARSING:"x",ERROR_PHONE_HOME:"h",ERROR_KILL_IT:"k",ERROR_LOCATION_DETAILS:"l", ERROR_GET_SCREEN_LOC_PIV_CALC:"p",ERROR_GET_WIN_DIMENSIONS:"w",ERROR_ADTALK_DUBIOUS:"D",ERROR_ENVIRONMENT:"v",ERROR_UID_GENERATION:"i",ERROR_NOTIFY_CLIENT:"n",ERROR_IMPRESSION_URLS:"I",ERROR_JSINFO:"J",ERROR_IMPRESSION_LEADUP:"L",ERROR_GET_ELEM_STYLE:"s",ERROR_PLUGIN_PARSING:"P",ERROR_AT_SEND:"S",ERROR_AT_INIT:"N",ERROR_BAPI_CALLBACK:"b"}},Ha=function(a,c){var d=function(a){var d=[];if(a&&a instanceof Array)d=f(a).map(function(a,b){return b.val}),d.push(k.adsafeSrc,k.requrl,k.reqquery);else throw Error("Unexpected data type in ExchangeParser.getUrlList"); return d};return{parse:function(b){try{var e,g=d(b),h=g&&g.length&&g.join("|"),l=k.exchList;h&&(e=f(l).map(function(a,b){return 0<=h.indexOf(O.rot(b))?a:void 0}),e.length&&c.addItem({output:e.join(".")},"ex",{type:"UFO"}))}catch(n){a.add(a.ERROR_EXCHANGE_PARSING)}}}},V=function(){var a={},c=function(b,d){var c=RegExp(b+"(?=$|,)|"+b+":(?!,|$)(.?\\d*(?=,|$))").exec(k.jsFeatures);if(f.isUndef(a[b])||d)a[b]=!!(c&&!c[1]||c&&c[1]>100*q.random());return a[b]},d={fc:"forcecocoa",rt:"rattie",cb:"cachebust", np:"nextcocoa",th:"tabHiddenDtCall"},b=function(){return f(d).mapToObj(function(b,d){var c={};c[b]=a[d]?1:0;return c})};f(d).each(function(a,b){c(b)});return{on:c,output:function(){return f(b()).toParams()}}},qa=function(a){var c=a.browserIs("g")||a.browserIs("i")||t.friendlyIframe||!t.embedded;return{calcPercentInView:function(a,b){var c=b.isHidden(),f=b.getRounded(),h;h=a.x;var l=f.x;h=Math.min(a.x+a.width,f.x+f.width)-Math.max(l,h);var l=a.y,n=f.y,l=Math.min(a.y+a.height,f.y+f.height)-Math.max(n, l);h=0>=h||c?0:q.round(h/f.width*100);c=0>=l||c?0:q.round(l/f.height*100);return q.round(h*c/100)},calcInitialViewState:function(a,b){var e=m.NA;if(c||b)e=75<=a?m.IN_VIEW:25>=a?m.OUT_OF_VIEW:50<=a?m.PARTIAL_VIEW_PLUS:m.PARTIAL_VIEW_MINUS;return e},getOverlappingDims:function(a,b){a.x2=a.x+a.width;a.y2=a.y+a.height;b.x2=b.x+b.width;b.y2=b.y+b.height;var c=Math.max(a.x,b.x),f=Math.max(a.y,b.y),h=Math.min(a.x2,b.x2),l=Math.min(a.x2,b.x2);return c>h||f>l?void 0:a.x<=b.x2&&a.x2>=b.x&&a.y<=b.y2&&a.y2>= b.y}}},ma=function(a){var c=!1;return{getCacheBustId:function(){var a=new Date,b=Date.parse("Jan 1 "+a.getFullYear()),a=a.getTime()-b;return f.toBase(a,62)},impressionIsIdentifiable:function(a){a&&(c=!0);return c},unq:function(){var d="";try{for(var b,c=window.Uint32Array&&window.crypto&&window.crypto.getRandomValues;30>d.length;)c?(b=new Uint32Array(1),window.crypto.getRandomValues(b),d+=b[0].toString(16)):d+=(16*q.random()|0).toString(16);d=d.slice(0,30)}catch(f){a.add(a.ERROR_UID_GENERATION)}return d}()}}, pa=function(a,c){var d,b=function(){try{var b,d;if(t.friendly){var c=g(window);b=c.left;d=c.top}else a.browserIs("i")&&11!==a.getDocumentMode()?(c=function(a){b=a.screenX-a.clientX;d=a.screenY-a.clientY},document.documentElement.attachEvent("onmousemove",c),document.documentElement.fireEvent("onmousemove"),document.documentElement.detachEvent("onmousemove",c)):f.isUndef(window.mozInnerScreenX)?(b=window.screenLeft,d=window.screenTop):(b=q.round(window.mozInnerScreenX),d=q.round(window.mozInnerScreenY)); return{x:b,y:d}}catch(e){}},e=function(){var a,b,c=d||x.getIeDimObj();f.isDef(window.innerWidth)?(a=window.innerWidth,b=window.innerHeight):c&&f.isDef(c.clientWidth)?(a=c.clientWidth,b=c.clientHeight,0===a&&0=m.MAX_URL_LENGTH)return""; var d,c,e=[],g=function(a){return-1!==a.key.indexOf("q")||-1!==a.key.indexOf("g")};d=f(a).map(function(a,b){if(g(b))return b});c=f(a).map(function(a,b){if(!g(b))return b});f(d.concat(c)).each(function(a,d){var c="adsafe_url="+d.val+"&adsafe_type="+d.key,f=e.join("&").length;c.length+f+b<=m.MAX_URL_LENGTH&&e.push(c)});return e.join("&")},p=function(a){var e=0,n=O.hashCode(k.asid),p="adsafe_jsinfo=",z=l.needsFlash()?{viewState:m.NA}:l.checkScreenLoc(!0),F="c:"+b.getCacheBustId()+",sl:"+z.viewState+ ",em:"+t.embedded+",fr:"+t.friendly,B=d.on("postDts")&&v.getXHR2()?"p":"i",u=["pt:"+l.stringifyPingTimes()+(z.viewState!=m.NA?z.details:""),f(h.params()).toParams(),"id:"+k.asid];g.iterate(function(a,b){u.push(a+":"+b.output())});c.toString()&&u.push("e:"+c.toString());u.push(d.output());u.push("uf:"+(l.useFlash()?1:0));u.push("tt:"+k.mode);u.push("et:"+(q.now()-k.birthdate));u.push("uid:"+b.unq);u.push("v:9.0");u.push("sp:"+("true"===k.jsDoSplit?1:0));u.push("ct:"+t.getPageTime());u.push("dtm:"+ B);u.push("mn:"+k.mn);u.push("gtpl:"+("true"===k.getTpl?1:0));d.on("resolution")&&(u.push("wr:"+f(x.windowSize()).toArray().join(".")),u.push("sr:"+f(x.screenSize()).toArray().join(".")));-1===(""+n).indexOf(h.params().br.toUpperCase().charCodeAt(0))&&u.push("mf:"+n);var C=function(b){return p.length+a+b.length+5<=m.MAX_URL_LENGTH},D=function(a){if(a)return","+a};C(F)&&(p+=D(F),f(u).each(function(a,d){-1!==d.indexOf("id:")&&C(d)?(p+=D(d),b.impressionIsIdentifiable(!0)):C(d)?p+=D(d):e+=1}),D("sp:"+ ("true"===k.jsDoSplit?1:0)));return p+=",ov:"+e};return{send:function(a){var b=e.baseUrl;try{b+=n(a,b.length)}catch(d){c.add(c.ERROR_IMPRESSION_URLS)}b+="&"===b.slice(-1)?"":"&";try{b+=p(b.length)}catch(f){c.add(c.ERROR_JSINFO),b+="adsafe_jsinfo=e:"+c.toString()}e.macroUrl&&(b+="&"===b.slice(-1)?"":"&",b+=e.macroUrl);try{e.sendImpression(b)}catch(g){__IntegralASDiagnosticCall("impsend",g,k)}}}},za=function(a,c){return{init:function(d){a.jsonp(d,function(a){c.send(m.DT_CODES.THIRD_PARTY,void 0,!1, !0,{field:"tpiLookup",value:a})},!1,"callback")}}},wa=function(a,c,d){var b=function(a,b){return{time:a,task:b}},e=function(a,d){d=d||f.noop;return function(e){return f(e).map(function(e,f){var l=f/1E3;return new b(f,function(){var b;b="";1!==l&&(b+=l);b=k["_onInViewMRC"+b];c.send(a,l);d(b)})})}};return{getJob:function(a,d){return new b(a,d)},getPingJobs:e(m.DT_CODES.PING,function(b){"true"===k.useViewabilityNotification&&!d.skipAsFraudulent()&&b&&a.notify(b)}),getFullyInViewPingJobs:e(m.DT_CODES.FULLY_INVIEW), getPosInViewPingJobs:e(m.DT_CODES.POS_INVIEW)}},ja=function(){var a=function(a,b){-1!==a.indexOf(b+"&")&&(b+="&");return a.replace(b,"")},c=function(a,b,c){var f=a.indexOf("?");b=b+"="+c;if(-1===f)return a+"?"+b;f++;return a.slice(0,f)+b+"&"+a.slice(f)};return{wrap:function(d,b,e,f){var h="__IntegralAS_"+k.asid.replace(/\-/g,"")+"_"+q.round(1E4*Math.random()),l,n,p;f=f||"ias_callback";RegExp(f).test(d)&&(l=RegExp("("+f+"=)(.[^&]*)").exec(d)[0],n=l.split("=")[1],p=O.stringToFn(n),d=a(d,l));window[h]= function(a){b(a);e&&p&&p(a);window[h]=void 0};return d=c(d,f,h)}}},ia=function(){var a=function(){return void 0!==window.mraid};return{isInView:function(){var c=m.NA;a()&&void 0!==window.mraid.isViewable&&(c=window.mraid.isViewable()?m.IN_VIEW:m.OUT_OF_VIEW);return c},getDetectionMethod:function(){return a()?m.DETECTION_METHODS.MOBILE:m.NA},isMobileApp:function(){return a()}}},Aa=function(a,c,d){var b={jss:{isFW:!0,nodeType:"script"},jsi:{isFW:!0,nodeType:"iframe"},jload:{impressionMethod:function(a){c.send(a, function(){d.trigger("sendDiag")},!0)}},bapi:{impressionMethod:function(b){c.jsonp(b,a.enabled?a.callback:f.noop,a.enabled?!0:!1)}},jsapi:{isFW:!0,impressionMethod:function(b){c.jsonp(b,a.enabled?a.callback:f.noop,a.enabled?!0:!1)}},jsvid:{impressionMethod:function(a){d.on("adImpression",function(){c.send(a)})}},fwjsvid:{isFW:!0,processUrl:function(a){"false"===k.fwMonitoring&&(a=a.split("/"),a[3]="db2",a[4]="video",a=a.join("/"));return a},impressionMethod:function(a){"false"===k.fwMonitoring&&c.jsonp(a, function(a){d.trigger("videoBlockResult",a)});d.on("adImpression",function(){c.send(a)})}},jspix:{nodeType:"img"}};return new function(){var a=b[k.mode],d=!!a.isFW,f=d?k.adsafeSrc:k.requrl+"?"+k.reqquery,l=f.indexOf("BEGIN__ADSAFE"),n=-1!==l,p=n?f.slice(l):"",f=n?f.slice(0,l):f+(d?k.adsafeSep:"&");return{isFW:d,baseUrl:f,macroUrl:p,sendImpression:function(b){b=a.processUrl?a.processUrl(b):b;a.nodeType?c.addNode(a.nodeType,b):a.impressionMethod(b)}}}},Ga=function(a,c){var d,b=k.mtCell,e=k.mtSample, g=0,h=0,l=[],n=null,p=null,r,w=function(a){try{var d=q.now()-n;g+=d;v.removeEvent("mousemove",A);l.push("{ht:"+g+",mm:{"+f(r).toParams()+"}}");c.addItem({output:"{cs:"+b+",sr:"+e+",ec:"+l.length+",me:["+l.slice(-10).join(",")+"]}"},"mt",{type:m.DT_CODES.UNLOAD})}catch(h){}},s=function(a){try{g=0,r={},n=q.now(),v.addEvent(d,"mousemove",A)}catch(b){}},A=function(c){var g,l,n,k,m,A,w;try{null===p&&(p=d&&f.isDef(c.clientX)&&f.isDef(c.clientY));if(p&&0===h%e&&(m=a.calcDims(),-1!==m)){w=q.ceil(m.width/ b);var s=c.clientX,v=c.clientY;n=t.embedded?s:s-m.x;k=t.embedded?v:v-m.y;g=q.floor(n/b);l=q.floor(k/b);A=g+l*w;r[A]?r[A]++:r[A]=1}h++}catch(x){}};return{init:function(){var b=setInterval(function(){try{a.isAdDetected()&&(d=a.getOriginatingElement(),v.addEvent(d,"mouseenter",s),v.addEvent(d,"mouseleave",w),clearInterval(b))}catch(c){}},250)}}},q={execAtEndOfThread:function(a){setTimeout(a,0)},now:function(){return(new Date).getTime()},random:function(){return Math.random()},round:function(a){return Math.round(a)}, ceil:function(a){return Math.ceil(a)},floor:function(a){return Math.floor(a)}},fa=function(){var a={},c=q.now(),d=!0,b=new U,e=function(){var a=function(){c=q.now();window.webkitRequestAnimationFrame(a)};window.webkitRequestAnimationFrame(a);setInterval(function(){var a=100")),d;if(d=f.isDef(c))if(d=!1,f.isDef(window.navigator)&&f.isDef(window.navigator.userAgent)){var e=window.navigator.userAgent.match(/Firefox\/([\.0-9]+)/);null!==e&&2==e.length&&(e=e[1].split("."), 3==parseInt(e[0],10)&&6>=parseInt(e[1],10)&&(3==e.length?13>=parseInt(e[2],10)&&(d=!0):d=!0))}d&&(a.g=c)}return a},b={};try{b.a=encodeURIComponent(top.location.href)}catch(e){}try{b.b=encodeURIComponent(parent.location.href)}catch(g){}if(t.embedded){try{b.c=encodeURIComponent(parent.document.referrer)}catch(h){}try{b.e=encodeURIComponent(window.document.referrer)}catch(l){}}try{"jsi"!==k.mode&&(b.d=encodeURIComponent(window.location.href))}catch(n){}try{b.f=encodeURIComponent(k.jsref)}catch(p){}try{var m= d();b.g=encodeURIComponent(m.g);b.q=encodeURIComponent(m.q)}catch(q){}var b=a(b),b=c(b),d=[],s;for(s in b)b.hasOwnProperty(s)&&d.push({key:s,val:b[s]});d.sort(function(a,b){return a.val.length>b.val.length?1:a.val.length=a?90:122)>=(a=a.charCodeAt(0)+13)?a:a-26)})},hashCode:function(a){var c=0,d,b,e;if(0===a.length)return c; d=0;for(e=a.length;d