if (nugg != 1) { function isEmpty(obj) { for(var prop in obj) { if(obj.hasOwnProperty(prop)) return false; } return true; } var criteoCallback = function (data) { if (data && data.status === "OK") { sas.cmd.push(function () { sas.setPartnerId("79", data.userid); }); } sas.cmd.push(function(){sas.render();}); } // GEN var generic = document.createElement("script"); generic.setAttribute("type", "text/javascript"); generic.setAttribute("src", "https://ced.sascdn.com/tag/1097/smart.js"); document.head.appendChild(generic); var criteo_gum = document.createElement("script"); criteo_gum.setAttribute("type", "text/javascript"); criteo_gum.setAttribute("src", "https://gum.criteo.com/sync?c=147&r=2&j=criteoCallback"); criteo_gum.setAttribute("async", "true"); document.head.appendChild(criteo_gum); var smart_csync = document.createElement("script"); smart_csync.setAttribute("type", "text/javascript"); smart_csync.setAttribute("src", "https://csync-global.smartadserver.com/1097/CookieSync.html"); smart_csync.setAttribute("async", "true"); document.head.appendChild(smart_csync); var zeotap = document.createElement("script"); zeotap.setAttribute("type", "text/javascript"); zeotap.setAttribute("src", "https://spl.zeotap.com/mapper.js?env=mWeb&eventType=pageview&zdid=1258"); zeotap.setAttribute("async", "true"); zeotap.setAttribute("id", "zeo_mapping"); var node = document.getElementsByTagName('script')[0]; node.parentNode.appendChild(zeotap); var pwidget_config = { publisherKey:"1sbtjc2sqopftf032cn", shareQuote:false }; function loadScriptTemelio(url, callback) { var script = document.createElement("script"); script.type = "text/javascript"; script.async = true; if (script.readyState) { script.onreadystatechange = function () { if (script.readyState == "loaded" || script.readyState == "complete") { script.onreadystatechange = null; if (callback && typeof callback === "function") { callback(); } } }; } else { script.onload = function () { if (callback && typeof callback === "function") { callback(); } }; } script.src = url; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(script); } loadScriptTemelio('https://tag.leadplace.fr/libJsLP.js', function () { libJsLeadPlace.SendtoLPbyIframe("id=MTIZ"); }); var iframe = document.createElement("iframe"); iframe.src = "https://onetag-sys.com/usync/?pubId=2a897e3f18e6769&cb=" + new Date().getTime(); iframe.style.display = "none"; var node = document.getElementsByTagName('script')[0]; node.parentNode.appendChild(iframe); (function(win, doc) { var id5 = { /*********** SETUP YOUR CONFIG BELOW ***********/ partnerId : 12, // provided by ID5 cascades : 9, // max number of cascades to support hasTcfCmp : true, // set to true to call an IAB TCF-compliant CMP debug : false, // set to true to output debug message (set to false for production) /*********** IMPLEMENTATION - DO NOT EDIT ***********/ makeUrl: function() { var isSync = (typeof this.callType != 'undefined' && this.callType.toLowerCase() === 'sync' && this.myUid && this.myUid.length > 0); return 'https://id5-sync.com/'+(isSync?'s':'i')+'/'+this.partnerId+'/'+this.cascades+'.gif?'+(isSync?'puid='+encodeURIComponent(this.myUid)+'&':'')+'gdpr='+encodeURIComponent(this.gdprApplies||'')+'&gdpr_consent='+encodeURIComponent(this.consentData||''); }, prepareId5Pixel: function() { this.log('Preparing pixel with doc.readyState:', doc.readyState); if(doc.readyState !== 'loading') { this.fireId5Pixel(); } else { doc.addEventListener('DOMContentLoaded', function () { id5.fireId5Pixel(); }); } }, fireId5Pixel: function() { var url = this.makeUrl(); this.log('Firing ID5 pixel at url:', url); (new Image()).src = url; }, processTcfResults: function(result) { this.log('Received TCF result', result); this.gdprApplies = result.gdprApplies; this.consentData = result.tcString; }, init: function() { if(this.hasTcfCmp){ try { win.__tcfapi('addEventListener', 2, function(data, success) { id5.processTcfResults(data); id5.prepareId5Pixel(); }); } catch (e) { id5.log('Exception received while calling TCF CMP', e); id5.prepareId5Pixel(); } } else { id5.prepareId5Pixel(); } }, log: function(msg, data) { this.debug && console.log('[ID5] '+msg, data); } }; id5.init(); })(window, document); window.teads_analytics = window.teads_analytics || {}; window.teads_analytics.analytics_tag_id = "PUB_11398"; window.teads_analytics.share = window.teads_analytics.share || function() { ;(window.teads_analytics.shared_data = window.teads_analytics.shared_data || []).push(arguments) }; var teads = document.createElement("script"); teads.setAttribute("type", "text/javascript"); teads.setAttribute("src", "https://a.teads.tv/analytics/tag.js"); teads.setAttribute("async", "true"); var node = document.getElementsByTagName('script')[0]; node.parentNode.appendChild(teads); // FIN GEN var tagsObject = []; window._qevents = window._qevents || []; (function() { var elem = document.createElement('script'); elem.src = "https://secure.quantserve.com/quant.js"; elem.async = true; elem.type = "text/javascript"; var scpt = document.getElementsByTagName('script')[0]; scpt.parentNode.insertBefore(elem, scpt); })(); window._qevents.push({ qacct:"p-6Fv0cGNfc_bw8", labels:"Categories." }); var website = (window.location != window.parent.location) ? document.referrer: document.location.href; params = { "cat":"", "sscat":"" }; (function(c,a,p,t,i,f,y){i=c.createElement(a);t=c.getElementsByTagName(a)[0];i.type='text/javascript';i.async=true;i.src=p;t.parentNode.insertBefore(i,t);})(document,'script','https://p.cpx.to/p//px.js'); var notifyme = document.createElement("script"); notifyme.setAttribute("type", "text/javascript"); notifyme.setAttribute("src", "https://d2zur9cc2gf1tx.cloudfront.net/a96081b6-db78-48c4-9f82-b93e316fb1f7/notifyme.js"); var target = document.getElementsByTagName('head')[0]; target.appendChild(notifyme); var ix_lib = document.createElement("script"); ix_lib.setAttribute("type", "text/javascript"); ix_lib.setAttribute("src","https://js-sec.indexww.com/ht/p/186329-261067657875242.js"); ix_lib.setAttribute("async", "true"); document.getElementsByTagName('head')[0].appendChild(ix_lib); var nugg = 1; var tmzr = (typeof tmzr != "undefined")? tmzr : {} ; tmzr.que = tmzr.que || []; var d = document, pbs = d.createElement('script'); pbs.setAttribute("type","text/javascript"); pbs.setAttribute("src","https://ads.themoneytizer.com/moneybid6_13/build_noconsent/dist/prebid.js"); pbs.setAttribute("async", "true"); var target = document.getElementsByTagName('head')[0]; target.insertBefore(pbs, target.firstChild); var format_size = {"30":[[728,90],[320,100],[300,100]],"1":[[728,90]],"2":[[300,250],[300,168]],"3":[[300,600],[300,250]],"4":[[120,600]],"19":[[300,250],[300,168]],"20":[[160,600]],"26":[[300,250]],"28":[[728,90]],"15":[[250,300],[336,280],[320,50],[300,100],[320,480],[300,50],[320,100]],"31":[[970,250],[800,250],[950,250],[900,250],[970,90]],"35":[[160,600]],"11":[[640,320]]}; var format_size_ix = {"30":[[728,90],[320,100]],"1":[728,90],"2":[300,250],"3":[300,600],"4":[120,600],"19":[300,250],"20":[160,600],"26":[300,250],"28":[728,90],"15":[300,100],"31":[970,250],"36":[728,90],"35":[160,600],"11":[640,480],"6":[728,90],"5":[1800,1000]}; var format_w_adform = {"1":728,"2":300,"3":300,"4":120,"19":300,"20":160,"26":300,"28":728,"15":300,"31":970,"36":728,"35":160,"11":640,"6":728,"5":1800}; var format_h_adform = {"1":90,"2":250,"3":600,"4":600,"19":250,"20":600,"26":250,"28":90,"15":100,"31":250,"36":90,"35":600,"11":480,"6":90,"5":1000}; var format_size_rubicon = {"26322":"2","26300":"15","26323":"10,15","26324":"8","26711":"15","26706":"9","28108":"15","30012":"2","26755":"2,43,67,44,59,117,16","39287":"57","50677":"9","26325":"68"}; var format_criteo = {"1":"1085567","2":"1085565","3":"1095714","31":"1085641","4":"1085632","19":"1085566","20":"1085636","28":"1085567","15":"1085643"}; var format_pulsepoint = {"1":"728x90","2":"300x250","3":"300x600","4":"120x600","19":"300x250","20":"160x600","26":"300x250","28":"728x90","15":"320x50","31":"970x250","35":"160x600"}; var between_w = {"1":"728","2":"300","3":"300","4":"120","31":"970","20":"160","19":"300","28":"728"}; var between_h = {"1":"90","2":"300","3":"600","4":"90","31":"250","20":"600","19":"250","28":"90"}; function GetRichAudienceZone(format,desktop,mobile){ if(format == 1 || format == 28 || format == 6 || format == 31){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var ra_zone = mobile; }else{ var ra_zone = desktop; } }else{ var ra_zone = desktop; } return ra_zone; } function GetAdmixerZone(format,desktop,mobile){ if(format == 1 || format == 28 || format == 6 || format == 31){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var ra_zone = mobile; }else{ var ra_zone = desktop; } }else{ var ra_zone = desktop; } return ra_zone; } function GetGothamadsZone(format,desktop,mobile){ if(format == 1 || format == 28 || format == 6 || format == 31){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var go_zone = mobile; }else{ var go_zone = desktop; } }else{ var go_zone = desktop; } return go_zone; } function GetmnameAdform(format,mname){ if((format == 1 || format == 28 || format == 31 || format == 6) && ((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i))){ var name = "f"+mname+"m"; }else{ var name = "f"+mname; } return name } function GetwAdform(format){ if(format == 1 || format == 28){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = 320; }else{ var my_sizes = 728; } }else if(format == 31){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = 300; }else{ var my_sizes = 970; } } else if(format == 30){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = [[320,100],[300,100]] }else{ var my_sizes = [[728, 90], [320, 100], [300, 100]]; } } else if(format == 6){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = 320; }else{ var my_sizes = 728; } }else{ var my_sizes = format_w_adform[format]; } return my_sizes; } function GethAdform(format){ if(format == 1 || format == 28){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = 100; }else{ var my_sizes = 90; } }else if(format == 31){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = 250; }else{ var my_sizes = 250; } }else if(format == 6){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = 100; }else{ var my_sizes = 90; } }else{ var my_sizes = format_h_adform[format]; } return my_sizes; } function GetsizeIndex(format){ if(format == 1 || format == 28){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = [320,50]; }else{ var my_sizes = [728,90]; } }else if(format == 31){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = [300,250]; }else{ var my_sizes = [970, 250]; } }else if(format == 6){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = [320,50]; }else{ var my_sizes = [728,90]; } }else{ var my_sizes = format_size_ix[format]; } return my_sizes; } function Getsize(format,custom_footer){ var custom_footer = custom_footer || 0; if(format == 1 || format == 28){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = [[320,50],[300,50],[320,100],[300,100]]; }else{ var my_sizes = [[728,90],[320,50],[300,50],[320,100],[300,100]]; } }else if(format == 31){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = [[300,250]]; }else{ var my_sizes = [[970, 250],[1000, 30],[1000, 90],[800, 250],[950, 250],[900, 250],[970, 90]]; } }else if(format == 6){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = [[1,1],[320,50],[300,50],[320,100],[300,100]]; }else{ if(custom_footer == 1){ var my_sizes = [[1,1],[728,90],[970,90],[1000,90],[1000,30],[990,90],[950,90]]; }else{ var my_sizes = [[1,1],[728,90],[970,90],[1000,90],[1000,30],[990,90],[950,90],[300,250]]; } } }else{ var my_sizes = format_size[format]; } return my_sizes; } function GetsizeRubicon(format){ if(format == 26322 || format == 30012){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = [43,67,44,59,117,16]; return my_size }else{ var my_sizes = [2,43,67,44,59,117,16]; } }else if(format == 39287){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = '15'; }else{ var my_sizes = [15,57,55,56,116,125]; } }else{ var my_sizes = format_size_rubicon[format]; } return [my_size]; } function GetPulseSize(format){ if(format == 1 || format == 28){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = '320x50'; }else{ var my_sizes = '728x90'; } }else if(format == 31){ if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ var my_sizes = '300x250'; }else{ var my_sizes = '970x250'; } }else{ var my_sizes = format_pulsepoint[format]; } return my_sizes; } tmzr.que.push(function(){ window.bidder_geo = 0; var videoAdUnit = [] var nativeAdUnit = [] var skinAdUnit = [] var footerAdUnit = [] isEmpty(nativeAdUnit)&&whenFormatFctDefined(window,"Adcall_48311")&&window.Adcall_48311(),isEmpty(skinAdUnit)&&whenFormatFctDefined(window,"Adcall_26325")&&window.Adcall_26325(),isEmpty(footerAdUnit)&&whenFormatFctDefined(window,"Adcall_26328")&&window.Adcall_26328(),isEmpty(videoAdUnit)&&whenFormatFctDefined(window,"Adcall_video")&&window.Adcall_video(); var adUnits = []; var format_criteo = {"1":"1085567","2":"1085565","3":"1095714","31":"1085641","4":"1085632","19":"1085566","20":"1085636","28":"1085567","15":"1085643"}; tmzr.addAdUnits(videoAdUnit); tmzr.addAdUnits(nativeAdUnit); tmzr.addAdUnits(skinAdUnit); tmzr.addAdUnits(footerAdUnit); tmzr.addAdUnits(adUnits); if((typeof window.md !== 'undefined' && window.md.phone() !== null) || navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i)){ for (var i = 0; i < tmzr.adUnits.length; i++) { for(var j = tmzr.adUnits[i].bids.length -1; j >= 0 ; j--){ if (tmzr.adUnits[i].bids[j].bidder == "richaudience" && tmzr.adUnits[i].code == "26325") { tmzr.adUnits[i].bids.splice(j, 1); } } } } tmzr.bidderSettings = { onetag: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.20*.9; }, }, teads: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.10; }, }, criteo: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.10; }, }, adform: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .88; }, }, oftmedia: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .8; }, }, blueroostermedia: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .7; }, }, rubicon: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .9; }, }, roix: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .6; }, }, otm: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .012; }, }, adriver: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .012; }, }, smartadserver: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.10; }, }, standard: { adserverTargeting: [{ key: "hb_bidder", val: function(bidResponse) { if(bidResponse.bidderCode=="rubiconLite"){ return "rubicon"; }else if(bidResponse.bidderCode=="stickyadstv"){ return "stickyads"; }else{ return bidResponse.bidderCode; } } }, { key: "hb_adid", val: function(bidResponse) { return bidResponse.adId; } },{ key: "hb_height", val: function(bidResponse) { return bidResponse.height; } }, { key: "hb_bid", val: function(bidResponse) { var cpm = bidResponse.cpm/1.22*1.2; if(bidResponse.adUnitCode == "video" || bidResponse.adUnitCode == "26328" || bidResponse.adUnitCode =="26325" || bidResponse.adUnitCode == "48311"){ if (cpm < 0.10) { return (Math.floor(cpm * 50) / 50).toFixed(2); } else if (cpm < 5.00) { return (Math.floor(cpm * 20) / 20).toFixed(2); } else if (cpm < 40.00) { return (Math.floor(cpm * 2) / 2).toFixed(2); } else { return '40.00'; } }else{ return cpm; } } }] } }; tmzr.enableAnalytics([{provider: 'adagio'}, ]); tmzr.setConfig({ ortb2:{ site:{ name:'' } }, realTimeData: { auctionDelay: 1000, dataProviders: [{ name: "SirdataRTDModule", waitForIt: true, params: { partnerId: 29567, key: 50, setGptKeyValues: false, contextualMinRelevancyScore: 50, //Min score to filter contextual category globally (0-100 scale) actualUrl: top.location.href, //top location url, for contextual categories bidders: [{ bidder: 'ix' },{ bidder: 'smartadserver' },{ bidder: 'criteo' },{ bidder: 'rubicon' },{ bidder: 'appnexus' }] } }] },