if(typeof(_fskadsparameters)=='undefined') { _fskadsparameters=[]; }if(typeof(fskLib)=='undefined') { fskLib=jQuery; }_fskadunits={'_':''};_fskgeo={ "usPrivacy": "", "gdpr": false, "consentVersion":"1", "consent": "-1", "gConsent": "-1", "country": "US", "province": "VA", "dma": "511" };_fskadsparameters['_confs']={};_fskadsparameters._listeners={};window._fskAddListener=function(event, callback) {if (typeof _fskadsparameters._listeners[event] == 'undefined') {_fskadsparameters._listeners[event]=[];}_fskadsparameters._listeners[event].push(callback);};_fskadsparameters['_server']=window.location.protocol + 'http://sb.freeskreen.com'.replace('http:', '').replace('https:', '');_fskadsparameters['_pid']='4279';_fskadsparameters['_ip']='54.173.183.94';_fskadsparameters['_flc']='';_fskadsparameters['_slc']='';_fskadsparameters['_eligibleConfig']='';_fskadsparameters['_confId']='';_fskadsparameters['_wallType']='';_fskadsparameters['_featuredOffer']='';_fskadsparameters['_zindex']=10000; function FskAds(){var g=this;this.pageUrl=null;this.checked={};this.hasToRefresh=!1;this.listeners=[];this.destructors=[];this.messageHandlers={};this.fskEventLogger=function(a,b){if("undefined"!=typeof _FskAds._fskEventUrl&&a){var d=_FskAds._fskEventUrl.replace("__EVENT__",a).replace("__EXTRA__",b?b:""),c=document.createElement("IMG");c.src=d;c.className="fskevtpixel";c.style.display="none";document.body.appendChild(c)}};this.isMobile={Android:function(){return navigator.userAgent.match(/Android/i)}, BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},PlayBook:function(){return navigator.userAgent.match(/PlayBook/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.iOS()||_FskAds.isMobile.PlayBook()||_FskAds.isMobile.BlackBerry()||_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(g,_FskAds.readyList[a].ctx);_FskAds.readyList=[]}};this.readyListener=function(){"undefined"!=typeof fskLib&&fskLib?_FskAds.ready():setTimeout(function(){_FskAds.readyListener()},100)};this.docReady=function(a, b){_FskAds.readyFired?setTimeout(function(){a(b)},1):_FskAds.readyList.push({fn:a,ctx:b})};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=/"}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 d=0;dc.readyState||(200!==c.status?d&&d():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,d=b.indexOf(" "+a+"=");-1==d&&(d=b.indexOf(a+"="));-1==d?b=null:(d=b.indexOf("=",d)+1,a=b.indexOf(";",d),-1==a&&(a=b.length),b=unescape(b.substring(d,a)));return b};this.updateCookies=function(a,b,d){d?document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT"+(this.domain?";domain=."+this.domain:"")+";path=/":(d=new Date,d.setDate(d.getDate()+30),document.cookie=a+"="+b+";expires="+d.toUTCString()+ (this.domain?";domain=."+this.domain:"")+";path=/")};this.parseGetParameters=function(a){var b=void 0,d=[];location.search.substr(1).split("&").forEach(function(c){d=c.split("=");d[0]===a&&(b=decodeURIComponent(d[1]))});return b};this.getStdQueries=function(a,b,d){if("undefined"==typeof b)return a;var c=a,c=c+(("?"==c[c.length-1]?"":"&")+"pid="+_fskadsparameters._pid),c=c+("&adID="+("undefined"!=typeof d?d:""));d=_FskAds.parseGetParameters("fsk_force_campaign");"undefined"!=typeof d&&(c+="&ffc="+ d);(d=_FskAds.getMetaContent("adtypeSB"))&&d.match(/force/i)&&(c+="&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);c+="&confId="+e;null!=e&&"undefined"!=typeof _FskAds.getActivity&&(c+="&a="+btoa(e+"="+_FskAds.getActivity(e)+";"))}_fskadsparameters._ut&&(c+="&trackerId="+_fskadsparameters._ut);c+=_FskAds.getFSLC();if("undefined"!=typeof FSK_getExtraParameters)for(var f in FSK_getExtraParameters())a= f,b=FSK_getExtraParameters()[f],0!=a.indexOf("p_")&&(a="p_"+a),c+="&"+a+"="+encodeURIComponent(b);-1==c.indexOf("p_kw")&&(f=g.getMetaContent("fsk-kw"),""!=f&&(c+="&p_kw="+encodeURIComponent(f)));"undefined"!=typeof _FskAds.getVS&&_FskAds.getVS()&&(c+="&vs="+btoa(_FskAds.getVS()));return c};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.infiniteRefresh=function(){for(var a in _fskadsparameters._confs)if("undefined"!= typeof a&&"undefined"!=typeof _fskadsparameters._confs[a]._spIDs){for(var b=0;b<_fskadsparameters._confs[a]._spIDs.length;b++)document.getElementById(_fskadsparameters._confs[a]._spIDs[b])||(_fskadsparameters._confs[a][_fskadsparameters._confs[a]._spIDs[b]]={});_fskadsparameters._confs[a]._spIDs=[]}_FskAds.scanSplitBox()};this.fireEvent=function(a){if("undefined"!=typeof _fskadsparameters._listeners[a])for(var b=0;b<_fskadsparameters._listeners[a].length;b++)_fskadsparameters._listeners[a][b]();if("undefined"!= typeof window._fsklisteners&&"undefined"!=typeof window._fsklisteners[a])for(b=0;bd||fm);if(!isVisible)return e?f=b,full:isNaN(visible_full)&&0==_FskAds.height(a)?!0:visible_full>=b}};this.visible=function(a){return 0b?a.style.height=c+"px":(a.style.height=b,clearInterval(f))},40)};this.compatibilityWrapWidth=function(a,b){var d=a.offsetWidth,c=d,e=(d-b)/20;a.style.overflow="hidden";var f=setInterval(function(){c-= e;c>b?a.style.width=c+"px":(a.style.width=b,clearInterval(f))},40)};this.compatibilitySlideDown=function(a,b){var d=0,c=b/20;a.style.overflow="hidden";var e=setInterval(function(){d+=c;db?{real:!0,full:!0}:{real:!1,full:!1}};_FskAds.slideDown=function(a,b,d,c){c=b;"undefined"!==typeof window._FskAMPMinHeight&&window._FskAMPMinHeight>b&&(c=window._FskAMPMinHeight);a.style.height=c+"px";window.context.requestResize(window.context.data.width,c);d()};_FskAds.slideUp=function(a,b,d){a.style.height=0;window.context.requestResize(0,0);d()}; _FskAds.getAMPHeight=function(){return parseInt(9*window.context.initialIntersection.boundingClientRect.width/16)};_FskAds.getAMPWidth=function(){return window.context.initialIntersection.boundingClientRect.width}; _FskAds.docReady(function() {_FskAds.checkState();});try {var _FskGetCmpId=function(input) {var pad="00000000", str="";for(var i=0; i < input.length; i++) {var c=input.charCodeAt(i).toString(2);str += pad.substring(0, pad.length - c.length) + c;}return parseInt(str.substring(78, 90), 2);};var _FskHasGgl=false;try {_FskHasGgl=_FskGetCmpId(atob(window._FskConsentData.consentData.replace(/-/g, '+').replace(/_/g, '/'))) == 10;} catch(exc) {}if (_FskHasGgl) {__cmp("getGooglePersonalization", function(consent, isSuccess) {var ggl=0;if(isSuccess) {ggl=consent.googlePersonalizationData.consentValue ? 1 : 0;}window._FskGoogleConsent=ggl;});}} catch(e) {}_FskAds.logger=function(){};