if(typeof(_fskadsparameters)=='undefined') { _fskadsparameters=[]; }if(typeof(fskLib)=='undefined') { fskLib=jQuery; }_fskadsparameters['_confs']={'27': {'_adType': 'splitbox','_preload': 'true','_handlers': {},'_content': ' FreeSkreen
','_spConfId': '27', '_spMaxWidth': '', '_spMaxHeight': '', '_spEligibilityPolicy': 'NONE', '_spAutoInsert': 'false', '_spFixHeight': 'false', '_spType': 'splitbox','_spPosition': '','_spVerticalPosition': '', '_spHorizontalPosition': '','_spCornerMaxWidth': '','_spCornerMaxHeight': '','_spIDs': [],'_spPassback': undefined,'_spInsertionConfig': [{'_spAutoInsertPolicy': 'INDEX', '_spAutoInsertParent': '.article-story-body .body', '_spAutoInsertMarkup': 'div', '_spAutoInsertIndex': '9', '_spAutoInsertLast': 'false','_spAllowMultiple': 'false','_spOn': {"data":[]},'_spOff': {"data":[]},'_spDivExtraCss': '#fsk_splitbox_27 { } #fsk_splitbox { } #fsk_splitbox_27.sb-opened { margin-top: 1em;margin-bottom: 1em; } #fsk_splitbox.sb-opened { margin-top: 1em;margin-bottom: 1em; } .fsk_splitbox_27 { } .fsk_splitbox { } .fsk_splitbox_27.sb-opened { margin-top: 1em;margin-bottom: 1em; } .fsk_splitbox.sb-opened { margin-top: 1em; margin-bottom: 1em; }'},{'_spAutoInsertPolicy': 'INDEX', '_spAutoInsertParent': '.article__body', '_spAutoInsertMarkup': 'div', '_spAutoInsertIndex': '9', '_spAutoInsertLast': 'false','_spAllowMultiple': 'false','_spOn': {"data":[]},'_spOff': {"data":[]},'_spDivExtraCss': '#fsk_splitbox_27 { } #fsk_splitbox { } #fsk_splitbox_27.sb-opened { margin-top: 1em; margin-bottom: 1em; } #fsk_splitbox.sb-opened { margin-top: 1em; margin-bottom: 1em; } .fsk_splitbox_27 { } .fsk_splitbox { } .fsk_splitbox_27.sb-opened { margin-top: 1em; margin-bottom: 1em; } .fsk_splitbox.sb-opened { margin-top: 1em;margin-bottom: 1em; }'}], '_spDivExtraCss': '#fsk_splitbox_27 { max-width: 620px; max-height: 375px; margin: auto; } #fsk_splitbox { } #fsk_splitbox_27.sb-opened { margin-top: 1em; margin-bottom: 1em; max-width: 620px; max-height: 375px; margin: auto;} #fsk_splitbox.sb-opened { margin-top: 1em; margin-bottom: 1em; max-width: 620px; max-height: 375px; margin: auto;} .fsk_splitbox_27 { max-width: 620px; max-height: 375px; margin: auto;} .fsk_splitbox { } .fsk_splitbox_27.sb-opened { margin-top: 1em; margin-bottom: 1em; max-width: 620px; max-height: 375px; margin: auto;} .fsk_splitbox.sb-opened { margin-top: 1em; margin-bottom: 1em; max-width: 620px; max-height: 375px; margin: auto;} ','_spRatio': 0.5}};_fskadsparameters['_server']='https://sb.freeskreen.com';_fskadsparameters['_pid']='52';_fskadsparameters['_flc']='news';_fskadsparameters['_slc']='canada';_fskadsparameters['_eligibleConfig']='';_fskadsparameters['_confId']='';_fskadsparameters['_wallType']='';_fskadsparameters['_featuredOffer']='';_fskadsparameters['_zindex']=10000; _fskadsparameters['_ut']='Pcu462ojWu6dwprkqyS656Xhsd7oNr';_fskadsparameters['_utid']='52';_fskadsparameters['_uts']='5f53ffa8-81f5-477f-88e5-1336613e6e7c';var fskRIE=document.createElement("IFRAME");fskRIE.src=window.location.protocol + '//ssum' + (window.location.protocol == 'https:' ? '-sec' : '') + '.casalemedia.com/usermatch?s=184088&cb=' + encodeURIComponent(window.location.protocol + '//sb.freeskreen.com/um?i=');fskRIE.style.display='none';document.body.appendChild(fskRIE);function FskAds(){var f=this;this.pageUrl=null;this.checked={};this.hasToRefresh=!1;this.listeners=[];this.destructors=[];this.messageHandlers={};this.isMobile={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPad|iPod|iPhone/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return _FskAds.isMobile.Android()|| _FskAds.isMobile.BlackBerry()||_FskAds.isMobile.iOS()||_FskAds.isMobile.Opera()||_FskAds.isMobile.Windows()},iOSVersion:function(){var a=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3]||0,10)]},UAMobile:function(){var a={};try{_FskAds.isMobile.Android()?(a.os="Android",a.osv=navigator.userAgent.match(/; Android (\d+(?:\.\d+)+)/i)[0].replace("; Android ","")):_FskAds.isMobile.iOS()?(a.os="iOS",a.osv=_FskAds.isMobile.iOSVersion(),a.make= "Apple",a.model=navigator.userAgent.match(/iPhone/i)?"iPhone":navigator.userAgent.match(/iPad/i)?"iPad":navigator.userAgent.match(/iPod/i)?"Ipod":""):_FskAds.isMobile.Windows()&&(a.os="Windows")}catch(b){console.log(b)}return a}};this.readyList=[];this.readyEventHandlersInstalled=this.readyFired=!1;this.ready=function(){if(!_FskAds.readyFired){_FskAds.readyFired=!0;for(var a=0;a<_FskAds.readyList.length;a++)_FskAds.readyList[a].fn.call(f,_FskAds.readyList[a].ctx);_FskAds.readyList=[]}};this.readyStateChange= function(){"complete"===document.readyState&&_FskAds.ready()};this.docReady=function(a,b){_FskAds.readyFired?setTimeout(function(){a(b)},1):(_FskAds.readyList.push({fn:a,ctx:b}),"complete"===document.readyState||!document.attachEvent&&"interactive"===document.readyState?setTimeout(_FskAds.ready,1):_FskAds.readyEventHandlersInstalled||(document.addEventListener?(document.addEventListener("DOMContentLoaded",_FskAds.ready,!1),window.addEventListener("load",_FskAds.ready,!1)):(document.attachEvent("onreadystatechange", _FskAds.readyStateChange),window.attachEvent("onload",_FskAds.ready)),_FskAds.readyEventHandlersInstalled=!0))};this.width=function(a){return window.getComputedStyle?parseInt(window.getComputedStyle(a,null).width.replace("px","")):a.offsetWidth};this.height=function(a){return window.getComputedStyle?parseInt(window.getComputedStyle(a,null).height.replace("px","")):a.offsetHeight};this.sliceIdx=-2;window.location.hostname.match(/\.com\.br$/)&&(this.sliceIdx=-3);this.domain="undefined"!=typeof _fskadsparameters._cDomain? _fskadsparameters._cDomain:location.host.split(".").slice(this.sliceIdx).join(".");-1==this.domain.indexOf(".")&&(this.domain=void 0);window.location.origin||(window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""));if("undefined"!=typeof _fskadsparameters._ut){var h=new Date;h.setDate(h.getDate()+30);document.cookie="fsk_ut_"+_fskadsparameters._utid+"="+_fskadsparameters._ut+";expires="+h.toUTCString()+(this.domain?";domain=."+ this.domain:"")+";path=/"}"undefined"!=typeof _fskadsparameters._uts&&(h=new Date,h.setMinutes(h.getMinutes()+30),document.cookie="fsk_uts="+_fskadsparameters._uts+";expires="+h.toUTCString()+(this.domain?";domain=."+this.domain:"")+";path=/");this.getFSLC=function(){return"&flc="+encodeURIComponent(_fskadsparameters._flc)+"&slc="+encodeURIComponent(_fskadsparameters._slc)};this.getLocation=function(a){var b=document.createElement("a");b.href=a;b.origin||(b.origin=b.protocol+"//"+b.hostname);return b}; this.ontouchmove=function(a){_FskAds.isOpened&&a.preventDefault()};this._addMessageHandler=function(a,b){"undefined"==typeof _FskAds.messageHandlers[a]&&(_FskAds.messageHandlers[a]=[]);_FskAds.messageHandlers[a].push(b)};this.registerMessageHandler=function(a,b){if("string"==typeof a)_FskAds._addMessageHandler(a,b);else for(var c=0;cc.readyState||200!==c.status||4===c.readyState&&b(c)};c.open("GET",a,!0);c.withCredentials=!0;c.send("")};this.scrollTop=function(){window.scrollTo(0,0)};this.getCookie=function(a){var b=document.cookie,c=b.indexOf(" "+ a+"=");-1==c&&(c=b.indexOf(a+"="));-1==c?b=null:(c=b.indexOf("=",c)+1,a=b.indexOf(";",c),-1==a&&(a=b.length),b=unescape(b.substring(c,a)));return b};this.updateCookies=function(a,b,c){c?document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT"+(this.domain?";domain=."+this.domain:"")+";path=/":(c=new Date,c.setDate(c.getDate()+30),document.cookie=a+"="+b+";expires="+c.toUTCString()+(this.domain?";domain=."+this.domain:"")+";path=/")};this.parseGetParameters=function(a){var b=void 0,c=[];location.search.substr(1).split("&").forEach(function(d){c= d.split("=");c[0]===a&&(b=decodeURIComponent(c[1]))});return b};this.getStdQueries=function(a,b,c){if("undefined"==typeof b)return a;var d=a,d=d+(("?"==d[d.length-1]?"":"&")+"pid="+_fskadsparameters._pid),d=d+("&adID="+("undefined"!=typeof c?c:""));c=_FskAds.parseGetParameters("fsk_force_campaign");"undefined"!=typeof c&&(d+="&ffc="+c);(c=_FskAds.getMetaContent("adtypeSB"))&&c.match(/force/i)&&(d+="&fp=1");if("undefined"!=typeof a){var e;"undefined"!=typeof b._spConfId?e=b._spConfId:"undefined"!= typeof b._sdConfId?e=b._sdConfId:"undefined"!=typeof b._ovConfId&&(e=b._ovConfId);d+="&confId="+e;null!=e&&"undefined"!=typeof _FskAds.getActivity&&(d+="&a="+btoa(e+"="+_FskAds.getActivity(e)+";"))}_fskadsparameters._ut&&(d+="&trackerId="+_fskadsparameters._ut);_fskadsparameters._uts&&(d+="&uts="+_fskadsparameters._uts);d+=_FskAds.getFSLC();if("undefined"!=typeof FSK_getExtraParameters)for(var g in FSK_getExtraParameters())a=g,b=FSK_getExtraParameters()[g],0!=a.indexOf("p_")&&(a="p_"+a),d+="&"+a+ "="+encodeURIComponent(b);-1==d.indexOf("p_kw")&&(g=f.getMetaContent("fsk-kw"),""!=g&&(d+="&p_kw="+encodeURIComponent(g)));"undefined"!=typeof _FskAds.getVS&&_FskAds.getVS()&&(d+="&vs="+btoa(_FskAds.getVS()));return d};this.cleanup=function(){try{_FskAds.removeListeners([["message",_FskAds.fskMessageListener]])}catch(b){}for(var a=0;a<_FskAds.destructors;a++)try{_FskAds.destructors[a]()}catch(b){}};this.addListeners=function(a,b){b||(b=window);for(var c=0;cc||fl);if(!isVisible)return{real:!1,full:!1};visibleY=Math.min(l,f)-Math.max(k,d);visibleY_full=Math.min(m,f)-Math.max(k,d);visible=visibleY/a.offsetHeight;visible_full=visibleY_full*n/a.offsetWidth; return{real:isNaN(visible)&&0==_FskAds.height(a)?!0:visible>=b,full:isNaN(visible_full)&&0==_FskAds.height(a)?!0:visible_full>=b}};this.visible=function(a){return 0b?a.style.height=d+"px":(a.style.height=b,clearInterval(f))},40)};this.compatibilityWrapWidth=function(a,b){var c=a.offsetWidth,d=c,e=(c-b)/20;a.style.overflow="hidden";var f=setInterval(function(){d-= e;d>b?a.style.width=d+"px":(a.style.width=b,clearInterval(f))},40)};this.compatibilitySlideDown=function(a,b){var c=0,d=b/20;a.style.overflow="hidden";var e=setInterval(function(){c+=d;cb;b++)a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return a};FskAds.prototype.getSplitBoxDivClass=function(a){return"fsk_splitbox_"+a._spConfId};FskAds.prototype.getSplitBoxDivId=function(a){return"false"==a._spAllowMultiple?"fsk_splitbox_"+a._spConfId:"fsk_splitbox_"+_FskAds.genId()}; FskAds.prototype.getAllSplitBoxDiv=function(a){if("undefined"==typeof a._spIDs)return[];for(var b=[],c=0;c=a.sbHeight?_FskAds.slideUp(b,a.sbHeight):_FskAds.slideDown(b,a.sbHeight);e>a.sbWidth&&_FskAds.wrapWidth(_FskAds.getSplitBoxIframe(b),parseInt(a.sbWidth))}; FskAds.prototype.buildPassbackIframe=function(a,b,c,d,e){var f=_FskAds.width(a),g="#"+a.id+"_passback{display: block; overflow:hidden; padding: 0; height: "+c+"px; } #"+a.id+"_passback_iframe{ transform-origin: 0 0; }#"+a.id+"_passback div{margin: auto;}";d&&(d=parseInt(f)/b,g+="#"+a.id+"_passback_iframe{ transform: scale("+d+"); }");_FskAds.appendStyle(g);g=document.createElement("iframe");g.src="about:blank";g.id=a.id+"_passback_iframe";g.style.marginLeft="auto";g.style.marginRight="auto";g.style.marginTop= "auto";g.style.marginBottom="auto";g.style.display="block";g.style.width=b.toString()+"px";g.style.height=c.toString()+"px";g.scrolling="no";g.style.borderStyle="none";b=document.createElement("DIV");b.id=a.id+"_passback";e?(b.style.position="relative",b.style.top="50%",b.style.marginTop="-"+parseInt(c/2)+"px",a.appendChild(b)):_FskAds.insertAfter(b,a);b.appendChild(g);return g}; FskAds.prototype.handlePassback=function(a,b){var c=a[b.id];"undefined"!=typeof c._hasImpression&&c._hasImpression||"undefined"==typeof a._spPassback||_FskAds.displayPassback(a._spPassback,b,!1)}; FskAds.prototype.displayPassback=function(a,b,c){if("undefined"==typeof a.eligible||a.eligible()){if("CUSTOM"==a.type)return a.passback(_fskconf,b);var d="function"==typeof a.width?a.width():a.width,e="function"==typeof a.height?a.height():a.height,f="function"==typeof a.doScale?a.doScale():a.doScale;if(b=_FskAds.buildPassbackIframe(b,d,e,f,c)){var g=b.contentWindow;switch(a.type){case "ADX":var l="function"==typeof a.path?a.path():a.path;setTimeout(function(){g.document.write(''); g.document.write('