‘); } else { googletag.cmd.push(function() { var doubleClickMapping = googletag.sizeMapping(). addSize([500,0], [[1000,150],[1000,300]]). addSize([0, 0], [[300,90],[468,115],[468,200],[468,300],[468,400],[468,600]]).build(); var slot; if(false) { slot = googletag.defineOutOfPageSlot(‘/5374/TV2no/nyheter’, “NDMyLezS”); $ (‘#NDMyLezS’).parent().hide(); } else { slot = googletag.defineSlot(‘/5374/TV2no/nyheter’, [[1000,150],[1000,300]], “NDMyLezS”); slot.defineSizeMapping(doubleClickMapping); } if (lab_ad_isMobile || (“1000″ == “980″ && !lab_ad_isMobile)) { if (!(typeof(doubleClickAdPosition) === “undefined”)) { $ (‘#NDMyLezS’).addClass(“adPosition”+doubleClickAdPosition); slot.setTargeting(‘p’, doubleClickAdPosition); doubleClickAdPosition++; } } var wf = getParameterByName(‘wf’); var appid = getParameterByName(‘appid’); if ((wf.length > 0 && (wf == ‘iphoneapp’ || wf == ‘androidapp’ || wf == ‘ipadapp’)) || appid.length > 0) { slot.setCategoryExclusion(‘disabledForApps’); if(wf.length > 0) slot.setTargeting(‘wf’, wf); if(appid.length > 0) slot.setTargeting(‘appid’, appid); } slot.addService(googletag.pubads()); }); } $ (‘#NDMyLezS’).parents(‘.lab-bdz-left-small, .lab-bdz-right-small’).addClass(‘ad-dz’); });
No comments:
Post a Comment