if(typeof(_fskadsparameters)=='undefined') { _fskadsparameters=[]; }if(typeof(fskLib)=='undefined') { fskLib=jQuery; }_fskadsparameters['_confs']={'9': {'_adType': 'splitbox','_handlers': {},'_spConfId': '9', '_spMaxWidth': '', '_spMaxHeight': '', '_spEligibilityPolicy': 'NONE', '_spAutoInsert': 'true', '_spFixHeight': 'false', '_spType': 'splitbox','_spPosition': '','_spVerticalPosition': '', '_spHorizontalPosition': '','_spCornerMaxWidth': '','_spCornerMaxHeight': '','_spIDs': [],'_spPassback': undefined,'_spInsertionConfig': [{'_spAutoInsertPolicy': 'INDEX', '_spAutoInsertParent': '.npPostContent', '_spAutoInsertMarkup': 'p', '_spAutoInsertIndex': '3', '_spAutoInsertLast': 'false','_spAllowMultiple': 'false','_spOn': {"data":[]},'_spOff': {"data":[]},'_spDivExtraCss': '#fsk_splitbox_9.sb-opened { margin-bottom: 10px !important; } #fsk_splitbox.sb-opened { margin-bottom: 10px !important; } .fsk_splitbox_9.sb-opened { margin-bottom: 10px !important; } .fsk_splitbox.sb-opened { margin-bottom: 10px !important; }'}], '_spDivExtraCss': '','_spRatio': 0.5}};_fskadsparameters['_server']='http://sb.freeskreen.com';_fskadsparameters['_pid']='27';_fskadsparameters['_act']='https://sb.freeskreen.com//fsk.html';_fskadsparameters['_flc']='NP-news';_fskadsparameters['_slc']='canada';_fskadsparameters['_eligibleConfig']='';_fskadsparameters['_confId']='';_fskadsparameters['_wallType']='';_fskadsparameters['_featuredOffer']='';_fskadsparameters['_zindex']=1100000; _fskadsparameters['_ut']='3lWnmzfbEofXu01OptoE4Oopz1Xn57';_fskadsparameters['_utid']='27';_fskadsparameters['_uts']='88b07df7-c6ac-4b9c-a5e5-e4632c20d4cd';_fskadsparameters['_actConf']={"9":"||300||1"};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);if(jQuery('#fsk_user').length==0)jQuery('body').append('
');function FskAds(){var f=this;this.pageUrl=null;this.checked={};this.hasToRefresh=!1;this.listeners=[];this.destructors=[];this.messageHandlers={};this.activityUrl=window.location.protocol+"//"+_fskadsparameters._act.replace(/^(http)?(s)?(:)?(\/\/)?/,"");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;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.started=function(a){for(var b=this.getData("fsk_act"),c="",d=Math.floor((new Date).getTime()/1E3),b=b.split(";"),e=0;e=parseInt(f[2])?(g[2]=d,g[4]=1):""!=f[2]&&""!=f[4]&&d-parseInt(g[2])=c.indexOf(";"+a+"=")&&(c+=a+"="+d+"|0|"+d+"|0;");this.setData("fsk_act",c)};this.refresh=function(a){var b=this.getData("fsk_act"),c="";(new Date).getTime();for(var b=b.split(";"),d=0;d=c.indexOf(";"+a+"=")&&(c+=a+"=0|0|0|0|0");this.setData("fsk_act",c)};this.getActivity=function(a){for(var b="",c=this.getData("fsk_act").split(";"),d=0;dc||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('