if (nugg != 1) { function isEmpty(obj) { for(var prop in obj) { if(obj.hasOwnProperty(prop)) return false; } return true; } var tagsObject = {"26323":{"user_id":"125","ad_id":"3","form_rtb_floor":"0.22","form_appnexus_floor":"0.58","form_id_sticky":null,"form_rubicon_floor":"0.18","tag_appnexus":"6099370","form_id_rubicon":"184022","tag_pulsepoint":null,"tag_aol":null,"tag_sovrn":null,"tag_breal":null,"tag_criteo":null,"tag_adyoulike":null,"tag_vertoz":null,"tag_improve":null,"ad_smart_id":"26323","site_id":"216","site_id_smart":"63535\/493237","site_pulsepoint":null,"site_imonomy":null,"site_id_rubicon_ATF":"184022","site_id_rubicon_MTF":"0","site_id_rubicon_BTF":"260502","site_id_rubicon_MOBILE":"392562","site_aol_server":"FR","site_theme":"20","site_true_url":"https:\/\/hostingpics.net","site_refresh":"1","site_capping":"9","theme_name_english":"technologyandcomputing","subtheme_name_english":"Web Technology","part_google":"2"},"26300":{"user_id":"125","ad_id":"2","form_rtb_floor":"0.17","form_appnexus_floor":"0.59","form_id_sticky":null,"form_rubicon_floor":"0.11","tag_appnexus":"6099369","form_id_rubicon":"184022","tag_pulsepoint":null,"tag_aol":null,"tag_sovrn":null,"tag_breal":"9491318","tag_criteo":null,"tag_adyoulike":null,"tag_vertoz":null,"tag_improve":null,"ad_smart_id":"26300","site_id":"216","site_id_smart":"63535\/493237","site_pulsepoint":null,"site_imonomy":null,"site_id_rubicon_ATF":"184022","site_id_rubicon_MTF":"0","site_id_rubicon_BTF":"260502","site_id_rubicon_MOBILE":"392562","site_aol_server":"FR","site_theme":"20","site_true_url":"https:\/\/hostingpics.net","site_refresh":"1","site_capping":"9","theme_name_english":"technologyandcomputing","subtheme_name_english":"Web Technology","part_google":"2"},"26322":{"user_id":"125","ad_id":"1","form_rtb_floor":"0.24","form_appnexus_floor":"0.37","form_id_sticky":null,"form_rubicon_floor":"0.09","tag_appnexus":"6099368","form_id_rubicon":"184022","tag_pulsepoint":null,"tag_aol":null,"tag_sovrn":null,"tag_breal":null,"tag_criteo":null,"tag_adyoulike":null,"tag_vertoz":null,"tag_improve":null,"ad_smart_id":"26322","site_id":"216","site_id_smart":"63535\/493237","site_pulsepoint":null,"site_imonomy":null,"site_id_rubicon_ATF":"184022","site_id_rubicon_MTF":"0","site_id_rubicon_BTF":"260502","site_id_rubicon_MOBILE":"392562","site_aol_server":"FR","site_theme":"20","site_true_url":"https:\/\/hostingpics.net","site_refresh":"1","site_capping":"9","theme_name_english":"technologyandcomputing","subtheme_name_english":"Web Technology","part_google":"2"},"26324":{"user_id":"125","ad_id":"4","form_rtb_floor":"0.13","form_appnexus_floor":"0.29","form_id_sticky":null,"form_rubicon_floor":"0.04","tag_appnexus":"6099371","form_id_rubicon":"184022","tag_pulsepoint":null,"tag_aol":null,"tag_sovrn":null,"tag_breal":null,"tag_criteo":null,"tag_adyoulike":null,"tag_vertoz":null,"tag_improve":null,"ad_smart_id":"26324","site_id":"216","site_id_smart":"63535\/493237","site_pulsepoint":null,"site_imonomy":null,"site_id_rubicon_ATF":"184022","site_id_rubicon_MTF":"0","site_id_rubicon_BTF":"260502","site_id_rubicon_MOBILE":"392562","site_aol_server":"FR","site_theme":"20","site_true_url":"https:\/\/hostingpics.net","site_refresh":"1","site_capping":"9","theme_name_english":"technologyandcomputing","subtheme_name_english":"Web Technology","part_google":"2"},"26711":{"user_id":"125","ad_id":"19","form_rtb_floor":"0.14","form_appnexus_floor":"0.42","form_id_sticky":null,"form_rubicon_floor":"0.08","tag_appnexus":"6099372","form_id_rubicon":"260502","tag_pulsepoint":null,"tag_aol":null,"tag_sovrn":null,"tag_breal":null,"tag_criteo":null,"tag_adyoulike":null,"tag_vertoz":null,"tag_improve":null,"ad_smart_id":"26711","site_id":"216","site_id_smart":"63535\/493237","site_pulsepoint":null,"site_imonomy":null,"site_id_rubicon_ATF":"184022","site_id_rubicon_MTF":"0","site_id_rubicon_BTF":"260502","site_id_rubicon_MOBILE":"392562","site_aol_server":"FR","site_theme":"20","site_true_url":"https:\/\/hostingpics.net","site_refresh":"1","site_capping":"9","theme_name_english":"technologyandcomputing","subtheme_name_english":"Web Technology","part_google":"2"},"26706":{"user_id":"125","ad_id":"20","form_rtb_floor":null,"form_appnexus_floor":null,"form_id_sticky":null,"form_rubicon_floor":null,"tag_appnexus":"6099373","form_id_rubicon":"184022","tag_pulsepoint":null,"tag_aol":null,"tag_sovrn":null,"tag_breal":null,"tag_criteo":null,"tag_adyoulike":null,"tag_vertoz":null,"tag_improve":null,"ad_smart_id":"26706","site_id":"216","site_id_smart":"63535\/493237","site_pulsepoint":null,"site_imonomy":null,"site_id_rubicon_ATF":"184022","site_id_rubicon_MTF":"0","site_id_rubicon_BTF":"260502","site_id_rubicon_MOBILE":"392562","site_aol_server":"FR","site_theme":"20","site_true_url":"https:\/\/hostingpics.net","site_refresh":"1","site_capping":"9","theme_name_english":"technologyandcomputing","subtheme_name_english":"Web Technology","part_google":"2"},"30012":{"user_id":"125","ad_id":"28","form_rtb_floor":"0.18","form_appnexus_floor":"0.37","form_id_sticky":null,"form_rubicon_floor":"0.08","tag_appnexus":"6099374","form_id_rubicon":"260502","tag_pulsepoint":null,"tag_aol":null,"tag_sovrn":null,"tag_breal":null,"tag_criteo":null,"tag_adyoulike":null,"tag_vertoz":null,"tag_improve":null,"ad_smart_id":"30012","site_id":"216","site_id_smart":"63535\/493237","site_pulsepoint":null,"site_imonomy":null,"site_id_rubicon_ATF":"184022","site_id_rubicon_MTF":"0","site_id_rubicon_BTF":"260502","site_id_rubicon_MOBILE":"392562","site_aol_server":"FR","site_theme":"20","site_true_url":"https:\/\/hostingpics.net","site_refresh":"1","site_capping":"9","theme_name_english":"technologyandcomputing","subtheme_name_english":"Web Technology","part_google":"2"},"26755":{"user_id":"125","ad_id":"15","form_rtb_floor":"0.62","form_appnexus_floor":null,"form_id_sticky":null,"form_rubicon_floor":"0.6","tag_appnexus":"6180987","form_id_rubicon":"392562","tag_pulsepoint":null,"tag_aol":null,"tag_sovrn":null,"tag_breal":null,"tag_criteo":null,"tag_adyoulike":null,"tag_vertoz":null,"tag_improve":null,"ad_smart_id":"26755","site_id":"216","site_id_smart":"63535\/493237","site_pulsepoint":null,"site_imonomy":null,"site_id_rubicon_ATF":"184022","site_id_rubicon_MTF":"0","site_id_rubicon_BTF":"260502","site_id_rubicon_MOBILE":"392562","site_aol_server":"FR","site_theme":"20","site_true_url":"https:\/\/hostingpics.net","site_refresh":"1","site_capping":"9","theme_name_english":"technologyandcomputing","subtheme_name_english":"Web Technology","part_google":"2"},"39287":{"user_id":"125","ad_id":"31","form_rtb_floor":null,"form_appnexus_floor":null,"form_id_sticky":null,"form_rubicon_floor":null,"tag_appnexus":"11422926","form_id_rubicon":"184022","tag_pulsepoint":null,"tag_aol":null,"tag_sovrn":null,"tag_breal":null,"tag_criteo":null,"tag_adyoulike":null,"tag_vertoz":null,"tag_improve":null,"ad_smart_id":"39287","site_id":"216","site_id_smart":"63535\/493237","site_pulsepoint":null,"site_imonomy":null,"site_id_rubicon_ATF":"184022","site_id_rubicon_MTF":"0","site_id_rubicon_BTF":"260502","site_id_rubicon_MOBILE":"392562","site_aol_server":"FR","site_theme":"20","site_true_url":"https:\/\/hostingpics.net","site_refresh":"1","site_capping":"9","theme_name_english":"technologyandcomputing","subtheme_name_english":"Web Technology","part_google":"2"}}; window._qevents = window._qevents || []; (function () { var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = ('https:' == document.location.protocol ? 'https:' : 'http:')+'//i.po.st/share/script/post-widget.js#lc=auto'; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); })(); (function() { var crtg_script=document.createElement('script');crtg_script.type='text/javascript';crtg_script.src="//ads.themoneytizer.com/criteo.js";crtg_script.async=true; if(document.getElementsByTagName("head").length>0)document.getElementsByTagName("head")[0].appendChild(crtg_script); else if(document.getElementsByTagName("body").length>0)document.getElementsByTagName("body")[0].appendChild(crtg_script); })(); var _pusVisitorData = { interests: { declared: ['technologyandcomputing'] } }; window._pusq = window._pusq || []; window._pusVisitorData = window._pusVisitorData || []; window._pusVisitorID = window._pusVisitorID || []; (function() { var u=(('https:'==document.location.protocol)?'https://secure.':'http://www.')+'audienceinsights.net/'; var su=u.replace(/www|secure/,'static'); _pusq.push(['setIdp', '50ca2de882c19ffe']); _pusq.push(['setTrackerUrl', u+'p']); _pusq.push(['setTrackerStaticUrl', su]); _pusq.push(['setVisitorData', _pusVisitorData]); _pusq.push(['setProviderId', _pusVisitorID]); _pusq.push(['send']); var s=document.createElement('script'); s.type='text/javascript'; s.defer=true; s.async=true; s.src=su+'t.js'; var p=document.getElementsByTagName('script')[0]; p.parentNode.insertBefore(s,p); } )(); (function() { var elem = document.createElement('script'); elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://edge") + ".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.technologyandcomputing" }); var website = (window.location != window.parent.location) ? document.referrer: document.location.href; params = { "cat":"technologyandcomputing", "sscat":"Web Technology" }; var src = '//tr.cloud-media.fr/t/a1234bc7-d6b5-4795-ac2b-f5ace634020?website='+encodeURI(website)+'&'; for (var i in params) { key = i; value = encodeURI(params[i]); src+= key+"="+value+"&"; } var ear = document.createElement('img'); ear.src = src; ear.width = 1; ear.height = 1; if(document.getElementsByTagName("head").length>0)document.getElementsByTagName("head")[0].appendChild(ear); else if(document.getElementsByTagName("body").length>0)document.getElementsByTagName("body")[0].appendChild(ear); var nugg = document.createElement("script"); nugg.setAttribute("type", "text/javascript"); nugg.setAttribute("src", ('https:' == document.location.protocol ? 'https:' : 'http:')+"//ads.themoneytizer.com/nugg2.php?theme=671230351"); nugg.setAttribute("async", "true"); document.head.appendChild(nugg); var nugg = 1; if(!window.antvoice_variable) {window.antvoice_variable = {};} window.antvoice_variable.product = { url : location.href }; if(window.self!=window.top) { try { window.antvoice_variable.product.url= window.top.location.href; } catch (exception) { if(document.referrer) { window.antvoice_variable.product.url= document.referrer; } else { window.antvoice_variable.product.url=null; } } } window.antvoice_variable.project = "moneytizer"; if(window.antvoice_variable.product.url && (document.body)) { _i = document.createElement('img'); _i.src ='//ads.avads.net/v1/tracking?type=behavior&owner='+ window.antvoice_variable.project+'&url='+encodeURIComponent(window.antvoice_variable.product.url)+'&act=view&market=FR&lang=fr-FR'; _i.style.display='none'; document.body.appendChild(_i); } var pbjs = (typeof pbjs != "undefined")? pbjs : {} ; pbjs.que = pbjs.que || []; var d = document, pbs = d.createElement('script'); pbs.setAttribute("type","text/javascript"); pbs.setAttribute("src","https://ads.themoneytizer.com/moneybid261/build/dist/prebid.js"); pbs.setAttribute("async", "true"); var target = document.getElementsByTagName('head')[0]; target.insertBefore(pbs, target.firstChild); var format_size = {"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":[250,300],"29":[336,280],"30":[320,50],"31":[970,250],"32":[320,480],"33":[300,50],"34":[320,100],"35":[160,600],"11":[640,320]}; function Getsize(format){ if(format == 1){ var browser_size = { width: window.innerWidth || document.body.clientWidth } if(browser_size.width <= 768){ var my_sizes = [[320,50],[300,50],[320,100],[300,100]]; }else{ var my_sizes = [[728,90]]; } }else{ var my_sizes = [format_size[format]]; } return my_sizes; } pbjs.bidderSettings = { improvedigital: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 0.88; } } }; pbjs.que.push(function(){ var videoAdUnit = [] var adUnits = [ { code: '26323', timeout: 700, sizes: Getsize(3), bids: [ {bidder: 'appnexus', params:{ placementId: '6099370' } }, {bidder: 'rubiconLite', params:{ accountId:'11740', siteId: '38332', zoneId:'184022', sizes:[10], inventory:'{siteid:216}', floor : 0.18, keywords:'siteid:216' } }, ] }, { code: '26300', timeout: 700, sizes: Getsize(2), bids: [ {bidder: 'appnexus', params:{ placementId: '6099369' } }, {bidder: 'rubiconLite', params:{ accountId:'11740', siteId: '38332', zoneId:'184022', sizes:[15], inventory:'{siteid:216}', floor : 0.11, keywords:'siteid:216' } }, {bidder: 'brealtime', params:{ placementId: 9491318 } }, ] }, { code: '26322', timeout: 700, sizes: Getsize(1), bids: [ {bidder: 'appnexus', params:{ placementId: '6099368' } }, {bidder: 'rubiconLite', params:{ accountId:'11740', siteId: '38332', zoneId:'184022', sizes:[2], inventory:'{siteid:216}', floor : 0.09, keywords:'siteid:216' } }, ] }, { code: '26324', timeout: 700, sizes: Getsize(4), bids: [ {bidder: 'appnexus', params:{ placementId: '6099371' } }, {bidder: 'rubiconLite', params:{ accountId:'11740', siteId: '38332', zoneId:'184022', sizes:[8], inventory:'{siteid:216}', floor : 0.04, keywords:'siteid:216' } }, ] }, { code: '26711', timeout: 700, sizes: Getsize(19), bids: [ {bidder: 'appnexus', params:{ placementId: '6099372' } }, {bidder: 'rubiconLite', params:{ accountId:'11740', siteId: '38332', zoneId:'260502', sizes:[15], inventory:'{siteid:216}', floor : 0.08, keywords:'siteid:216' } }, ] }, { code: '26706', timeout: 700, sizes: Getsize(20), bids: [ {bidder: 'appnexus', params:{ placementId: '6099373' } }, {bidder: 'rubiconLite', params:{ accountId:'11740', siteId: '38332', zoneId:'184022', sizes:[9], inventory:'{siteid:216}', keywords:'siteid:216' } }, ] }, { code: '30012', timeout: 700, sizes: Getsize(28), bids: [ {bidder: 'appnexus', params:{ placementId: '6099374' } }, {bidder: 'rubiconLite', params:{ accountId:'11740', siteId: '38332', zoneId:'260502', sizes:[2], inventory:'{siteid:216}', floor : 0.08, keywords:'siteid:216' } }, ] }, { code: '26755', timeout: 700, sizes: Getsize(15), bids: [ {bidder: 'appnexus', params:{ placementId: '6180987' } }, {bidder: 'rubiconLite', params:{ accountId:'11740', siteId: '82604', zoneId:'392562', sizes:[2,43,67,44,59,117,16], inventory:'{siteid:216}', floor : 0.6, keywords:'siteid:216' } }, ] }, { code: '39287', timeout: 700, sizes: Getsize(31), bids: [ {bidder: 'appnexus', params:{ placementId: '11422926' } }, {bidder: 'rubiconLite', params:{ accountId:'11740', siteId: '38332', zoneId:'184022', sizes:[57], inventory:'{siteid:216}', keywords:'siteid:216' } }, ] },]; pbjs.addAdUnits(videoAdUnit); pbjs.addAdUnits(adUnits); }); pbjs.bidderSettings = { aol: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.1; }, }, brealtime: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .8; }, }, standard: { adserverTargeting: [{ key: "hb_bidder", val: function(bidResponse) { if(bidResponse.bidderCode=="rubiconLite"){ return "rubicon"; }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.1; 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 < 10.00) { return (Math.floor(cpm * 2) / 2).toFixed(2); } else { return '10.00'; } } }] } }; pbjs.que.push(function(){ pbjs.requestBids({ // This callback gets triggered when all bids for this // ad unit come back. bidsBackHandler: function(bidResponses) { window.targetingParams = pbjs.getAdserverTargeting(); bid = pbjs.getHighestCpmBids('video')[0]; window.vastUrl = bid && bid.vastUrl; } }); }); var counter_refresh = []; function checkVisibility(formatid,capping,creatediv){ var visibility = VisSense(creatediv); if(visibility.percentage() > 0.49) { console.log('visible'); refreshSlot(formatid,capping); } } function refreshSlot(formatid,capping) { var strformatid = formatid.toString(); var arr_width = {26322:728,26300:300,26323:300,26324:120,26711:300,26706:160,28108:300,30012:728,39287:970,35:50677,51410:728,28108:300}; var arr_height = {26322:90,26300:250,26323:600,26324:600,26711:250,26706:600,28108:150,30012:90,39287:250,35:50677,51410:90,28108:250}; var rubicon_formats = {"26322":"2","26300":"15","26323":"10","26324":"8","26711":"15","26706":"9","28108":"15","30012":"2","26755":"43,67,44,59,117","39287":"57","50677":"9","28108":"15"}; var rubicon_theme = {"18":"38324","12":"38330","20":"38332","1":"39528","2":"39530","3":"39532","4":"39534","5":"39536","6":"39538","7":"39540","8":"39542","9":"39544","10":"39546","11":"39548","13":"39550","14":"39552","15":"39554","16":"39556","17":"39558","19":"39560","21":"39562"}; if(counter_refresh[formatid] == null ){ counter_refresh[formatid] = 0; }else{ counter_refresh[formatid] = counter_refresh[formatid]+1; } if(counter_refresh[formatid] < capping){ pbjs.que.push(function() { pbjs.requestBids({ timeout: 700, adUnitCodes:[strformatid], bidsBackHandler: function() { sas.clean(formatid); window.targetingParams = pbjs.getAdserverTargeting(); (function roo(){ if (window.targetingParams && !isEmpty(window.targetingParams[formatid]) || window.RefreshisReady == 1){ window.targetingParams = window.targetingParams || []; if (typeof window.targetingParams[formatid] === 'undefined' || window.targetingParams[formatid] == 0) { sas.refresh(formatid); }else{ var hb_adid = "hb_adid="+window.targetingParams[formatid].hb_adid; var hb_pb = "hb_pb="+window.targetingParams[formatid].hb_bid; var hb_bidder = "hb_bidder="+window.targetingParams[formatid].hb_bidder; if(window.targetingParams[formatid].hb_height == "480"){ var hb_format = "hb_format="+formatid+"-1"; }else{ var hb_format = "hb_format="+formatid; } var moneybid = ";"+hb_adid+";"+hb_pb+";"+hb_bidder+";"+hb_format; sas.refresh(formatid,{ target: moneybid }); } }else{ setTimeout(function(){ roo(); },50); } })(); setTimeout(function(){window.RefreshisReady = 1;}, 1500); } }); }); } } } if(typeof crtg_content === 'undefined'){var crtg_content = "";} if(typeof moneybid === 'undefined'){var moneybid = "";} var mydiv = document.getElementById("216-6"); var creatediv = document.createElement("div"); creatediv.id = "sas_26328"; mydiv.appendChild(creatediv); var sc = document.createElement("script"); sc.type = "text/javascript"; sc.async = true; sc.text = sas.cmd.push(function() { sas.call("std", {siteId: 63535, pageId: 493237, formatId: 26328, target: crtg_content}); });; creatediv.appendChild(sc);