‘); } else { googletag.cmd.push(function() { var doubleClickMapping = googletag.sizeMapping(). addSize([500,0], [[980,120],[980,150],[980,300],[980,600]]). 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/utenriks’, “hTwnbpzl”); $ (‘#hTwnbpzl’).parent().hide(); } else { slot = googletag.defineSlot(‘/5374/TV2no/nyheter/utenriks’, [[980,120],[980,150],[980,300],[980,600]], “hTwnbpzl”); slot.defineSizeMapping(doubleClickMapping); } if (lab_ad_isMobile || (“980″ == “980″ && !lab_ad_isMobile)) { if (!(typeof(doubleClickAdPosition) === “undefined”)) { $ (‘#hTwnbpzl’).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()); }); } $ (‘#hTwnbpzl’).parents(‘.lab-bdz-left-small, .lab-bdz-right-small’).addClass(‘ad-dz’); });
No comments:
Post a Comment