Tagging = function(context) {
  this.site = '24hu';
  this.zone = 'fn';
  this.protocol = window.location.protocol;
  this.autodetect_url = this.protocol + '//cts.p24.hu/service/detect/';
  this.context = context;
  this.positions = {};
  this.positions_weighted = {};

  this.positions['head'] = '[{\"service_name\": \"Sanoma\", \"weight\": null, \"source\": \"<script src=\\"//stat.p24.hu/mobile_detect/mobile_detect.js\\"></script>\"}, {\"service_name\": \"Gemius Traffic\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\">    var properGemId = (\'d1A7Kw8acEW4QXuywBS5Jrde7HmwFGxRf46vOxAaKhz.77\' != \'\' ? \'d1A7Kw8acEW4QXuywBS5Jrde7HmwFGxRf46vOxAaKhz.77\' : \'10aV7_8iJdBOjvKKuUO_CuW0TBjdYCxzmpnPntDtEn3.l7\');        if(typeof _ceDeviceDetect.getDeviceType() !== \'undefined\' && _ceDeviceDetect.getDeviceType() != \'desktop\' && \'0ifq_KrFGx1vd4VAA7NkkKbk7MngUmvn7FD4pTzYvf..W7\' != \'\') {        properGemId = \'0ifq_KrFGx1vd4VAA7NkkKbk7MngUmvn7FD4pTzYvf..W7\';    }       var pp_gemius_identifier = properGemId;    function gemius_pending(i) { window[i] = window[i] || function() {var x = window[i+\'_pdata\'] = window[i+\'_pdata\'] || []; x[x.length]=arguments;};};    gemius_pending(\'gemius_hit\'); gemius_pending(\'gemius_event\'); gemius_pending(\'pp_gemius_hit\'); gemius_pending(\'pp_gemius_event\');    (function(d,t) {try {var gt=d.createElement(t),s=d.getElementsByTagName(t)[0],l=\'http\'+((location.protocol==\'https:\')?\'s\':\'\'); gt.setAttribute(\'async\',\'async\');    gt.setAttribute(\'defer\',\'defer\'); gt.src=l+\'://gahu.hit.gemius.pl/xgemius.js\'; s.parentNode.insertBefore(gt,s);} catch (e) {}})(document,\'script\');</script>\"}, {\"service_name\": \"Gemius Traffic\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\">sendGemHit = function() {\tif (typeof pp_gemius_hit === \'function\') {\t\tvar hit_identifier= (\'d1A7Kw8acEW4QXuywBS5Jrde7HmwFGxRf46vOxAaKhz.77\' != \'\') ? \'d1A7Kw8acEW4QXuywBS5Jrde7HmwFGxRf46vOxAaKhz.77\' : \'10aV7_8iJdBOjvKKuUO_CuW0TBjdYCxzmpnPntDtEn3.l7\';\t\tif(typeof _ceDeviceDetect == \'object\' && typeof _ceDeviceDetect.getDeviceType() !== \'undefined\' && _ceDeviceDetect.getDeviceType() != \'desktop\' && \'0ifq_KrFGx1vd4VAA7NkkKbk7MngUmvn7FD4pTzYvf..W7\' != \'\') {\t\t\thit_identifier= \'0ifq_KrFGx1vd4VAA7NkkKbk7MngUmvn7FD4pTzYvf..W7\';\t\t}\t\tpp_gemius_hit(hit_identifier);\t}\t}</script>\"}, {\"service_name\": \"Sanoma\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\" src=\\"//ad-blacklist.p24.hu/adx_blacklist.js\\"></script><script type=\\"text/javascript\\" src=\\"//ad-blacklist.p24.hu/rubicon_blacklist.js\\"></script><script type=\\"text/javascript\\">    (function(){        var blacklistsToCheck = [\'ADX\', \'RUBICON\'];        for (var i=0; i<blacklistsToCheck.length; i++) {            var typeName = blacklistsToCheck[i].charAt(0) + blacklistsToCheck[i].substr(1).toLowerCase();            window[\'no\' + blacklistsToCheck[i]] = false;            if (                typeof window[\'blck\' + typeName] != \'undefined\' &&                typeof window[\'blck\' + typeName][window.location.hostname] != \'undefined\' &&                window[\'blck\' + typeName][window.location.hostname].indexOf(location.pathname) >= 0            ) {                window[\'no\' + blacklistsToCheck[i]] = true;            }        }    })();</script>\"}, {\"service_name\": \"Visual Website Optimizer\", \"weight\": null, \"source\": \"<!-- Start Visual Website Optimizer Asynchronous Code --><script type=\'text/javascript\'>var _vwo_code=(function(){var account_id=43101,settings_tolerance=2000,library_tolerance=1500,use_existing_jquery=true,/* DO NOT EDIT BELOW THIS LINE */f=false,d=document;return{use_existing_jquery:function(){return use_existing_jquery;},library_tolerance:function(){return library_tolerance;},finish:function(){if(!f){f=true;var a=d.getElementById(\'_vis_opt_path_hides\');if(a)a.parentNode.removeChild(a);}},finished:function(){return f;},load:function(a){var b=d.createElement(\'script\');b.src=a;b.type=\'text/javascript\';b.innerText;b.onerror=function(){_vwo_code.finish();};d.getElementsByTagName(\'head\')[0].appendChild(b);},init:function(){settings_timer=setTimeout(\'_vwo_code.finish()\',settings_tolerance);this.load(\'//dev.visualwebsiteoptimizer.com/j.php?a=\'+account_id+\'&u=\'+encodeURIComponent(d.URL)+\'&r=\'+Math.random());var a=d.createElement(\'style\'),b=\'body{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}\',h=d.getElementsByTagName(\'head\')[0];a.setAttribute(\'id\',\'_vis_opt_path_hides\');a.setAttribute(\'type\',\'text/css\');if(a.styleSheet)a.styleSheet.cssText=b;else a.appendChild(d.createTextNode(b));h.appendChild(a);return settings_timer;}};}());_vwo_settings_timer=_vwo_code.init();</script><!-- End Visual Website Optimizer Asynchronous Code -->\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<script src=\\"//stat.p24.hu/CTS/helper-scripts/ip2isp/ip2isp.min.js\\"></script>\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": 0, \"source\": \"<script>function ip2latlong(data) {    centralGeoTarget.ip2latlong(data);}var centralGeoTarget = {    referrer: document.referrer,    geoLocInfo: \\"geoLocInfo\\",    onPositionUpdate: function (position) {        var latitude = position.coords.latitude,            longitude = position.coords.longitude;        centralGeoTarget.buildUpMetaTag(latitude, longitude);        var geoLocationInfoSting = \'latitude=\' + latitude + \'|longitude=\' + longitude;        centralGeoTarget.createCookie(centralGeoTarget.geoLocInfo, geoLocationInfoSting, 168);    },    ip2latlong: function (data) {        var latitude = data.latitude,            longitude = data.longitude;        centralGeoTarget.buildUpMetaTag(latitude, longitude);        if (centralGeoTarget.readCookie(centralGeoTarget.geoLocInfo) == \\"\\") {            var geoLocationInfoSting = \'latitude=\' + latitude + \'|longitude=\' + longitude;            centralGeoTarget.createCookie(centralGeoTarget.geoLocInfo, geoLocationInfoSting, 168);        }    },    ipGeoLocation: function () {        script = document.createElement(\'script\');        script.type = \'text/javascript\';        script.src = \'//geoip.p24.hu/latlong.js\';        document.head.appendChild(script);    },    getLocationFromCookie: function () {        var coordinates = centralGeoTarget.readCookie(centralGeoTarget.geoLocInfo);        var coordinateVals = (function () {            var pairs = coordinates.split(\'|\');            var coo = {};            for (var i = 0; i < pairs.length; i++) {                var temp = pairs[i].split(\'=\');                coo[temp[0]] = temp[1];            }            return coo;        })();        if ((typeof coordinateVals.latitude == \'undefined\') || (typeof coordinateVals.longitude == \'undefined\')) {            return null;        }        var latitudeVal = parseFloat(coordinateVals.latitude),            longitudeVal = parseFloat(coordinateVals.longitude);        if (isNaN(latitudeVal) || isNaN(longitudeVal)) {            return null;        }        return {            latitude: latitudeVal,            longitude: longitudeVal        }    },    onPositionUpdateError: function (e) {        if (centralGeoTarget.readCookie(centralGeoTarget.geoLocInfo) == \\"\\") {            centralGeoTarget.ipGeoLocation();        } else {            var savedData = centralGeoTarget.getLocationFromCookie();            if (savedData != null) {                centralGeoTarget.buildUpMetaTag(savedData.latitude, savedData.longitude);            }        }    },    createCookie: function (cname, cvalue, expiry) {        var d = new Date();        d.setHours(d.getHours() + expiry);        var expires = \\"expires=\\" + d.toUTCString();        document.cookie = cname + \'=\' + cvalue + \';\' + expires + \';domain=.\' + document.domain + \';path=/\';    },    readCookie: function (cname) {        var name = cname + \\"=\\";        var ca = document.cookie.split(\';\');        for (var i = 0; i < ca.length; i++) {            var c = ca[i].trim();            if (c.indexOf(name) == 0) return c.substring(name.length, c.length);        }        return \\"\\";    },    buildUpMetaTag: function (latitude, longitude) {        var userdb_id = 65;        var createMetaElement = true;        var metaElements = document.querySelectorAll(\\"[name=\'customtarget\']\\");        if (metaElements != undefined) {            if (metaElements.length != undefined) {                if (metaElements.length > 0) {                    createMetaElement = false;                }            }        }        if (createMetaElement) {            var adverticumMeta = document.createElement(\'meta\');            adverticumMeta.name = \'customtarget\';            adverticumMeta.content = window.btoa(unescape(encodeURIComponent(\'userdb_id=\' + userdb_id + \'&latitude=\' + latitude + \'&longitude=\' + longitude)));            document.getElementsByTagName(\'head\')[0].appendChild(adverticumMeta);        } else {            var defaultMetaVal = metaElements[0].getAttribute(\\"content\\");            var newMetaVal = window.atob(unescape(defaultMetaVal)) + \'&userdb_id=\' + userdb_id + \'&latitude=\' + latitude + \'&longitude=\' + longitude;            metaElements[0].setAttribute(\\"content\\", window.btoa(unescape(encodeURIComponent(newMetaVal))));        }    },    init: function () {        if (typeof _ceDeviceDetect.getDeviceType() != \'undefined\') {            if (_ceDeviceDetect.getDeviceType() != \\"desktop\\") {                var savedData = centralGeoTarget.getLocationFromCookie();                if (centralGeoTarget.referrer.indexOf(\\"facebook\\") == -1) {                    if (savedData != null) {                        centralGeoTarget.buildUpMetaTag(savedData.latitude, savedData.longitude);                    } else {                        navigator.geolocation.getCurrentPosition(centralGeoTarget.onPositionUpdate, centralGeoTarget.onPositionUpdateError);                        if(centralGeoTarget.getLocationFromCookie() == null){                            centralGeoTarget.ipGeoLocation();                        }                    }                } else {                    if (savedData != null) {                        centralGeoTarget.buildUpMetaTag(savedData.latitude, savedData.longitude);                    } else {                        centralGeoTarget.ipGeoLocation();                    }                }            }        }    }};centralGeoTarget.init();</script>\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<script>(function () {    var userdbId = 74,        confObj = {\'hasRightCol\':\'jobbhasab\',\'campaignParam\':\'campaignParam\'} || {},        replaceAccents = function(str) {            var rExps=[                {re:/\\u00f6/g, ch:\'o\'},                {re:/\\u00fc/g, ch:\'u\'},                {re:/\\u00f3/g, ch:\'o\'},                {re:/\\u0151/g, ch:\'o\'},                {re:/\\u00fa/g, ch:\'u\'},                {re:/\\u00e9/g, ch:\'e\'},                {re:/\\u00e1/g, ch:\'a\'},                {re:/\\u0171/g, ch:\'u\'},                {re:/\\u00ed/g, ch:\'i\'}            ];            for(var i=0, len=rExps.length; i<len; i++)                str=str.replace(rExps[i].re, rExps[i].ch);            return str;        };    if (typeof atob != \'undefined\' && typeof _ceCTSData != \'undefined\' && confObj != {}) {        var origMeta = \'\',            newContent = \'\',            userDbStr = \'userdb_id\',            adverticumMeta;        for (var key in confObj) {            if (confObj.hasOwnProperty(key) && _ceCTSData.hasOwnProperty(key)) {                newContent += confObj[key] + \'=\' + _ceCTSData[key] + \'&\';            }        }        newContent = replaceAccents(newContent);        if (newContent != \\"\\") {            if (document.getElementsByName(\'customtarget\').length != 0) {                adverticumMeta = document.getElementsByName(\'customtarget\')[0];                origMeta = atob(adverticumMeta.content);            } else {                adverticumMeta = document.createElement(\'meta\');                adverticumMeta.name = \'customtarget\';                document.getElementsByTagName(\'head\')[0].appendChild(adverticumMeta);            }            if (origMeta != \\"\\") {                if (origMeta.indexOf(userDbStr + \\"=\\" + userdbId) != -1) {                    var newMeta = userDbStr + \\"=\\" + userdbId + \'&\' + newContent.replace(/&$/g, \'\');                    origMeta = origMeta.replace(userDbStr + \\"=\\" + userdbId, newMeta);                    adverticumMeta.content = btoa(origMeta);                } else {                    adverticumMeta.content = btoa(userDbStr + \'=\' + userdbId + \'&\' + newContent.replace(/&$/g, \'\'));                }            } else {                adverticumMeta.content = btoa(userDbStr + \'=\' + userdbId + \'&\' + newContent.replace(/&$/g, \'\'));            }        }    }})();</script>\"}, {\"service_name\": \"Sanoma\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\" src=\\"//segment.p24.hu/cerment.min.js\\" async></script>\"}, {\"service_name\": \"Hotjar\", \"weight\": null, \"source\": \"<script>    (function(h,o,t,j,a,r){        h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};        h._hjSettings={hjid:318307,hjsv:5};        a=o.getElementsByTagName(\'head\')[0];        r=o.createElement(\'script\');r.async=1;        r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;        a.appendChild(r);    })(window,document,\'//static.hotjar.com/c/hotjar-\',\'.js?sv=\');</script>\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<script src=\\"//ad.adverticum.net/g3.js\\"></script><script>    var interstitialConfig = {        zoneID: \\"${adv_zone_id_for_desktop}\\"    };    (function () {        if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\' &&  _ceDeviceDetect.getDeviceType() == \\"desktop\\" && typeof goAdverticum3 != \\"undefined\\" && interstitialConfig.zoneID != \\"\\") {            var customTargetElement = document.querySelector(\\"meta[name=\'customtarget\']\\") || {};            goAdverticum3.loadZones([{                id: interstitialConfig.zoneID,                customTarget: customTargetElement.content            }]);        }    })();</script><script>    (function () {        if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\' &&  _ceDeviceDetect.getDeviceType() == \\"desktop\\" && typeof goAdverticum3 != \\"undefined\\" && interstitialConfig.zoneID != \\"\\") {            goAdverticum3.insertBanner(interstitialConfig.zoneID);        }    })();</script>\"}, {\"service_name\": \"Sanoma\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\">window[\'_pONmOJ\'] = {    userdbId: 58,    varName: \'audiences\',    sessionVarName: \'audience_segments\',    initScriptId: \'_btInitScrpt\',    btSegements: {        raw: {},        decoded: {}    },    sessionReady: function(input) {        this.btSegements.raw = input || {};        if (this.btSegements.raw.hasOwnProperty(this.sessionVarName) === true) {            this.btSegements.decoded[this.sessionVarName] = JSON.parse(this.btSegements.raw[this.sessionVarName]);            if (this.btSegements.decoded[this.sessionVarName].length > 0) {                var segmentsToSet = \',\' + this.btSegements.decoded[this.sessionVarName].join() + \',\';                this.addToCustomTarget(segmentsToSet);            }        }    },    addToCustomTarget: function(input) {        if (typeof input != \'undefined\') {            var metaData = {                pointer: document.getElementsByName(\'customtarget\')[document.getElementsByName(\'customtarget\').length - 1],                content: \'\',                parsed: {},                output: \'\'            };            metaData.parsed[this.userdbId] = {};            metaData.parsed[this.userdbId][this.varName] = \'\';            if (typeof metaData.pointer != \'undefined\') {                metaData.content = atob(metaData.pointer.content);                if (metaData.content.length > 0) {                    var metaParts = metaData.content.split(\'&\');                    var currentUserdb = 0;                    for (var i=0; i<metaParts.length; i++) {                        var metaKeyVal = metaParts[i].split(\'=\');                        if (metaKeyVal[0] == \'userdb_id\') {                            currentUserdb = metaKeyVal[1];                            if (typeof metaData.parsed[currentUserdb] == \'undefined\') {                                metaData.parsed[currentUserdb] = {};                            }                        } else {                            metaData.parsed[currentUserdb][metaKeyVal[0]] = metaKeyVal[1];                        }                    }                }            } else {                metaData.pointer = document.createElement(\'meta\');                metaData.pointer.name = \'customtarget\';                document.getElementsByTagName(\'head\')[0].appendChild(metaData.pointer);            }            metaData.parsed[this.userdbId][this.varName] = metaData.parsed[this.userdbId][this.varName] + input;            metaData.parsed[this.userdbId][this.varName] = metaData.parsed[this.userdbId][this.varName].replace(/[,]{2,}/g, \',\');            for (var key in metaData.parsed) {                if (metaData.parsed.hasOwnProperty(key)) {                    metaData.output += \'userdb_id=\' + key + \'&\';                    for (var prop in metaData.parsed[key]) {                        if (metaData.parsed[key].hasOwnProperty(prop)) {                            metaData.output += prop + \'=\' + metaData.parsed[key][prop] + \'&\';                        }                    }                }            }            metaData.output = metaData.output.replace(/\\&$/g, \'\');            metaData.pointer.content = btoa(metaData.output);        }    },    go: function() {        _btq.request(this.sessionVarName, function(input){            _pONmOJ.sessionReady.apply(window[\'_pONmOJ\'], [input]);        });    }};window.addEventListener(\'btLoaded\', function(ev){_pONmOJ.go();});</script>\"}, {\"service_name\": \"Sanoma/Hir24\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\" src=\\"//stat.p24.hu/CTS/measuring-codes/24.main.min.js?t=20190326\\"></script>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<script>if (typeof _ceDeviceDetect != \'undefined\' && typeof _ceDeviceDetect.getDeviceType == \'function\') {    var _ceDisplayData = _ceDisplayData || {};    _ceDisplayData.gpt = _ceDisplayData.gpt || { items: [], defContName: \'div-gpt-ad\' };        (function(){        var scriptInserter = document.createElement(\'script\');        scriptInserter.src = \'https://www.googletagservices.com/tag/js/gpt.js\';        scriptInserter.async = true;        /*document.head.appendChild(scriptInserter);*/        document.head.insertBefore(scriptInserter, document.head.firstChild);    })();        var googletag = googletag || {};    googletag.cmd = googletag.cmd || [];    googletag.cmd.push(function() {        googletag.pubads().enableSingleRequest();        googletag.pubads().collapseEmptyDivs();        googletag.enableServices();    });}</script>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<script async=\\"async\\" type=\\"text/javascript\\" src=\\"https://static.criteo.net/js/ld/publishertag.js\\"></script><script>    window.Criteo = window.Criteo || {};    window.Criteo.events = window.Criteo.events || [];</script>\"}]';
  this.positions_weighted['head'] = false;
  
  this.positions['body-start'] = '[{\"service_name\": \"Google Tag Manager\", \"weight\": null, \"source\": \"<noscript><iframe src=\\"//www.googletagmanager.com/ns.html?id=GTM-WJSC4J\\"height=\\"0\\" width=\\"0\\" style=\\"display:none;visibility:hidden\\"></iframe></noscript><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=\'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);})(window,document,\'script\',\'dataLayer\',\'GTM-WJSC4J\');</script>\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<script src=\\"//ad.adverticum.net/g3.js\\"></script><script>    var interstitialConfig = {        zoneID: \\"5406260\\"    };    (function () {        if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\' &&  _ceDeviceDetect.getDeviceType() == \\"desktop\\" && typeof goAdverticum3 != \\"undefined\\" && interstitialConfig.zoneID != \\"\\") {            var customTargetElement = document.querySelector(\\"meta[name=\'customtarget\']\\") || {};            goAdverticum3.loadZones([{                id: interstitialConfig.zoneID,                customTarget: customTargetElement.content            }]);        }    })();</script><script>    (function () {        if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\' &&  _ceDeviceDetect.getDeviceType() == \\"desktop\\" && typeof goAdverticum3 != \\"undefined\\" && interstitialConfig.zoneID != \\"\\") {            goAdverticum3.insertBanner(interstitialConfig.zoneID);        }    })();</script>\"}]';
  this.positions_weighted['body-start'] = false;
  
  this.positions['body-end'] = '[{\"service_name\": \"Sanoma/Hir24\", \"weight\": null, \"source\": \"<!--<script type=\\"text/javascript\\" src=\\"//stat.p24.hu/CTS/measuring-codes/24hu/measuringCode.min.js?t=20190131\\"></script>-->\"}, {\"service_name\": \"Sanoma\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\" src=\\"//stat.p24.hu/CTS/helper-scripts/adverts/lazyload/lazyad.min.js\\"></script>\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\" src=\\"//stat.p24.hu/CTS/helper-scripts/waterfall_empty/closer.min.js\\"></script>\"}, {\"service_name\": \"Sanoma/Hir24\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\">    (function(){        var googleCPLink = (\\"${google_cookie_policy_link}\\" != \\"\\") ? \\"${google_cookie_policy_link}\\" : \\"http://centralmediacsoport.hu/Company/Central-Digitalis-Media-Adatkezelesi-tajekoztato\\";        var googleCPRename = (\\"${google_cookie_policy_rename}\\" != \\"\\") ? \\"${google_cookie_policy_rename}\\" : 1;            window._ce_consent_options = {            \'links\'        : [                                 {text: \'Adatkezel&eacute;si t&aacute;j&eacute;koztat&oacute;nk\', url: \'https://24.hu/egyedi-adatkezelesi-tajekoztato/\'},                                 {text: \'&eacute;s\', url: \'\'},                                 {text: \'Felhaszn&aacute;l&aacute;si felt&eacute;teleink\', url: \'https://24.hu/felhasznalasi-feltetelek/\'},                                {text: \'technikai okok miatt v&aacute;ltoztak.\', url: \'\'},             ],             \'body\'         : \'A felhaszn&aacute;l&oacute;inkat &eacute;rdemben &eacute;rint&odblac; v&aacute;ltoz&aacute;s nem t&ouml;rt&eacute;nt. A weboldalon tov&aacute;bbra is cookie-kat haszn&aacute;lunk az optim&aacute;lis m&udblac;k&ouml;d&eacute;s &eacute;rdek&eacute;ben.\',            \'more\'         : \'Tov&aacute;bbi inform&aacute;ci&oacute;\',            \'dismiss\'      : \'Rendben\',            \'toplevel\'     : \'1\',            \'version\'      : googleCPRename,        };    })();</script><script type=\\"text/javascript\\" src=\\"//stat.p24.hu/CTS/helper-scripts/cookieconsent/cookieconsentv2.min.js\\"></script>\"}, {\"service_name\": \"Strossle\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\">    if ((typeof ctsIsArticlePage !== \'undefined\' && ctsIsArticlePage === true) || (typeof ctsPageType !== \'undefined\' && (ctsPageType === \'article\' || ctsPageType === \'category\' || ctsPageType === \'tag\')))    {        $(\'div.widget > div.related-posts\').remove();        (function () { var s = document.createElement(\'script\'); s.type = \'text/javascript\'; s.async = true; s.src = \'//widgets.sprinklecontent.com/v2/sprinkle.js\'; var scriptList = document.getElementsByTagName(\'script\'); var x = scriptList[scriptList.length-1]; x.parentNode.insertBefore(s, x); })();    }</script>\"}, {\"service_name\": \"Sanoma\", \"weight\": null, \"source\": \"<script>var _ceCTSReloadPos = (function () {    var config = {            defaultInterval: 60,            positions:[]        },        ajaxSubmit = function (url) {            if (typeof fetch != \'undefined\') {                fetch(url, {method: \'HEAD\', mode: \'no-cors\'}).catch(function (error) {                    console.log(\'Request failed.\', error);                });            } else {                /* fetch not available, falling back to JSONP */                var mPixel = document.createElement(\'IMG\');                mPixel.src = url;                document.body.appendChild(mPixel);            }        },        setDefaultContent = function (position, configPos) {            configPos.defContent = position.innerHTML;        },        createNewContent = function (configPos) {            var newContent = document.createElement(\\"div\\");            newContent.innerHTML = configPos.defContent;            var elements = newContent.querySelectorAll(\\"script,img\\");            for (var i = 0; i < elements.length; i++) {                var rand = Math.floor(Math.random() * 9999);                if (elements[i].src != undefined && elements[i].src != \\"\\") {                    elements[i].src += \\"?t=\\" + rand;                    if (elements[i].tagName.toLowerCase() == \\"script\\") {                        ajaxSubmit(elements[i].src);                    }                }            }            configPos.newContent = newContent.innerHTML;        },        reloadPosition = function (position, configPos) {            var interval = config.defaultInterval;            if (configPos.interval != null) {                interval = configPos.interval;            }            interval = interval * 1000;            setInterval(function () {                if (document.hasFocus()) {                    createNewContent(configPos);                    position.innerHTML = configPos.newContent;                }            }, interval);        };    this.init = function () {        for (var i = 0; i < config.positions.length; i++) {            var reload = true;            if (config.positions[i].device != null) {                if (typeof _ceDeviceDetect != \\"undefined\\") {                    if (config.positions[i].device != _ceDeviceDetect.getDeviceType()) {                        reload = false;                    }                }            }            if (reload) {                var position = document.querySelectorAll(\\"[data-position=\'\\" + config.positions[i].name + \\"\']\\");                if (position[0] != undefined) {                    position = position[0];                    setDefaultContent(position, config.positions[i]);                    reloadPosition(position, config.positions[i]);                }            }        }        this.init = undefined;    };});var _ceCTSRP = new _ceCTSReloadPos();document.addEventListener(\'readystatechange\', function (evt) {    switch (evt.target.readyState) {        case \\"complete\\":            try{                _ceCTSRP.init();            }catch (err){                console.log(\\"_ceCTSRP error: \\"+err.message);            }            break;    }}, false);</script>\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<script>    (function () {        if(typeof goAdverticum3 != \\"undefined\\"){            try{                goAdverticum3.reInit();            }catch (e) {            }        }    })();</script>\"}]';
  this.positions_weighted['body-end'] = false;
  
  this.positions['body-end-adv'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'3487596\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'${adv_zone_id_for_tablet}\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['body-end-adv'] = false;
  
  this.positions['content-top'] = '[]';
  this.positions_weighted['content-top'] = false;
  
  this.positions['right010'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" data-adsv-name=\\"\\"></div><script>var insertedElement = document.getElementById(\'ctstemp\');var zoneForDevice = \'\';var dataAdsvName = \'\';if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            zoneForDevice = \'1750445\';            dataAdsvName = \'box1\';            break;        case \'mobile\':            zoneForDevice = \'2147741\';            dataAdsvName = \'mobil_waterfall2\';            break;        case \'tablet\':            zoneForDevice = \'1750445\';            dataAdsvName = \'${adverticum_name_tablet}\';            if(dataAdsvName == \\"\\"){                dataAdsvName = \'box1\';            }            break;    }}if (zoneForDevice == \'\') {    insertedElement.parentNode.removeChild(insertedElement);} else {    insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);    insertedElement.id = \'zone\' + zoneForDevice;}</script>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\"     style=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;${custom_css}\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1385748,            height = 600,            width = 300,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = {attributes: true, childList: true, subtree: true};        var insertCriteoBanner = function () {            criteoEl.id += Math.floor(Math.random() * 1000000);            var observer = new MutationObserver(function (mutations) {                mutations.forEach(function () {                    criteoEl.style.width = width + \\"px\\";                    criteoEl.style.height = height + \\"px\\";                    criteoEl.style.marginTop = \\"10px\\";                    criteoEl.style.marginBottom = \\"10px\\";                    observer.disconnect();                });            });            observer.observe(criteoEl, mutationConf);            setTimeout(function(){ observer.disconnect(); }, mutationTimeout);            Criteo.events.push(function () {                Criteo.DisplayAcceptableAdIfAdblocked({                    \\"zoneid\\": zoneid,                    \\"containerid\\": criteoEl.id,                    \\"overrideZoneFloor\\": true                });            });        };        if (domReady != undefined && domReady != \'\' && domReady) {            if (typeof document.addEventListener !== \'undefined\') {                document.addEventListener(\\"DOMContentLoaded\\", insertCriteoBanner);            } else {                window.attachEvent(\\"onload\\", insertCriteoBanner);            }        } else {            insertCriteoBanner();        }    })();</script>\"}]';
  this.positions_weighted['right010'] = false;
  
  this.positions['right030'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'2239069\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'2239069\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['right030'] = false;
  
  this.positions['right040'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'1864725\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'1864725\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['right040'] = false;
  
  this.positions['right050'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'1909214\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'1909214\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['right050'] = false;
  
  this.positions['right060'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'1711788\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'1711788\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['right060'] = false;
  
  this.positions['right070'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'2120782\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'${adv_zone_id_for_tablet}\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['right070'] = false;
  
  this.positions['right080'] = '[]';
  this.positions_weighted['right080'] = false;
  
  this.positions['right090'] = '[]';
  this.positions_weighted['right090'] = false;
  
  this.positions['right100'] = '[]';
  this.positions_weighted['right100'] = false;
  
  this.positions['bottom'] = '[]';
  this.positions_weighted['bottom'] = false;
  
  this.positions['nonstop-link030'] = '[]';
  this.positions_weighted['nonstop-link030'] = false;
  
  this.positions['toothbrush-handle'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'33127\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'${adv_zone_id_for_tablet}\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['toothbrush-handle'] = false;
  
  this.positions['toothbrush-head'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'1751089\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'${adv_zone_id_for_tablet}\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['toothbrush-head'] = false;
  
  this.positions['menu-manager'] = '[{\"service_name\": \"Sanoma/Hir24\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\">        (function(){        var topMenuClass = \'microsite-list\';        var recolorConf = {            \'focivb2018.24.hu\': { \'icon\': \'//24.p3k.hu/app/uploads/2018/06/labda-23x23px.png\', \'color\': \'#fff\', \'bgColor\': \'#176531\', \'hColor\': \'#0a3d1a\', \'hBackground\': \'#ddffe7\', border:0 }        };        function manipulateMenu() {            var topMenuElements = (document.getElementsByClassName(topMenuClass).length > 0 ? document.getElementsByClassName(topMenuClass)[0].getElementsByTagName(\'a\') : []);                    if (topMenuElements.length > 0) {                for (var i=0; i<topMenuElements.length; i++) {                    if (recolorConf.hasOwnProperty(topMenuElements[i].hostname) == true) {                        topMenuElements[i].style.background = \'url(\\"\' + recolorConf[topMenuElements[i].hostname].icon + \'\\") 4px center no-repeat \' + recolorConf[topMenuElements[i].hostname].bgColor;                        topMenuElements[i].style.backgroundSize = \'15px 15px\';                        topMenuElements[i].style.paddingLeft = \'24px\';                        topMenuElements[i].style.color = recolorConf[topMenuElements[i].hostname].color;                        if (recolorConf[topMenuElements[i].hostname].border == 1) {                            topMenuElements[i].style.border = \'1px solid \' + recolorConf[topMenuElements[i].hostname].color;                        }                        topMenuElements[i].style.lineHeight = \'23px\';                        topMenuElements[i].addEventListener(\'mouseover\', function(event){                            event.target.style.color = recolorConf[event.target.hostname].hColor;                            event.target.style.backgroundColor = recolorConf[event.target.hostname].hBackground;                        });                        topMenuElements[i].addEventListener(\'mouseout\', function(event){                            event.target.style.color = recolorConf[event.target.hostname].color;                            event.target.style.backgroundColor = recolorConf[event.target.hostname].bgColor;                        });                    }                }            }        }        if (typeof document.addEventListener != \'undefined\') {            document.addEventListener(\'DOMContentLoaded\', manipulateMenu);        } else {            document.attachEvent(\'onload\', manipulateMenu);        }    })();</script>\"}]';
  this.positions_weighted['menu-manager'] = false;
  
  this.positions['content010'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" data-adsv-name=\\"\\"></div><script>var insertedElement = document.getElementById(\'ctstemp\');var zoneForDevice = \'\';var dataAdsvName = \'\';if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            zoneForDevice = \'2733420\';            dataAdsvName = \'roadblock\';            break;        case \'mobile\':            zoneForDevice = \'2147746\';            dataAdsvName = \'mobil_waterfall1\';            break;        case \'tablet\':            zoneForDevice = \'\';            dataAdsvName = \'\';            if(dataAdsvName == \\"\\"){                dataAdsvName = \'roadblock\';            }            break;    }}if (zoneForDevice == \'\') {    insertedElement.parentNode.removeChild(insertedElement);} else {    insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);    insertedElement.id = \'zone\' + zoneForDevice;}</script>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\"     style=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;${custom_css}\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1168295,            height = 250,            width = 300,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = {attributes: true, childList: true, subtree: true};        var insertCriteoBanner = function () {            criteoEl.id += Math.floor(Math.random() * 1000000);            var observer = new MutationObserver(function (mutations) {                mutations.forEach(function () {                    criteoEl.style.width = width + \\"px\\";                    criteoEl.style.height = height + \\"px\\";                    criteoEl.style.marginTop = \\"10px\\";                    criteoEl.style.marginBottom = \\"10px\\";                    observer.disconnect();                });            });            observer.observe(criteoEl, mutationConf);            setTimeout(function(){ observer.disconnect(); }, mutationTimeout);            Criteo.events.push(function () {                Criteo.DisplayAcceptableAdIfAdblocked({                    \\"zoneid\\": zoneid,                    \\"containerid\\": criteoEl.id,                    \\"overrideZoneFloor\\": true                });            });        };        if (domReady != undefined && domReady != \'\' && domReady) {            if (typeof document.addEventListener !== \'undefined\') {                document.addEventListener(\\"DOMContentLoaded\\", insertCriteoBanner);            } else {                window.attachEvent(\\"onload\\", insertCriteoBanner);            }        } else {            insertCriteoBanner();        }    })();</script>\"}]';
  this.positions_weighted['content010'] = false;
  
  this.positions['content020'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'2938653\';                    break;                case \'mobile\':                    zoneForDevice = \'2938653\';                    break;                case \'tablet\':                    zoneForDevice = \'2938653\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['content020'] = false;
  
  this.positions['content040'] = '[{\"service_name\": \"Rubicon\", \"weight\": 100, \"source\": \"<div id=\\"RubiconAdTemp\\" class=\\"rubAd\\" style=\\"width: 100%;text-align: center;display: table; margin: 0 auto; width: auto;\\"><script language=\\"JavaScript\\" type=\\"text/javascript\\">        var rubiconZoneSize = \'\';        var rubiconSite = \'163254\';        var rubiconSiteMobile = \'81606\';        var rubiconAdType = \'${rubicon_ad_type}\';        var tplElement = document.getElementById(\\"RubiconAdTemp\\");        var advParts = {};        var insertedGoogle = false;        if(rubiconAdType == \'\'){            rubiconAdType = \'js\';        }        if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {            switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    rubiconZoneSize = \'615366-198\';                    break;                case \'mobile\':                    rubiconZoneSize = \'766690-15\';                    rubiconZoneSize = rubiconZoneSize.split(\'-\')[0]+\'-15\';                    break;                case \'tablet\':                    rubiconZoneSize = \'${rubicon_ad_zone_tablet}\';                    if(rubiconZoneSize == \'\'){                        rubiconZoneSize = \'615366-198\';                    }                    break;            }            if(_ceDeviceDetect.getDeviceType() != \'desktop\' && rubiconSiteMobile != undefined && rubiconSiteMobile != \'\' && rubiconSiteMobile != \'undefined\'){                rubiconSite = rubiconSiteMobile;            }            if(navigator.userAgent.toLowerCase().indexOf(\\"ipad\\") !== -1 && navigator.userAgent.toLowerCase().indexOf(\\"iphone\\") === -1){                insertedGoogle = true;                advParts.initScript = document.createElement(\'script\');                advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';                advParts.initScript.async = \'true\';                advParts.body = document.createElement(\'ins\');                advParts.body.className = \'adsbygoogle\';                advParts.body.style = \\"display:inline-block;min-width:320px;max-width:1200px;width:100%;height:200px\\";                advParts.body.setAttribute(\'data-ad-client\',\'ca-pub-8962558862962174\');                advParts.body.setAttribute(\'data-ad-slot\', \'5920657040\');                tplElement.appendChild(advParts.initScript);                tplElement.appendChild(advParts.body);                (adsbygoogle = window.adsbygoogle || []).push({});                tplElement.removeAttribute(\'id\');            }        }        if(!insertedGoogle){            if ((typeof noRUBICON == \'undefined\' || noRUBICON === false) && rubiconZoneSize.split(\'-\')[0] != \'\') {                rp_account   = \'13818\';                rp_site      = rubiconSite;                rp_zonesize  = rubiconZoneSize;                rp_adtype    = rubiconAdType;                tplElement.removeAttribute(\'id\');            }else{                tplElement.remove();            }        }    </script><script type=\\"text/javascript\\" src=\\"//ads.rubiconproject.com/ad/13818.js\\"></script></div>\"}, {\"service_name\": \"Google Adverts\", \"weight\": 0, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"width:100%;text-align: center;margin-top:15px;display:inline-block;display: table; margin: 0 auto; width: auto;\\"></div><script>var slotForDevice = \'\';var gadxErr = false;var dimensionForDevice = {    width: parseInt(1200),    mobileWidth: parseInt(${google_ad_width_mobile}),    minWidth: parseInt(320),    height: parseInt(160),    mobileHeight: parseInt(${google_ad_height_mobile})};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            slotForDevice = \'9425741140\';            break;        case \'mobile\':            slotForDevice = \'${google_adx_slot_default_for_mobile}\';            dimensionForDevice.width = 300;            dimensionForDevice.minWidth = 300;            dimensionForDevice.height = 250;            if (!isNaN(dimensionForDevice.mobileWidth)) {                dimensionForDevice.width = dimensionForDevice.mobileWidth;            }            if (!isNaN(dimensionForDevice.mobileHeight)) {                dimensionForDevice.height = dimensionForDevice.mobileHeight;            }            break;        case \'tablet\':            if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                slotForDevice = \'${google_adx_slot_default_for_tablet}\';            } else {                slotForDevice = \'9425741140\';            }            break;    }}if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {    var advParts = {};    var gadxDiv = document.getElementById(\'ctsGadxTemp\');    advParts.initScript = document.createElement(\'script\');    advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';    advParts.initScript.async = \'true\';    advParts.body = document.createElement(\'ins\');    advParts.body.className = \'adsbygoogle\';    advParts.body.style.display = \'inline-block\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        if(!isNaN(dimensionForDevice.minWidth) && !isNaN(dimensionForDevice.width)){        advParts.body.style.maxWidth = dimensionForDevice.width + \'px\';        advParts.body.style.minWidth = dimensionForDevice.minWidth + \'px\';        advParts.body.style.width = \'100%\';    }else{        advParts.body.style.width = dimensionForDevice.width + \'px\';    }        advParts.body.setAttribute(\'data-ad-client\', \'ca-pub-8962558862962174\');    advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);    advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));    if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {        advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');    }    gadxDiv.appendChild(advParts.initScript);    gadxDiv.appendChild(advParts.body);    (adsbygoogle = window.adsbygoogle || []).push({});    gadxDiv.removeAttribute(\'id\');} else {    var adxElement = document.getElementById(\'ctsGadxTemp\');    adxElement.parentNode.removeChild(adxElement);}</script>\"}]';
  this.positions_weighted['content040'] = true;
  
  this.positions['content030'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"a8a263be\\" data-adsv-name=\\"\\"></div><script>var _cllq = _cllq || [];var _cLazyAd = {    \'placeholder\': document.getElementById(\'ctstemp\'),    \'zoneForDevice\': \'\',    \'dataAdsvName\': \'\'};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            _cLazyAd.zoneForDevice = \'3862495\';            _cLazyAd.dataAdsvName = \'${adverticum_name}\';            break;        case \'mobile\':            _cLazyAd.zoneForDevice = \'2147744\';            _cLazyAd.dataAdsvName = \'mobil_waterfall2\';            break;        case \'tablet\':            _cLazyAd.zoneForDevice = \'3862495\';            _cLazyAd.dataAdsvName = ( \'${adverticum_name_tablet}\' != \'\' ? \'${adverticum_name_tablet}\' : \'${adverticum_name}\');            break;    }}if (_cLazyAd.zoneForDevice == \'\') {    _cLazyAd.placeholder.parentNode.removeChild(_cLazyAd.placeholder);} else {    _cllq.push(_cLazyAd.zoneForDevice);    _cLazyAd.placeholder.setAttribute(\'data-adsv-name\', _cLazyAd.dataAdsvName);    _cLazyAd.placeholder.id = \'lazy\' + _cLazyAd.zoneForDevice;}_cLazyAd = undefined;</script>\"}]';
  this.positions_weighted['content030'] = false;
  
  this.positions['content050'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"cts_content_recomm\\" class=\\"ctsGadx\\"     style=\\"display:block;margin-top:30px;margin-bottom:30px;margin-top: 25px; margin-bottom: 25px;\\"></div><script type=\\"text/javascript\\">(function () {    var slotForDevice = {            desktop: \'4597241669\',            mobile: \'5150100230\',            tablet: \'5150100230\'        },        recommDiv = document.getElementById(\'cts_content_recomm\'),        slot = \'\',        parameter = \'\',        googleUniqueParameters = {            desktop: \'${google_recomm_unique_parameters}\',            mobile: \'{\\"data-matched-content-rows-num\\": \\"12,6\\", \\"data-matched-content-columns-num\\": \\"1,2\\", \\"data-matched-content-ui-type\\": \\"image_sidebyside,image_sidebyside\\"}\',            tablet: \'{\\"data-matched-content-rows-num\\": \\"12,6\\", \\"data-matched-content-columns-num\\": \\"1,2\\", \\"data-matched-content-ui-type\\": \\"image_sidebyside,image_sidebyside\\"}\'        };        if(typeof localStorage.A42A6Cblck != \'undefined\' && JSON.parse(localStorage.A42A6Cblck).bl == 1){            recommDiv.parentNode.removeChild(recommDiv);        }else{            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        slot = slotForDevice.desktop;                        parameter = googleUniqueParameters.desktop;                        break;                    case \'mobile\':                        slot = slotForDevice.mobile;                        parameter = googleUniqueParameters.mobile;                        if(slot == \'\'){                            slot = slotForDevice.desktop;                        }                        break;                    case \'tablet\':                        slot = slotForDevice.mobile;                        parameter = googleUniqueParameters.mobile;                        if(slot == \'\'){                            slot = slotForDevice.desktop;                        }                        break;                }            }            if ((typeof noADX == \'undefined\' || noADX === false) && slot != \'\') {                var advParts = {};                advParts.initScript = document.createElement(\'script\');                advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';                advParts.initScript.async = \'true\';                advParts.body = document.createElement(\'ins\');                advParts.body.className = \'adsbygoogle\';                advParts.body.style.display = \'block\';                advParts.body.setAttribute(\'data-ad-format\', \'autorelaxed\');                advParts.body.setAttribute(\'data-ad-client\', \'ca-pub-8962558862962174\');                advParts.body.setAttribute(\'data-ad-slot\', slot);                try{                    parameter = JSON.parse(parameter);                    for (var key in parameter) {                        if (parameter.hasOwnProperty(key)) {                            advParts.body.setAttribute(key, parameter[key]);                        }                    }                }catch (e){                }                recommDiv.appendChild(advParts.initScript);                recommDiv.appendChild(advParts.body);                (adsbygoogle = window.adsbygoogle || []).push({});                recommDiv.removeAttribute(\'id\');            } else {                recommDiv.parentNode.removeChild(recommDiv);            }        }})();</script>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\"     style=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;margin-top: 25px; margin-bottom: 25px;\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1385752,            height = 360,            width = 640,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = {attributes: true, childList: true, subtree: true};        var insertCriteoBanner = function () {            criteoEl.id += Math.floor(Math.random() * 1000000);            var observer = new MutationObserver(function (mutations) {                mutations.forEach(function () {                    criteoEl.style.width = width + \\"px\\";                    criteoEl.style.height = height + \\"px\\";                    criteoEl.style.marginTop = \\"10px\\";                    criteoEl.style.marginBottom = \\"10px\\";                    observer.disconnect();                });            });            observer.observe(criteoEl, mutationConf);            setTimeout(function(){ observer.disconnect(); }, mutationTimeout);            Criteo.events.push(function () {                Criteo.DisplayAcceptableAdIfAdblocked({                    \\"zoneid\\": zoneid,                    \\"containerid\\": criteoEl.id,                    \\"overrideZoneFloor\\": true                });            });        };        if (domReady != undefined && domReady != \'\' && domReady) {            if (typeof document.addEventListener !== \'undefined\') {                document.addEventListener(\\"DOMContentLoaded\\", insertCriteoBanner);            } else {                window.attachEvent(\\"onload\\", insertCriteoBanner);            }        } else {            insertCriteoBanner();        }    })();</script>\"}, {\"service_name\": \"Strossle\", \"weight\": null, \"source\": \"<div id=\\"strossle-widget-widget-570391f811f85\\" class=\\"wpb_widget _ce_measure_widget\\" data-ce-measure-widget=\\"Strossle\\"></div><script type=\\"text/javascript\\">var strossle_element = document.getElementById(\\"strossle-widget-widget-570391f811f85\\");var strossle_exceptions = \'${strossle_widget_exceptions}\';strossle_exceptions = strossle_exceptions.replace(\\" \\", \\"\\");strossle_exceptions = strossle_exceptions.split(\\",\\");var strossle_enabled = true;if(strossle_exceptions != \\"\\") {    for (var i = 0; i < strossle_exceptions.length; i++) {        if (window.location.search.indexOf(strossle_exceptions[i]) != -1) {            strossle_enabled = false;            strossle_element.remove();        }    }}if(strossle_enabled && (typeof localStorage.A42A6Cblck != \'undefined\' && JSON.parse(localStorage.A42A6Cblck).bl == 1)){    strossle_element.setAttribute(\\"data-spklw-widget\\", \\"widget-570391f811f85\\");    strossle_element.setAttribute(\\"style\\", \\"${strossle_style}\\");}else{    strossle_element.remove();}</script>\"}]';
  this.positions_weighted['content050'] = false;
  
  this.positions['content060'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'4418034\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'4418034\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"width:100%;text-align: center;margin-top:15px;display:inline-block;${custom_css}\\"></div><script>var slotForDevice = \'\';var gadxErr = false;var dimensionForDevice = {    width: parseInt(750),    mobileWidth: parseInt(360),    minWidth: parseInt(300),    height: parseInt(200),    mobileHeight: parseInt(266)};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            slotForDevice = \'${google_adx_slot_default_for_desktop}\';            break;        case \'mobile\':            slotForDevice = \'8071288377\';            dimensionForDevice.width = 300;            dimensionForDevice.minWidth = 300;            dimensionForDevice.height = 250;            if (!isNaN(dimensionForDevice.mobileWidth)) {                dimensionForDevice.width = dimensionForDevice.mobileWidth;            }            if (!isNaN(dimensionForDevice.mobileHeight)) {                dimensionForDevice.height = dimensionForDevice.mobileHeight;            }            break;        case \'tablet\':            if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                slotForDevice = \'${google_adx_slot_default_for_tablet}\';            } else {                slotForDevice = \'${google_adx_slot_default_for_desktop}\';            }            break;    }}if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {    var advParts = {};    var gadxDiv = document.getElementById(\'ctsGadxTemp\');    advParts.initScript = document.createElement(\'script\');    advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';    advParts.initScript.async = \'true\';    advParts.body = document.createElement(\'ins\');    advParts.body.className = \'adsbygoogle\';    advParts.body.style.display = \'inline-block\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        if(!isNaN(dimensionForDevice.minWidth) && !isNaN(dimensionForDevice.width)){        advParts.body.style.maxWidth = dimensionForDevice.width + \'px\';        advParts.body.style.minWidth = dimensionForDevice.minWidth + \'px\';        advParts.body.style.width = \'100%\';    }else{        advParts.body.style.width = dimensionForDevice.width + \'px\';    }        advParts.body.setAttribute(\'data-ad-client\', \'ca-pub-8962558862962174\');    advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);    advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));    if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {        advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');    }    gadxDiv.appendChild(advParts.initScript);    gadxDiv.appendChild(advParts.body);    (adsbygoogle = window.adsbygoogle || []).push({});    gadxDiv.removeAttribute(\'id\');} else {    var adxElement = document.getElementById(\'ctsGadxTemp\');    adxElement.parentNode.removeChild(adxElement);}</script>\"}]';
  this.positions_weighted['content060'] = false;
  
  this.positions['article-recommender020'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'4411237\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'4411237\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['article-recommender020'] = false;
  
  this.positions['list-content010'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" data-adsv-name=\\"\\"></div><script>var insertedElement = document.getElementById(\'ctstemp\');var zoneForDevice = \'\';var dataAdsvName = \'\';if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            zoneForDevice = \'${adv_zone_id_for_desktop}\';            dataAdsvName = \'${adverticum_name}\';            break;        case \'mobile\':            zoneForDevice = \'2147740\';            dataAdsvName = \'mobil_waterfall1\';            break;        case \'tablet\':            zoneForDevice = \'${adv_zone_id_for_tablet}\';            dataAdsvName = \'${adverticum_name_tablet}\';            if(dataAdsvName == \\"\\"){                dataAdsvName = \'${adverticum_name}\';            }            break;    }}if (zoneForDevice == \'\') {    insertedElement.parentNode.removeChild(insertedElement);} else {    insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);    insertedElement.id = \'zone\' + zoneForDevice;}</script>\"}]';
  this.positions_weighted['list-content010'] = false;
  
  this.positions['list-content020'] = '[{\"service_name\": \"Sanoma/Hir24\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\">        var ADXBannerWidthDefault = 640,        pageType = typeof ctsPageType !== \'undefined\' ? ctsPageType : \'notSet\';            switch (pageType) {        case \'category\':            ADXBannerWidth = jQuery(\'div#page\').find(\'div#content\').find(\'div.category-component-box.hir24-rovat.list-category\').css(\'width\');            break;        case \'other\':            if (location.pathname.indexOf(\'/tag/\') != -1){                ADXBannerWidth = jQuery(\'div#page\').find(\'div#content\').find(\'div.hir24-rovat.list-category > div.row > div.article.col-sm-8\').css(\'width\'); }            break;        case \'tag\':            ADXBannerWidth = jQuery(\'div#page\').find(\'div#content\').find(\'div.hir24-rovat.list-category > div.row > div.article.col-sm-8\').css(\'width\');            break;        case \'article\':            ADXBannerWidth = jQuery(\'div#page\').find(\'div#content\').find(\'div.col-md-8.hir24-post\').css(\'width\');            break;        default:            ADXBannerWidth = ADXBannerWidthDefault;    }    ADXBannerWidth = parseInt(ADXBannerWidth);    if (window.innerWidth < 670) ADXBannerWidth-=15;    if (isNaN(ADXBannerWidth) || ADXBannerWidth <= 0 || ADXBannerWidthDefault < ADXBannerWidth){        ADXBannerWidth = ADXBannerWidthDefault;    }</script>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"width:100%;text-align: center;margin-top:15px;display:inline-block;margin-top:15px;border-bottom:1px solid #e4e4e4;\\"></div><script>var slotForDevice = \'\';var gadxErr = false;var dimensionForDevice = {    width: parseInt(750),    mobileWidth: parseInt(${google_ad_width_mobile}),    minWidth: parseInt(300),    height: parseInt(120),    mobileHeight: parseInt(${google_ad_height_mobile})};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            slotForDevice = \'4474070063\';            break;        case \'mobile\':            slotForDevice = \'${google_adx_slot_default_for_mobile}\';            dimensionForDevice.width = 300;            dimensionForDevice.minWidth = 300;            dimensionForDevice.height = 250;            if (!isNaN(dimensionForDevice.mobileWidth)) {                dimensionForDevice.width = dimensionForDevice.mobileWidth;            }            if (!isNaN(dimensionForDevice.mobileHeight)) {                dimensionForDevice.height = dimensionForDevice.mobileHeight;            }            break;        case \'tablet\':            if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                slotForDevice = \'${google_adx_slot_default_for_tablet}\';            } else {                slotForDevice = \'4474070063\';            }            break;    }}if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {    var advParts = {};    var gadxDiv = document.getElementById(\'ctsGadxTemp\');    advParts.initScript = document.createElement(\'script\');    advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';    advParts.initScript.async = \'true\';    advParts.body = document.createElement(\'ins\');    advParts.body.className = \'adsbygoogle\';    advParts.body.style.display = \'inline-block\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        if(!isNaN(dimensionForDevice.minWidth) && !isNaN(dimensionForDevice.width)){        advParts.body.style.maxWidth = dimensionForDevice.width + \'px\';        advParts.body.style.minWidth = dimensionForDevice.minWidth + \'px\';        advParts.body.style.width = \'100%\';    }else{        advParts.body.style.width = dimensionForDevice.width + \'px\';    }        advParts.body.setAttribute(\'data-ad-client\', \'ca-pub-8962558862962174\');    advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);    advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));    if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {        advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');    }    gadxDiv.appendChild(advParts.initScript);    gadxDiv.appendChild(advParts.body);    (adsbygoogle = window.adsbygoogle || []).push({});    gadxDiv.removeAttribute(\'id\');} else {    var adxElement = document.getElementById(\'ctsGadxTemp\');    adxElement.parentNode.removeChild(adxElement);}</script>\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" data-adsv-name=\\"\\"></div><script>var insertedElement = document.getElementById(\'ctstemp\');var zoneForDevice = \'\';var dataAdsvName = \'\';if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            zoneForDevice = \'${adv_zone_id_for_desktop}\';            dataAdsvName = \'${adverticum_name}\';            break;        case \'mobile\':            zoneForDevice = \'2771628\';            dataAdsvName = \'mobil_waterfall2\';            break;        case \'tablet\':            zoneForDevice = \'${adv_zone_id_for_tablet}\';            dataAdsvName = \'${adverticum_name_tablet}\';            if(dataAdsvName == \\"\\"){                dataAdsvName = \'${adverticum_name}\';            }            break;    }}if (zoneForDevice == \'\') {    insertedElement.parentNode.removeChild(insertedElement);} else {    insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);    insertedElement.id = \'zone\' + zoneForDevice;}</script>\"}]';
  this.positions_weighted['list-content020'] = false;
  
  this.positions['list-content030'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"width:100%;text-align: center;margin-top:15px;display:inline-block;border-bottom:1px solid #e4e4e4;\\"></div><script>var slotForDevice = \'\';var gadxErr = false;var dimensionForDevice = {    width: parseInt(750),    mobileWidth: parseInt(${google_ad_width_mobile}),    minWidth: parseInt(300),    height: parseInt(120),    mobileHeight: parseInt(${google_ad_height_mobile})};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            slotForDevice = \'8984994868\';            break;        case \'mobile\':            slotForDevice = \'${google_adx_slot_default_for_mobile}\';            dimensionForDevice.width = 300;            dimensionForDevice.minWidth = 300;            dimensionForDevice.height = 250;            if (!isNaN(dimensionForDevice.mobileWidth)) {                dimensionForDevice.width = dimensionForDevice.mobileWidth;            }            if (!isNaN(dimensionForDevice.mobileHeight)) {                dimensionForDevice.height = dimensionForDevice.mobileHeight;            }            break;        case \'tablet\':            if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                slotForDevice = \'${google_adx_slot_default_for_tablet}\';            } else {                slotForDevice = \'8984994868\';            }            break;    }}if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {    var advParts = {};    var gadxDiv = document.getElementById(\'ctsGadxTemp\');    advParts.initScript = document.createElement(\'script\');    advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';    advParts.initScript.async = \'true\';    advParts.body = document.createElement(\'ins\');    advParts.body.className = \'adsbygoogle\';    advParts.body.style.display = \'inline-block\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        if(!isNaN(dimensionForDevice.minWidth) && !isNaN(dimensionForDevice.width)){        advParts.body.style.maxWidth = dimensionForDevice.width + \'px\';        advParts.body.style.minWidth = dimensionForDevice.minWidth + \'px\';        advParts.body.style.width = \'100%\';    }else{        advParts.body.style.width = dimensionForDevice.width + \'px\';    }        advParts.body.setAttribute(\'data-ad-client\', \'ca-pub-8962558862962174\');    advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);    advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));    if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {        advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');    }    gadxDiv.appendChild(advParts.initScript);    gadxDiv.appendChild(advParts.body);    (adsbygoogle = window.adsbygoogle || []).push({});    gadxDiv.removeAttribute(\'id\');} else {    var adxElement = document.getElementById(\'ctsGadxTemp\');    adxElement.parentNode.removeChild(adxElement);}</script>\"}]';
  this.positions_weighted['list-content030'] = false;
  
  this.positions['list-content040'] = '[]';
  this.positions_weighted['list-content040'] = false;
  
  this.positions['list-content050'] = '[]';
  this.positions_weighted['list-content050'] = false;
  
  this.positions['list-content060'] = '[]';
  this.positions_weighted['list-content060'] = false;
  
  this.positions['list-content070'] = '[]';
  this.positions_weighted['list-content070'] = false;
  
  this.positions['list-content080'] = '[]';
  this.positions_weighted['list-content080'] = false;
  
  this.positions['content070'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'2457496\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'2457496\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['content070'] = false;
  
  this.positions['top'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" data-adsv-name=\\"\\"></div><script>var insertedElement = document.getElementById(\'ctstemp\');var zoneForDevice = \'\';var dataAdsvName = \'\';if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            zoneForDevice = \'1750444\';            dataAdsvName = \'top\';            break;        case \'mobile\':            zoneForDevice = \'3539239\';            dataAdsvName = \'mobil_waterfall1\';            break;        case \'tablet\':            zoneForDevice = \'1750444\';            dataAdsvName = \'${adverticum_name_tablet}\';            if(dataAdsvName == \\"\\"){                dataAdsvName = \'top\';            }            break;    }}if (zoneForDevice == \'\') {    insertedElement.parentNode.removeChild(insertedElement);} else {    insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);    insertedElement.id = \'zone\' + zoneForDevice;}</script>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\"     style=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;${custom_css}\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1385751,            height = 90,            width = 970,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = {attributes: true, childList: true, subtree: true};        var insertCriteoBanner = function () {            criteoEl.id += Math.floor(Math.random() * 1000000);            var observer = new MutationObserver(function (mutations) {                mutations.forEach(function () {                    criteoEl.style.width = width + \\"px\\";                    criteoEl.style.height = height + \\"px\\";                    criteoEl.style.marginTop = \\"10px\\";                    criteoEl.style.marginBottom = \\"10px\\";                    observer.disconnect();                });            });            observer.observe(criteoEl, mutationConf);            setTimeout(function(){ observer.disconnect(); }, mutationTimeout);            Criteo.events.push(function () {                Criteo.DisplayAcceptableAdIfAdblocked({                    \\"zoneid\\": zoneid,                    \\"containerid\\": criteoEl.id,                    \\"overrideZoneFloor\\": true                });            });        };        if (domReady != undefined && domReady != \'\' && domReady) {            if (typeof document.addEventListener !== \'undefined\') {                document.addEventListener(\\"DOMContentLoaded\\", insertCriteoBanner);            } else {                window.attachEvent(\\"onload\\", insertCriteoBanner);            }        } else {            insertCriteoBanner();        }    })();</script>\"}]';
  this.positions_weighted['top'] = false;
  
  this.positions['right010'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" data-adsv-name=\\"\\"></div><script>var insertedElement = document.getElementById(\'ctstemp\');var zoneForDevice = \'\';var dataAdsvName = \'\';if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            zoneForDevice = \'561\';            dataAdsvName = \'box1\';            break;        case \'mobile\':            zoneForDevice = \'${adv_zone_id_for_mobile}\';            dataAdsvName = \'${adverticum_name_mobile}\';            break;        case \'tablet\':            zoneForDevice = \'561\';            dataAdsvName = \'${adverticum_name_tablet}\';            if(dataAdsvName == \\"\\"){                dataAdsvName = \'box1\';            }            break;    }}if (zoneForDevice == \'\') {    insertedElement.parentNode.removeChild(insertedElement);} else {    insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);    insertedElement.id = \'zone\' + zoneForDevice;}</script>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\"     style=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;${custom_css}\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1385748,            height = 600,            width = 300,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = {attributes: true, childList: true, subtree: true};        var insertCriteoBanner = function () {            criteoEl.id += Math.floor(Math.random() * 1000000);            var observer = new MutationObserver(function (mutations) {                mutations.forEach(function () {                    criteoEl.style.width = width + \\"px\\";                    criteoEl.style.height = height + \\"px\\";                    criteoEl.style.marginTop = \\"10px\\";                    criteoEl.style.marginBottom = \\"10px\\";                    observer.disconnect();                });            });            observer.observe(criteoEl, mutationConf);            setTimeout(function(){ observer.disconnect(); }, mutationTimeout);            Criteo.events.push(function () {                Criteo.DisplayAcceptableAdIfAdblocked({                    \\"zoneid\\": zoneid,                    \\"containerid\\": criteoEl.id,                    \\"overrideZoneFloor\\": true                });            });        };        if (domReady != undefined && domReady != \'\' && domReady) {            if (typeof document.addEventListener !== \'undefined\') {                document.addEventListener(\\"DOMContentLoaded\\", insertCriteoBanner);            } else {                window.attachEvent(\\"onload\\", insertCriteoBanner);            }        } else {            insertCriteoBanner();        }    })();</script>\"}]';
  this.positions_weighted['right010'] = false;
  
  this.positions['top'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" data-adsv-name=\\"\\"></div><script>var insertedElement = document.getElementById(\'ctstemp\');var zoneForDevice = \'\';var dataAdsvName = \'\';if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            zoneForDevice = \'2252\';            dataAdsvName = \'top\';            break;        case \'mobile\':            zoneForDevice = \'3539239\';            dataAdsvName = \'${adverticum_name_mobile}\';            break;        case \'tablet\':            zoneForDevice = \'2252\';            dataAdsvName = \'${adverticum_name_tablet}\';            if(dataAdsvName == \\"\\"){                dataAdsvName = \'top\';            }            break;    }}if (zoneForDevice == \'\') {    insertedElement.parentNode.removeChild(insertedElement);} else {    insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);    insertedElement.id = \'zone\' + zoneForDevice;}</script>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\"     style=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;${custom_css}\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1385751,            height = 90,            width = 970,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = {attributes: true, childList: true, subtree: true};        var insertCriteoBanner = function () {            criteoEl.id += Math.floor(Math.random() * 1000000);            var observer = new MutationObserver(function (mutations) {                mutations.forEach(function () {                    criteoEl.style.width = width + \\"px\\";                    criteoEl.style.height = height + \\"px\\";                    criteoEl.style.marginTop = \\"10px\\";                    criteoEl.style.marginBottom = \\"10px\\";                    observer.disconnect();                });            });            observer.observe(criteoEl, mutationConf);            setTimeout(function(){ observer.disconnect(); }, mutationTimeout);            Criteo.events.push(function () {                Criteo.DisplayAcceptableAdIfAdblocked({                    \\"zoneid\\": zoneid,                    \\"containerid\\": criteoEl.id,                    \\"overrideZoneFloor\\": true                });            });        };        if (domReady != undefined && domReady != \'\' && domReady) {            if (typeof document.addEventListener !== \'undefined\') {                document.addEventListener(\\"DOMContentLoaded\\", insertCriteoBanner);            } else {                window.attachEvent(\\"onload\\", insertCriteoBanner);            }        } else {            insertCriteoBanner();        }    })();</script>\"}]';
  this.positions_weighted['top'] = false;
  
  this.positions['content010'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" data-adsv-name=\\"\\"></div><script>var insertedElement = document.getElementById(\'ctstemp\');var zoneForDevice = \'\';var dataAdsvName = \'\';if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            zoneForDevice = \'1993505\';            dataAdsvName = \'roadblock\';            break;        case \'mobile\':            zoneForDevice = \'60307\';            dataAdsvName = \'mobil_waterfall1\';            break;        case \'tablet\':            zoneForDevice = \'1993505\';            dataAdsvName = \'\';            if(dataAdsvName == \\"\\"){                dataAdsvName = \'roadblock\';            }            break;    }}if (zoneForDevice == \'\') {    insertedElement.parentNode.removeChild(insertedElement);} else {    insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);    insertedElement.id = \'zone\' + zoneForDevice;}</script>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\"     style=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;${custom_css}\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1168295,            height = 250,            width = 300,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = {attributes: true, childList: true, subtree: true};        var insertCriteoBanner = function () {            criteoEl.id += Math.floor(Math.random() * 1000000);            var observer = new MutationObserver(function (mutations) {                mutations.forEach(function () {                    criteoEl.style.width = width + \\"px\\";                    criteoEl.style.height = height + \\"px\\";                    criteoEl.style.marginTop = \\"10px\\";                    criteoEl.style.marginBottom = \\"10px\\";                    observer.disconnect();                });            });            observer.observe(criteoEl, mutationConf);            setTimeout(function(){ observer.disconnect(); }, mutationTimeout);            Criteo.events.push(function () {                Criteo.DisplayAcceptableAdIfAdblocked({                    \\"zoneid\\": zoneid,                    \\"containerid\\": criteoEl.id,                    \\"overrideZoneFloor\\": true                });            });        };        if (domReady != undefined && domReady != \'\' && domReady) {            if (typeof document.addEventListener !== \'undefined\') {                document.addEventListener(\\"DOMContentLoaded\\", insertCriteoBanner);            } else {                window.attachEvent(\\"onload\\", insertCriteoBanner);            }        } else {            insertCriteoBanner();        }    })();</script>\"}]';
  this.positions_weighted['content010'] = false;
  
  this.positions['body-end-adv'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'578\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'${adv_zone_id_for_tablet}\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['body-end-adv'] = false;
  
  this.positions['right040'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'1909225\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'1909225\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['right040'] = false;
  
  this.positions['content020'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'2941255\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'2941255\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['content020'] = false;
  
  this.positions['right050'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'1772922\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'1772922\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['right050'] = false;
  
  this.positions['right060'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'1697775\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'1697775\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['right060'] = false;
  
  this.positions['page-end'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\" charset=\\"utf-8\\" src=\\"//ad.adverticum.net/g3.js\\"></script><script type=\\"text/javascript\\" class=\\"goa-inserterScript\\">    goAdverticum3.loadZones([{id: 3413875}]);</script><script type=\\"text/javascript\\" class=\\"goa-inserterScript\\">    goAdverticum3.insertBanner(3413875);</script>\"}]';
  this.positions_weighted['page-end'] = false;
  
  this.positions['list-content010'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" data-adsv-name=\\"\\"></div><script>var insertedElement = document.getElementById(\'ctstemp\');var zoneForDevice = \'\';var dataAdsvName = \'\';if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            zoneForDevice = \'${adv_zone_id_for_desktop}\';            dataAdsvName = \'${adverticum_name}\';            break;        case \'mobile\':            zoneForDevice = \'60307\';            dataAdsvName = \'mobil_waterfall1\';            break;        case \'tablet\':            zoneForDevice = \'${adv_zone_id_for_tablet}\';            dataAdsvName = \'${adverticum_name_tablet}\';            if(dataAdsvName == \\"\\"){                dataAdsvName = \'${adverticum_name}\';            }            break;    }}if (zoneForDevice == \'\') {    insertedElement.parentNode.removeChild(insertedElement);} else {    insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);    insertedElement.id = \'zone\' + zoneForDevice;}</script>\"}]';
  this.positions_weighted['list-content010'] = false;
  
  this.positions['list-content030'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" data-adsv-name=\\"\\"></div><script>var insertedElement = document.getElementById(\'ctstemp\');var zoneForDevice = \'\';var dataAdsvName = \'\';if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            zoneForDevice = \'${adv_zone_id_for_desktop}\';            dataAdsvName = \'${adverticum_name}\';            break;        case \'mobile\':            zoneForDevice = \'1728233\';            dataAdsvName = \'mobil_waterfall2\';            break;        case \'tablet\':            zoneForDevice = \'${adv_zone_id_for_tablet}\';            dataAdsvName = \'${adverticum_name_tablet}\';            if(dataAdsvName == \\"\\"){                dataAdsvName = \'${adverticum_name}\';            }            break;    }}if (zoneForDevice == \'\') {    insertedElement.parentNode.removeChild(insertedElement);} else {    insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);    insertedElement.id = \'zone\' + zoneForDevice;}</script>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"width:100%;text-align: center;margin-top:15px;display:inline-block;border-bottom:1px solid #e4e4e4;\\"></div><script>var slotForDevice = \'\';var gadxErr = false;var dimensionForDevice = {    width: parseInt(750),    mobileWidth: parseInt(${google_ad_width_mobile}),    minWidth: parseInt(300),    height: parseInt(200),    mobileHeight: parseInt(${google_ad_height_mobile})};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            slotForDevice = \'3457361662\';            break;        case \'mobile\':            slotForDevice = \'${google_adx_slot_default_for_mobile}\';            dimensionForDevice.width = 300;            dimensionForDevice.minWidth = 300;            dimensionForDevice.height = 250;            if (!isNaN(dimensionForDevice.mobileWidth)) {                dimensionForDevice.width = dimensionForDevice.mobileWidth;            }            if (!isNaN(dimensionForDevice.mobileHeight)) {                dimensionForDevice.height = dimensionForDevice.mobileHeight;            }            break;        case \'tablet\':            if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                slotForDevice = \'${google_adx_slot_default_for_tablet}\';            } else {                slotForDevice = \'3457361662\';            }            break;    }}if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {    var advParts = {};    var gadxDiv = document.getElementById(\'ctsGadxTemp\');    advParts.initScript = document.createElement(\'script\');    advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';    advParts.initScript.async = \'true\';    advParts.body = document.createElement(\'ins\');    advParts.body.className = \'adsbygoogle\';    advParts.body.style.display = \'inline-block\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        if(!isNaN(dimensionForDevice.minWidth) && !isNaN(dimensionForDevice.width)){        advParts.body.style.maxWidth = dimensionForDevice.width + \'px\';        advParts.body.style.minWidth = dimensionForDevice.minWidth + \'px\';        advParts.body.style.width = \'100%\';    }else{        advParts.body.style.width = dimensionForDevice.width + \'px\';    }        advParts.body.setAttribute(\'data-ad-client\', \'ca-pub-8962558862962174\');    advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);    advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));    if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {        advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');    }    gadxDiv.appendChild(advParts.initScript);    gadxDiv.appendChild(advParts.body);    (adsbygoogle = window.adsbygoogle || []).push({});    gadxDiv.removeAttribute(\'id\');} else {    var adxElement = document.getElementById(\'ctsGadxTemp\');    adxElement.parentNode.removeChild(adxElement);}</script>\"}]';
  this.positions_weighted['list-content030'] = false;
  
  this.positions['content030'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"a8a263be\\" data-adsv-name=\\"\\"></div><script>var _cllq = _cllq || [];var _cLazyAd = {    \'placeholder\': document.getElementById(\'ctstemp\'),    \'zoneForDevice\': \'\',    \'dataAdsvName\': \'\'};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            _cLazyAd.zoneForDevice = \'5795560\';            _cLazyAd.dataAdsvName = \'${adverticum_name}\';            break;        case \'mobile\':            _cLazyAd.zoneForDevice = \'1728233\';            _cLazyAd.dataAdsvName = \'mobil_waterfall2\';            break;        case \'tablet\':            _cLazyAd.zoneForDevice = \'${adv_zone_id_for_tablet}\';            _cLazyAd.dataAdsvName = ( \'${adverticum_name_tablet}\' != \'\' ? \'${adverticum_name_tablet}\' : \'${adverticum_name}\');            break;    }}if (_cLazyAd.zoneForDevice == \'\') {    _cLazyAd.placeholder.parentNode.removeChild(_cLazyAd.placeholder);} else {    _cllq.push(_cLazyAd.zoneForDevice);    _cLazyAd.placeholder.setAttribute(\'data-adsv-name\', _cLazyAd.dataAdsvName);    _cLazyAd.placeholder.id = \'lazy\' + _cLazyAd.zoneForDevice;}_cLazyAd = undefined;</script>\"}]';
  this.positions_weighted['content030'] = false;
  
  this.positions['content040'] = '[{\"service_name\": \"Sanoma/Hir24\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\">        var ADXBannerWidthDefault = 640,        pageType = typeof ctsPageType !== \'undefined\' ? ctsPageType : \'notSet\';            switch (pageType) {        case \'category\':            ADXBannerWidth = jQuery(\'div#page\').find(\'div#content\').find(\'div.category-component-box.hir24-rovat.list-category\').css(\'width\');            break;        case \'other\':            if (location.pathname.indexOf(\'/tag/\') != -1){                ADXBannerWidth = jQuery(\'div#page\').find(\'div#content\').find(\'div.hir24-rovat.list-category > div.row > div.article.col-sm-8\').css(\'width\'); }            break;        case \'tag\':            ADXBannerWidth = jQuery(\'div#page\').find(\'div#content\').find(\'div.hir24-rovat.list-category > div.row > div.article.col-sm-8\').css(\'width\');            break;        case \'article\':            ADXBannerWidth = jQuery(\'div#page\').find(\'div#content\').find(\'div.col-md-8.hir24-post\').css(\'width\');            break;        default:            ADXBannerWidth = ADXBannerWidthDefault;    }    ADXBannerWidth = parseInt(ADXBannerWidth);    if (window.innerWidth < 670) ADXBannerWidth-=15;    if (isNaN(ADXBannerWidth) || ADXBannerWidth <= 0 || ADXBannerWidthDefault < ADXBannerWidth){        ADXBannerWidth = ADXBannerWidthDefault;    }</script>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"display:table;margin:0 auto;\\"></div><script type=\\"text/javascript\\">    var slotForDevice = \'\';    var gadxErr = false;    var dimensionForDevice = {        width: parseInt(750),        height: parseInt(200)    };    if (typeof ADXBannerWidth !== \'undefined\') {        dimensionForDevice.width = ADXBannerWidth;    }    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {            case \'desktop\':                slotForDevice = \'${google_adx_slot_default_for_desktop}\';                break;            case \'mobile\':                slotForDevice = \'3455364865\';                dimensionForDevice.width = 300;                dimensionForDevice.height = 250;                break;            case \'tablet\':                if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                    slotForDevice = \'${google_adx_slot_default_for_tablet}\';                } else {                    slotForDevice = \'${google_adx_slot_default_for_desktop}\';                }                break;        }    }    if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {        var advParts = {};        var gadxDiv = document.getElementById(\'ctsGadxTemp\');        advParts.initScript = document.createElement(\'script\');        advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';        advParts.initScript.async = \'true\';        advParts.body = document.createElement(\'ins\');        advParts.body.className = \'adsbygoogle\';        advParts.body.style.display = \'table\';        advParts.body.style.margin = \'0 auto\';        advParts.body.style.width = dimensionForDevice.width + \'px\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        advParts.body.setAttribute(\'data-ad-client\',\'ca-pub-8962558862962174\');        advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);        advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));        if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {            advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');        }        gadxDiv.appendChild(advParts.initScript);        gadxDiv.appendChild(advParts.body);        (adsbygoogle = window.adsbygoogle || []).push({});        gadxDiv.removeAttribute(\'id\');    } else {        var adxElement = document.getElementById(\'ctsGadxTemp\');        adxElement.parentNode.removeChild(adxElement);    }</script>\"}, {\"service_name\": \"Rubicon\", \"weight\": null, \"source\": \"<div id=\\"RubiconAdTemp\\" class=\\"rubAd\\" style=\\"width: 100%;text-align: center;display: table; margin: 0 auto; width: auto;\\"><script language=\\"JavaScript\\" type=\\"text/javascript\\">        var rubiconZoneSize = \'\';        var rubiconSite = \'163254\';        var rubiconSiteMobile = \'81606\';        var rubiconAdType = \'${rubicon_ad_type}\';        var tplElement = document.getElementById(\\"RubiconAdTemp\\");        var advParts = {};        var insertedGoogle = false;        if(rubiconAdType == \'\'){            rubiconAdType = \'js\';        }        if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {            switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    rubiconZoneSize = \'783118-198\';                    break;                case \'mobile\':                    rubiconZoneSize = \'${rubicon_ad_zone_mobile}\';                    rubiconZoneSize = rubiconZoneSize.split(\'-\')[0]+\'-15\';                    break;                case \'tablet\':                    rubiconZoneSize = \'${rubicon_ad_zone_tablet}\';                    if(rubiconZoneSize == \'\'){                        rubiconZoneSize = \'783118-198\';                    }                    break;            }            if(_ceDeviceDetect.getDeviceType() != \'desktop\' && rubiconSiteMobile != undefined && rubiconSiteMobile != \'\' && rubiconSiteMobile != \'undefined\'){                rubiconSite = rubiconSiteMobile;            }            if(navigator.userAgent.toLowerCase().indexOf(\\"ipad\\") !== -1 && navigator.userAgent.toLowerCase().indexOf(\\"iphone\\") === -1){                insertedGoogle = true;                advParts.initScript = document.createElement(\'script\');                advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';                advParts.initScript.async = \'true\';                advParts.body = document.createElement(\'ins\');                advParts.body.className = \'adsbygoogle\';                advParts.body.style = \\"display:inline-block;min-width:320px;max-width:1200px;width:100%;height:200px\\";                advParts.body.setAttribute(\'data-ad-client\',\'ca-pub-8962558862962174\');                advParts.body.setAttribute(\'data-ad-slot\', \'5920657040\');                tplElement.appendChild(advParts.initScript);                tplElement.appendChild(advParts.body);                (adsbygoogle = window.adsbygoogle || []).push({});                tplElement.removeAttribute(\'id\');            }        }        if(!insertedGoogle){            if ((typeof noRUBICON == \'undefined\' || noRUBICON === false) && rubiconZoneSize.split(\'-\')[0] != \'\') {                rp_account   = \'13818\';                rp_site      = rubiconSite;                rp_zonesize  = rubiconZoneSize;                rp_adtype    = rubiconAdType;                tplElement.removeAttribute(\'id\');            }else{                tplElement.remove();            }        }    </script><script type=\\"text/javascript\\" src=\\"//ads.rubiconproject.com/ad/13818.js\\"></script></div>\"}]';
  this.positions_weighted['content040'] = false;
  
  this.positions['toothbrush-head'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'1835007\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'${adv_zone_id_for_tablet}\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['toothbrush-head'] = false;
  
  this.positions['toothbrush-handle'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'1835013\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'${adv_zone_id_for_tablet}\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['toothbrush-handle'] = false;
  
  this.positions['unique-box-1'] = '[{\"service_name\": \"Sanoma/Hir24\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\">jQuery( document ).ready(function( $ ) {    $(\'#horizontal-tag-widget_unique-box-1\').css(\'background\', \'transparent url(\\"//24.p3k.hu/app/uploads/horizontal_tag_widget/muv_volgye_background.png\\") no-repeat top center\');    $(\'#horizontal-tag-widget_unique-box-1\').css(\'padding-top\', \'92px\').css(\'margin-bottom\', \'15px\');});</script>\"}]';
  this.positions_weighted['unique-box-1'] = false;
  
  this.positions['unique-box-2'] = '[{\"service_name\": \"Sanoma/Hir24\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\">jQuery( document ).ready(function( $ ) {    $(\'#horizontal-tag-widget_unique-box-2\').css(\'background\', \'transparent url(\\"//24.p3k.hu/app/uploads/horizontal_tag_widget/everness_background.jpg\\") no-repeat top center\');    $(\'#horizontal-tag-widget_unique-box-2\').css(\'padding-top\', \'50px\').css(\'margin-bottom\', \'15px\');});</script>\"}]';
  this.positions_weighted['unique-box-2'] = false;
  
  this.positions['unique-box-3'] = '[{\"service_name\": \"Sanoma/Hir24\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\">jQuery( document ).ready(function( $ ) {    $(\'#horizontal-tag-widget_unique-box-3\').css(\'background\', \'transparent url(\\"//24.p3k.hu/app/uploads/horizontal_tag_widget/tudta-background.png\\") no-repeat top center\');    $(\'#horizontal-tag-widget_unique-box-3\').css(\'padding-top\', \'80px\').css(\'margin-bottom\', \'15px\');});</script>\"}]';
  this.positions_weighted['unique-box-3'] = false;
  
  this.positions['page-end'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\" charset=\\"utf-8\\" src=\\"//ad.adverticum.net/g3.js\\"></script><script type=\\"text/javascript\\" class=\\"goa-inserterScript\\">    goAdverticum3.loadZones([{id: 3413875}]);</script><script type=\\"text/javascript\\" class=\\"goa-inserterScript\\">    goAdverticum3.insertBanner(3413875);</script>\"}]';
  this.positions_weighted['page-end'] = false;
  
  this.positions['right-bottom'] = '[{\"service_name\": \"Rubicon\", \"weight\": 100, \"source\": \"<div id=\\"RubiconAdTemp\\" class=\\"rubAd\\" style=\\"width: 100%;text-align: center;${custom_css}\\"><script language=\\"JavaScript\\" type=\\"text/javascript\\">        var rubiconZoneSize = \'\';        var rubiconSite = \'163254\';        var rubiconSiteMobile = \'81606\';        var rubiconAdType = \'${rubicon_ad_type}\';        var tplElement = document.getElementById(\\"RubiconAdTemp\\");        var advParts = {};        var insertedGoogle = false;        if(rubiconAdType == \'\'){            rubiconAdType = \'js\';        }        if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {            switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    rubiconZoneSize = \'645752-10\';                    break;                case \'mobile\':                    rubiconZoneSize = \'${rubicon_ad_zone_mobile}\';                    rubiconZoneSize = rubiconZoneSize.split(\'-\')[0]+\'-15\';                    break;                case \'tablet\':                    rubiconZoneSize = \'${rubicon_ad_zone_tablet}\';                    if(rubiconZoneSize == \'\'){                        rubiconZoneSize = \'645752-10\';                    }                    break;            }            if(_ceDeviceDetect.getDeviceType() != \'desktop\' && rubiconSiteMobile != undefined && rubiconSiteMobile != \'\' && rubiconSiteMobile != \'undefined\'){                rubiconSite = rubiconSiteMobile;            }            if(navigator.userAgent.toLowerCase().indexOf(\\"ipad\\") !== -1 && navigator.userAgent.toLowerCase().indexOf(\\"iphone\\") === -1){                insertedGoogle = true;                advParts.initScript = document.createElement(\'script\');                advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';                advParts.initScript.async = \'true\';                advParts.body = document.createElement(\'ins\');                advParts.body.className = \'adsbygoogle\';                advParts.body.style = \\"display:inline-block;min-width:320px;max-width:1200px;width:100%;height:200px\\";                advParts.body.setAttribute(\'data-ad-client\',\'ca-pub-8962558862962174\');                advParts.body.setAttribute(\'data-ad-slot\', \'5920657040\');                tplElement.appendChild(advParts.initScript);                tplElement.appendChild(advParts.body);                (adsbygoogle = window.adsbygoogle || []).push({});                tplElement.removeAttribute(\'id\');            }        }        if(!insertedGoogle){            if ((typeof noRUBICON == \'undefined\' || noRUBICON === false) && rubiconZoneSize.split(\'-\')[0] != \'\') {                rp_account   = \'13818\';                rp_site      = rubiconSite;                rp_zonesize  = rubiconZoneSize;                rp_adtype    = rubiconAdType;                tplElement.removeAttribute(\'id\');            }else{                tplElement.remove();            }        }    </script><script type=\\"text/javascript\\" src=\\"//ads.rubiconproject.com/ad/13818.js\\"></script></div>\"}, {\"service_name\": \"Google Adverts\", \"weight\": 0, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"width:100%;text-align: center;margin-top:15px;display:inline-block;${custom_css}\\"></div><script>var slotForDevice = \'\';var gadxErr = false;var dimensionForDevice = {    width: parseInt(400),    mobileWidth: parseInt(${google_ad_width_mobile}),    minWidth: parseInt(300),    height: parseInt(250),    mobileHeight: parseInt(${google_ad_height_mobile})};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            slotForDevice = \'4812147263\';            break;        case \'mobile\':            slotForDevice = \'${google_adx_slot_default_for_mobile}\';            dimensionForDevice.width = 300;            dimensionForDevice.minWidth = 300;            dimensionForDevice.height = 250;            if (!isNaN(dimensionForDevice.mobileWidth)) {                dimensionForDevice.width = dimensionForDevice.mobileWidth;            }            if (!isNaN(dimensionForDevice.mobileHeight)) {                dimensionForDevice.height = dimensionForDevice.mobileHeight;            }            break;        case \'tablet\':            if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                slotForDevice = \'${google_adx_slot_default_for_tablet}\';            } else {                slotForDevice = \'4812147263\';            }            break;    }}if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {    var advParts = {};    var gadxDiv = document.getElementById(\'ctsGadxTemp\');    advParts.initScript = document.createElement(\'script\');    advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';    advParts.initScript.async = \'true\';    advParts.body = document.createElement(\'ins\');    advParts.body.className = \'adsbygoogle\';    advParts.body.style.display = \'inline-block\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        if(!isNaN(dimensionForDevice.minWidth) && !isNaN(dimensionForDevice.width)){        advParts.body.style.maxWidth = dimensionForDevice.width + \'px\';        advParts.body.style.minWidth = dimensionForDevice.minWidth + \'px\';        advParts.body.style.width = \'100%\';    }else{        advParts.body.style.width = dimensionForDevice.width + \'px\';    }        advParts.body.setAttribute(\'data-ad-client\', \'ca-pub-8962558862962174\');    advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);    advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));    if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {        advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');    }    gadxDiv.appendChild(advParts.initScript);    gadxDiv.appendChild(advParts.body);    (adsbygoogle = window.adsbygoogle || []).push({});    gadxDiv.removeAttribute(\'id\');} else {    var adxElement = document.getElementById(\'ctsGadxTemp\');    adxElement.parentNode.removeChild(adxElement);}</script>\"}]';
  this.positions_weighted['right-bottom'] = true;
  
  this.positions['article010'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"a8a263be\\" data-adsv-name=\\"\\"></div><script>var _cllq = _cllq || [];var _cLazyAd = {    \'placeholder\': document.getElementById(\'ctstemp\'),    \'zoneForDevice\': \'\',    \'dataAdsvName\': \'\'};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            _cLazyAd.zoneForDevice = \'4095098\';            _cLazyAd.dataAdsvName = \'roadblock1\';            break;        case \'mobile\':            _cLazyAd.zoneForDevice = \'4206794\';            _cLazyAd.dataAdsvName = \'mobil_waterfall3\';            break;        case \'tablet\':            _cLazyAd.zoneForDevice = \'${adv_zone_id_for_tablet}\';            _cLazyAd.dataAdsvName = ( \'${adverticum_name_tablet}\' != \'\' ? \'${adverticum_name_tablet}\' : \'roadblock1\');            break;    }}if (_cLazyAd.zoneForDevice == \'\') {    _cLazyAd.placeholder.parentNode.removeChild(_cLazyAd.placeholder);} else {    _cllq.push(_cLazyAd.zoneForDevice);    _cLazyAd.placeholder.setAttribute(\'data-adsv-name\', _cLazyAd.dataAdsvName);    _cLazyAd.placeholder.id = \'lazy\' + _cLazyAd.zoneForDevice;}_cLazyAd = undefined;</script>\"}]';
  this.positions_weighted['article010'] = false;
  
  this.positions['article020'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"a8a263be\\" data-adsv-name=\\"\\"></div><script>var _cllq = _cllq || [];var _cLazyAd = {    \'placeholder\': document.getElementById(\'ctstemp\'),    \'zoneForDevice\': \'\',    \'dataAdsvName\': \'\'};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            _cLazyAd.zoneForDevice = \'4107157\';            _cLazyAd.dataAdsvName = \'roadblock2\';            break;        case \'mobile\':            _cLazyAd.zoneForDevice = \'4206814\';            _cLazyAd.dataAdsvName = \'mobil_waterfall4\';            break;        case \'tablet\':            _cLazyAd.zoneForDevice = \'${adv_zone_id_for_tablet}\';            _cLazyAd.dataAdsvName = ( \'${adverticum_name_tablet}\' != \'\' ? \'${adverticum_name_tablet}\' : \'roadblock2\');            break;    }}if (_cLazyAd.zoneForDevice == \'\') {    _cLazyAd.placeholder.parentNode.removeChild(_cLazyAd.placeholder);} else {    _cllq.push(_cLazyAd.zoneForDevice);    _cLazyAd.placeholder.setAttribute(\'data-adsv-name\', _cLazyAd.dataAdsvName);    _cLazyAd.placeholder.id = \'lazy\' + _cLazyAd.zoneForDevice;}_cLazyAd = undefined;</script>\"}]';
  this.positions_weighted['article020'] = false;
  
  this.positions['article030'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"a8a263be\\" data-adsv-name=\\"\\"></div><script>var _cllq = _cllq || [];var _cLazyAd = {    \'placeholder\': document.getElementById(\'ctstemp\'),    \'zoneForDevice\': \'\',    \'dataAdsvName\': \'\'};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            _cLazyAd.zoneForDevice = \'4107158\';            _cLazyAd.dataAdsvName = \'roadblock3\';            break;        case \'mobile\':            _cLazyAd.zoneForDevice = \'4206815\';            _cLazyAd.dataAdsvName = \'mobil_waterfall5\';            break;        case \'tablet\':            _cLazyAd.zoneForDevice = \'${adv_zone_id_for_tablet}\';            _cLazyAd.dataAdsvName = ( \'${adverticum_name_tablet}\' != \'\' ? \'${adverticum_name_tablet}\' : \'roadblock3\');            break;    }}if (_cLazyAd.zoneForDevice == \'\') {    _cLazyAd.placeholder.parentNode.removeChild(_cLazyAd.placeholder);} else {    _cllq.push(_cLazyAd.zoneForDevice);    _cLazyAd.placeholder.setAttribute(\'data-adsv-name\', _cLazyAd.dataAdsvName);    _cLazyAd.placeholder.id = \'lazy\' + _cLazyAd.zoneForDevice;}_cLazyAd = undefined;</script>\"}]';
  this.positions_weighted['article030'] = false;
  
  this.positions['article040'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"a8a263be\\" data-adsv-name=\\"\\"></div><script>var _cllq = _cllq || [];var _cLazyAd = {    \'placeholder\': document.getElementById(\'ctstemp\'),    \'zoneForDevice\': \'\',    \'dataAdsvName\': \'\'};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            _cLazyAd.zoneForDevice = \'4107159\';            _cLazyAd.dataAdsvName = \'roadblock4\';            break;        case \'mobile\':            _cLazyAd.zoneForDevice = \'4206851\';            _cLazyAd.dataAdsvName = \'mobil_waterfall6\';            break;        case \'tablet\':            _cLazyAd.zoneForDevice = \'${adv_zone_id_for_tablet}\';            _cLazyAd.dataAdsvName = ( \'${adverticum_name_tablet}\' != \'\' ? \'${adverticum_name_tablet}\' : \'roadblock4\');            break;    }}if (_cLazyAd.zoneForDevice == \'\') {    _cLazyAd.placeholder.parentNode.removeChild(_cLazyAd.placeholder);} else {    _cllq.push(_cLazyAd.zoneForDevice);    _cLazyAd.placeholder.setAttribute(\'data-adsv-name\', _cLazyAd.dataAdsvName);    _cLazyAd.placeholder.id = \'lazy\' + _cLazyAd.zoneForDevice;}_cLazyAd = undefined;</script>\"}]';
  this.positions_weighted['article040'] = false;
  
  this.positions['article050'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"a8a263be\\" data-adsv-name=\\"\\"></div><script>var _cllq = _cllq || [];var _cLazyAd = {    \'placeholder\': document.getElementById(\'ctstemp\'),    \'zoneForDevice\': \'\',    \'dataAdsvName\': \'\'};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            _cLazyAd.zoneForDevice = \'4107160\';            _cLazyAd.dataAdsvName = \'roadblock5\';            break;        case \'mobile\':            _cLazyAd.zoneForDevice = \'4206852\';            _cLazyAd.dataAdsvName = \'mobil_waterfall7\';            break;        case \'tablet\':            _cLazyAd.zoneForDevice = \'${adv_zone_id_for_tablet}\';            _cLazyAd.dataAdsvName = ( \'${adverticum_name_tablet}\' != \'\' ? \'${adverticum_name_tablet}\' : \'roadblock5\');            break;    }}if (_cLazyAd.zoneForDevice == \'\') {    _cLazyAd.placeholder.parentNode.removeChild(_cLazyAd.placeholder);} else {    _cllq.push(_cLazyAd.zoneForDevice);    _cLazyAd.placeholder.setAttribute(\'data-adsv-name\', _cLazyAd.dataAdsvName);    _cLazyAd.placeholder.id = \'lazy\' + _cLazyAd.zoneForDevice;}_cLazyAd = undefined;</script>\"}]';
  this.positions_weighted['article050'] = false;
  
  this.positions['right020'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'5393238\';                    break;                case \'mobile\':                    zoneForDevice = \'5393238\';                    break;                case \'tablet\':                    zoneForDevice = \'${adv_zone_id_for_tablet}\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}, {\"service_name\": \"Strossle\", \"weight\": null, \"source\": \"<div id=\\"strossle-widget-widget-5a253d6e9f91b\\" class=\\"wpb_widget _ce_measure_widget\\" data-ce-measure-widget=\\"Strossle\\"></div><script type=\\"text/javascript\\">var strossle_element = document.getElementById(\\"strossle-widget-widget-5a253d6e9f91b\\");var strossle_exceptions = \'${strossle_widget_exceptions}\';strossle_exceptions = strossle_exceptions.replace(\\" \\", \\"\\");strossle_exceptions = strossle_exceptions.split(\\",\\");var strossle_enabled = true;if(strossle_exceptions != \\"\\") {    for (var i = 0; i < strossle_exceptions.length; i++) {        if (window.location.search.indexOf(strossle_exceptions[i]) != -1) {            strossle_enabled = false;            strossle_element.remove();        }    }}if(strossle_enabled && (typeof localStorage.A42A6Cblck != \'undefined\' && JSON.parse(localStorage.A42A6Cblck).bl == 1)){    strossle_element.setAttribute(\\"data-spklw-widget\\", \\"widget-5a253d6e9f91b\\");    strossle_element.setAttribute(\\"style\\", \\"${strossle_style}\\");}else{    strossle_element.remove();}</script>\"}]';
  this.positions_weighted['right020'] = false;
  
  this.positions['content060'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'4418034\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'4418034\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"width:100%;text-align: center;margin-top:15px;display:inline-block;${custom_css}\\"></div><script>var slotForDevice = \'\';var gadxErr = false;var dimensionForDevice = {    width: parseInt(750),    mobileWidth: parseInt(360),    minWidth: parseInt(300),    height: parseInt(200),    mobileHeight: parseInt(266)};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            slotForDevice = \'${google_adx_slot_default_for_desktop}\';            break;        case \'mobile\':            slotForDevice = \'2595600414\';            dimensionForDevice.width = 300;            dimensionForDevice.minWidth = 300;            dimensionForDevice.height = 250;            if (!isNaN(dimensionForDevice.mobileWidth)) {                dimensionForDevice.width = dimensionForDevice.mobileWidth;            }            if (!isNaN(dimensionForDevice.mobileHeight)) {                dimensionForDevice.height = dimensionForDevice.mobileHeight;            }            break;        case \'tablet\':            if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                slotForDevice = \'${google_adx_slot_default_for_tablet}\';            } else {                slotForDevice = \'${google_adx_slot_default_for_desktop}\';            }            break;    }}if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {    var advParts = {};    var gadxDiv = document.getElementById(\'ctsGadxTemp\');    advParts.initScript = document.createElement(\'script\');    advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';    advParts.initScript.async = \'true\';    advParts.body = document.createElement(\'ins\');    advParts.body.className = \'adsbygoogle\';    advParts.body.style.display = \'inline-block\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        if(!isNaN(dimensionForDevice.minWidth) && !isNaN(dimensionForDevice.width)){        advParts.body.style.maxWidth = dimensionForDevice.width + \'px\';        advParts.body.style.minWidth = dimensionForDevice.minWidth + \'px\';        advParts.body.style.width = \'100%\';    }else{        advParts.body.style.width = dimensionForDevice.width + \'px\';    }        advParts.body.setAttribute(\'data-ad-client\', \'ca-pub-8962558862962174\');    advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);    advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));    if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {        advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');    }    gadxDiv.appendChild(advParts.initScript);    gadxDiv.appendChild(advParts.body);    (adsbygoogle = window.adsbygoogle || []).push({});    gadxDiv.removeAttribute(\'id\');} else {    var adxElement = document.getElementById(\'ctsGadxTemp\');    adxElement.parentNode.removeChild(adxElement);}</script>\"}]';
  this.positions_weighted['content060'] = false;
  
  this.positions['right-bottom'] = '[{\"service_name\": \"Rubicon\", \"weight\": null, \"source\": \"<div id=\\"RubiconAdTemp\\" class=\\"rubAd\\" style=\\"width: 100%;text-align: center;${custom_css}\\"><script language=\\"JavaScript\\" type=\\"text/javascript\\">        var rubiconZoneSize = \'\';        var rubiconSite = \'163254\';        var rubiconSiteMobile = \'81606\';        var rubiconAdType = \'${rubicon_ad_type}\';        var tplElement = document.getElementById(\\"RubiconAdTemp\\");        var advParts = {};        var insertedGoogle = false;        if(rubiconAdType == \'\'){            rubiconAdType = \'js\';        }        if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {            switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    rubiconZoneSize = \'783114-10\';                    break;                case \'mobile\':                    rubiconZoneSize = \'${rubicon_ad_zone_mobile}\';                    rubiconZoneSize = rubiconZoneSize.split(\'-\')[0]+\'-15\';                    break;                case \'tablet\':                    rubiconZoneSize = \'${rubicon_ad_zone_tablet}\';                    if(rubiconZoneSize == \'\'){                        rubiconZoneSize = \'783114-10\';                    }                    break;            }            if(_ceDeviceDetect.getDeviceType() != \'desktop\' && rubiconSiteMobile != undefined && rubiconSiteMobile != \'\' && rubiconSiteMobile != \'undefined\'){                rubiconSite = rubiconSiteMobile;            }            if(navigator.userAgent.toLowerCase().indexOf(\\"ipad\\") !== -1 && navigator.userAgent.toLowerCase().indexOf(\\"iphone\\") === -1){                insertedGoogle = true;                advParts.initScript = document.createElement(\'script\');                advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';                advParts.initScript.async = \'true\';                advParts.body = document.createElement(\'ins\');                advParts.body.className = \'adsbygoogle\';                advParts.body.style = \\"display:inline-block;min-width:320px;max-width:1200px;width:100%;height:200px\\";                advParts.body.setAttribute(\'data-ad-client\',\'ca-pub-8962558862962174\');                advParts.body.setAttribute(\'data-ad-slot\', \'5920657040\');                tplElement.appendChild(advParts.initScript);                tplElement.appendChild(advParts.body);                (adsbygoogle = window.adsbygoogle || []).push({});                tplElement.removeAttribute(\'id\');            }        }        if(!insertedGoogle){            if ((typeof noRUBICON == \'undefined\' || noRUBICON === false) && rubiconZoneSize.split(\'-\')[0] != \'\') {                rp_account   = \'13818\';                rp_site      = rubiconSite;                rp_zonesize  = rubiconZoneSize;                rp_adtype    = rubiconAdType;                tplElement.removeAttribute(\'id\');            }else{                tplElement.remove();            }        }    </script><script type=\\"text/javascript\\" src=\\"//ads.rubiconproject.com/ad/13818.js\\"></script></div>\"}]';
  this.positions_weighted['right-bottom'] = false;
  
  this.positions['list-content020'] = '[{\"service_name\": \"Sanoma/Hir24\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\">        var ADXBannerWidthDefault = 640,        pageType = typeof ctsPageType !== \'undefined\' ? ctsPageType : \'notSet\';            switch (pageType) {        case \'category\':            ADXBannerWidth = jQuery(\'div#page\').find(\'div#content\').find(\'div.category-component-box.hir24-rovat.list-category\').css(\'width\');            break;        case \'other\':            if (location.pathname.indexOf(\'/tag/\') != -1){                ADXBannerWidth = jQuery(\'div#page\').find(\'div#content\').find(\'div.hir24-rovat.list-category > div.row > div.article.col-sm-8\').css(\'width\'); }            break;        case \'tag\':            ADXBannerWidth = jQuery(\'div#page\').find(\'div#content\').find(\'div.hir24-rovat.list-category > div.row > div.article.col-sm-8\').css(\'width\');            break;        case \'article\':            ADXBannerWidth = jQuery(\'div#page\').find(\'div#content\').find(\'div.col-md-8.hir24-post\').css(\'width\');            break;        default:            ADXBannerWidth = ADXBannerWidthDefault;    }    ADXBannerWidth = parseInt(ADXBannerWidth);    if (window.innerWidth < 670) ADXBannerWidth-=15;    if (isNaN(ADXBannerWidth) || ADXBannerWidth <= 0 || ADXBannerWidthDefault < ADXBannerWidth){        ADXBannerWidth = ADXBannerWidthDefault;    }</script>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"width:100%;text-align: center;margin-top:15px;display:inline-block;border-bottom:1px solid #e4e4e4;\\"></div><script>var slotForDevice = \'\';var gadxErr = false;var dimensionForDevice = {    width: parseInt(750),    mobileWidth: parseInt(${google_ad_width_mobile}),    minWidth: parseInt(300),    height: parseInt(200),    mobileHeight: parseInt(${google_ad_height_mobile})};if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            slotForDevice = \'1481100861\';            break;        case \'mobile\':            slotForDevice = \'${google_adx_slot_default_for_mobile}\';            dimensionForDevice.width = 300;            dimensionForDevice.minWidth = 300;            dimensionForDevice.height = 250;            if (!isNaN(dimensionForDevice.mobileWidth)) {                dimensionForDevice.width = dimensionForDevice.mobileWidth;            }            if (!isNaN(dimensionForDevice.mobileHeight)) {                dimensionForDevice.height = dimensionForDevice.mobileHeight;            }            break;        case \'tablet\':            if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                slotForDevice = \'${google_adx_slot_default_for_tablet}\';            } else {                slotForDevice = \'1481100861\';            }            break;    }}if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {    var advParts = {};    var gadxDiv = document.getElementById(\'ctsGadxTemp\');    advParts.initScript = document.createElement(\'script\');    advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';    advParts.initScript.async = \'true\';    advParts.body = document.createElement(\'ins\');    advParts.body.className = \'adsbygoogle\';    advParts.body.style.display = \'inline-block\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        if(!isNaN(dimensionForDevice.minWidth) && !isNaN(dimensionForDevice.width)){        advParts.body.style.maxWidth = dimensionForDevice.width + \'px\';        advParts.body.style.minWidth = dimensionForDevice.minWidth + \'px\';        advParts.body.style.width = \'100%\';    }else{        advParts.body.style.width = dimensionForDevice.width + \'px\';    }        advParts.body.setAttribute(\'data-ad-client\', \'ca-pub-8962558862962174\');    advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);    advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));    if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {        advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');    }    gadxDiv.appendChild(advParts.initScript);    gadxDiv.appendChild(advParts.body);    (adsbygoogle = window.adsbygoogle || []).push({});    gadxDiv.removeAttribute(\'id\');} else {    var adxElement = document.getElementById(\'ctsGadxTemp\');    adxElement.parentNode.removeChild(adxElement);}</script>\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" data-adsv-name=\\"\\"></div><script>var insertedElement = document.getElementById(\'ctstemp\');var zoneForDevice = \'\';var dataAdsvName = \'\';if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            zoneForDevice = \'${adv_zone_id_for_desktop}\';            dataAdsvName = \'${adverticum_name}\';            break;        case \'mobile\':            zoneForDevice = \'2771628\';            dataAdsvName = \'mobil_waterfall2\';            break;        case \'tablet\':            zoneForDevice = \'${adv_zone_id_for_tablet}\';            dataAdsvName = \'${adverticum_name_tablet}\';            if(dataAdsvName == \\"\\"){                dataAdsvName = \'${adverticum_name}\';            }            break;    }}if (zoneForDevice == \'\') {    insertedElement.parentNode.removeChild(insertedElement);} else {    insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);    insertedElement.id = \'zone\' + zoneForDevice;}</script>\"}]';
  this.positions_weighted['list-content020'] = false;
  
  this.positions['gallery-content-top'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"display:table;margin:0 auto;\\"></div><script type=\\"text/javascript\\">    var slotForDevice = \'\';    var gadxErr = false;    var dimensionForDevice = {        width: parseInt(727),        height: parseInt(90)    };    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {            case \'desktop\':                slotForDevice = \'4199050721\';                break;            case \'mobile\':                slotForDevice = \'${google_adx_slot_default_for_mobile}\';                dimensionForDevice.width = 300;                dimensionForDevice.height = 250;                break;            case \'tablet\':                if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                    slotForDevice = \'${google_adx_slot_default_for_tablet}\';                } else {                    slotForDevice = \'4199050721\';                }                break;        }        try {        } catch(err) {            gadxErr = true;        }    }    if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {        var advParts = {};        var gadxDiv = document.getElementById(\'ctsGadxTemp\');        advParts.initScript = document.createElement(\'script\');        advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';        advParts.initScript.async = \'true\';        advParts.body = document.createElement(\'ins\');        advParts.body.className = \'adsbygoogle\';        advParts.body.style.display = \'table\';        advParts.body.style.margin = \'0 auto\';        advParts.body.style.width = dimensionForDevice.width + \'px\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        advParts.body.setAttribute(\'data-ad-client\',\'ca-pub-8962558862962174\');        advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);        advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));        if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {            advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');        }        gadxDiv.appendChild(advParts.initScript);        gadxDiv.appendChild(advParts.body);        (adsbygoogle = window.adsbygoogle || []).push({});        gadxDiv.removeAttribute(\'id\');    } else {        var adxElement = document.getElementById(\'ctsGadxTemp\');        adxElement.parentNode.removeChild(adxElement);    }</script>\"}]';
  this.positions_weighted['gallery-content-top'] = false;
  
  this.positions['gallery-left020'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"display:table;margin:0 auto;\\"></div><script type=\\"text/javascript\\">    var slotForDevice = \'\';    var gadxErr = false;    var dimensionForDevice = {        width: parseInt(255),        height: parseInt(143)    };    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {            case \'desktop\':                slotForDevice = \'2341020050\';                break;            case \'mobile\':                slotForDevice = \'${google_adx_slot_default_for_mobile}\';                dimensionForDevice.width = 300;                dimensionForDevice.height = 250;                break;            case \'tablet\':                if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                    slotForDevice = \'${google_adx_slot_default_for_tablet}\';                } else {                    slotForDevice = \'2341020050\';                }                break;        }        try {        } catch(err) {            gadxErr = true;        }    }    if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {        var advParts = {};        var gadxDiv = document.getElementById(\'ctsGadxTemp\');        advParts.initScript = document.createElement(\'script\');        advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';        advParts.initScript.async = \'true\';        advParts.body = document.createElement(\'ins\');        advParts.body.className = \'adsbygoogle\';        advParts.body.style.display = \'table\';        advParts.body.style.margin = \'0 auto\';        advParts.body.style.width = dimensionForDevice.width + \'px\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        advParts.body.setAttribute(\'data-ad-client\',\'ca-pub-8962558862962174\');        advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);        advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));        if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {            advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');        }        gadxDiv.appendChild(advParts.initScript);        gadxDiv.appendChild(advParts.body);        (adsbygoogle = window.adsbygoogle || []).push({});        gadxDiv.removeAttribute(\'id\');    } else {        var adxElement = document.getElementById(\'ctsGadxTemp\');        adxElement.parentNode.removeChild(adxElement);    }</script>\"}]';
  this.positions_weighted['gallery-left020'] = false;
  
  this.positions['gallery-right020'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"display:table;margin:0 auto;\\"></div><script type=\\"text/javascript\\">    var slotForDevice = \'\';    var gadxErr = false;    var dimensionForDevice = {        width: parseInt(350),        height: parseInt(198)    };    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {            case \'desktop\':                slotForDevice = \'6982972648\';                break;            case \'mobile\':                slotForDevice = \'${google_adx_slot_default_for_mobile}\';                dimensionForDevice.width = 300;                dimensionForDevice.height = 250;                break;            case \'tablet\':                if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                    slotForDevice = \'${google_adx_slot_default_for_tablet}\';                } else {                    slotForDevice = \'6982972648\';                }                break;        }        try {        } catch(err) {            gadxErr = true;        }    }    if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {        var advParts = {};        var gadxDiv = document.getElementById(\'ctsGadxTemp\');        advParts.initScript = document.createElement(\'script\');        advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';        advParts.initScript.async = \'true\';        advParts.body = document.createElement(\'ins\');        advParts.body.className = \'adsbygoogle\';        advParts.body.style.display = \'table\';        advParts.body.style.margin = \'0 auto\';        advParts.body.style.width = dimensionForDevice.width + \'px\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        advParts.body.setAttribute(\'data-ad-client\',\'ca-pub-8962558862962174\');        advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);        advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));        if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {            advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');        }        gadxDiv.appendChild(advParts.initScript);        gadxDiv.appendChild(advParts.body);        (adsbygoogle = window.adsbygoogle || []).push({});        gadxDiv.removeAttribute(\'id\');    } else {        var adxElement = document.getElementById(\'ctsGadxTemp\');        adxElement.parentNode.removeChild(adxElement);    }</script>\"}]';
  this.positions_weighted['gallery-right020'] = false;
  
  this.positions['gallery-content010'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"display:table;margin:0 auto;\\"></div><script type=\\"text/javascript\\">    var slotForDevice = \'\';    var gadxErr = false;    var dimensionForDevice = {        width: parseInt(570),        height: parseInt(318)    };    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {            case \'desktop\':                slotForDevice = \'6568039674\';                break;            case \'mobile\':                slotForDevice = \'${google_adx_slot_default_for_mobile}\';                dimensionForDevice.width = 300;                dimensionForDevice.height = 250;                break;            case \'tablet\':                if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                    slotForDevice = \'${google_adx_slot_default_for_tablet}\';                } else {                    slotForDevice = \'6568039674\';                }                break;        }        try {        } catch(err) {            gadxErr = true;        }    }    if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {        var advParts = {};        var gadxDiv = document.getElementById(\'ctsGadxTemp\');        advParts.initScript = document.createElement(\'script\');        advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';        advParts.initScript.async = \'true\';        advParts.body = document.createElement(\'ins\');        advParts.body.className = \'adsbygoogle\';        advParts.body.style.display = \'table\';        advParts.body.style.margin = \'0 auto\';        advParts.body.style.width = dimensionForDevice.width + \'px\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        advParts.body.setAttribute(\'data-ad-client\',\'ca-pub-8962558862962174\');        advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);        advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));        if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {            advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');        }        gadxDiv.appendChild(advParts.initScript);        gadxDiv.appendChild(advParts.body);        (adsbygoogle = window.adsbygoogle || []).push({});        gadxDiv.removeAttribute(\'id\');    } else {        var adxElement = document.getElementById(\'ctsGadxTemp\');        adxElement.parentNode.removeChild(adxElement);    }</script>\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'5575283\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'${adv_zone_id_for_tablet}\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['gallery-content010'] = false;
  
  this.positions['article-recommender010'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'4411236\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'4411236\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['article-recommender010'] = false;
  
  this.positions['content050'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"cts_content_recomm\\" class=\\"ctsGadx\\"     style=\\"display:block;margin-top:30px;margin-bottom:30px;margin-top: 25px; margin-bottom: 25px;\\"></div><script type=\\"text/javascript\\">(function () {    var slotForDevice = {            desktop: \'8735967939\',            mobile: \'4273090693\',            tablet: \'4273090693\'        },        recommDiv = document.getElementById(\'cts_content_recomm\'),        slot = \'\',        parameter = \'\',        googleUniqueParameters = {            desktop: \'${google_recomm_unique_parameters}\',            mobile: \'{\\"data-matched-content-rows-num\\": \\"12,6\\", \\"data-matched-content-columns-num\\": \\"1,2\\", \\"data-matched-content-ui-type\\": \\"image_sidebyside,image_sidebyside\\"}\',            tablet: \'{\\"data-matched-content-rows-num\\": \\"12,6\\", \\"data-matched-content-columns-num\\": \\"1,2\\", \\"data-matched-content-ui-type\\": \\"image_sidebyside,image_sidebyside\\"}\'        };        if(typeof localStorage.A42A6Cblck != \'undefined\' && JSON.parse(localStorage.A42A6Cblck).bl == 1){            recommDiv.parentNode.removeChild(recommDiv);        }else{            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        slot = slotForDevice.desktop;                        parameter = googleUniqueParameters.desktop;                        break;                    case \'mobile\':                        slot = slotForDevice.mobile;                        parameter = googleUniqueParameters.mobile;                        if(slot == \'\'){                            slot = slotForDevice.desktop;                        }                        break;                    case \'tablet\':                        slot = slotForDevice.mobile;                        parameter = googleUniqueParameters.mobile;                        if(slot == \'\'){                            slot = slotForDevice.desktop;                        }                        break;                }            }            if ((typeof noADX == \'undefined\' || noADX === false) && slot != \'\') {                var advParts = {};                advParts.initScript = document.createElement(\'script\');                advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';                advParts.initScript.async = \'true\';                advParts.body = document.createElement(\'ins\');                advParts.body.className = \'adsbygoogle\';                advParts.body.style.display = \'block\';                advParts.body.setAttribute(\'data-ad-format\', \'autorelaxed\');                advParts.body.setAttribute(\'data-ad-client\', \'ca-pub-8962558862962174\');                advParts.body.setAttribute(\'data-ad-slot\', slot);                try{                    parameter = JSON.parse(parameter);                    for (var key in parameter) {                        if (parameter.hasOwnProperty(key)) {                            advParts.body.setAttribute(key, parameter[key]);                        }                    }                }catch (e){                }                recommDiv.appendChild(advParts.initScript);                recommDiv.appendChild(advParts.body);                (adsbygoogle = window.adsbygoogle || []).push({});                recommDiv.removeAttribute(\'id\');            } else {                recommDiv.parentNode.removeChild(recommDiv);            }        }})();</script>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\"     style=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;margin-top: 25px; margin-bottom: 25px;\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1385752,            height = 360,            width = 640,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = {attributes: true, childList: true, subtree: true};        var insertCriteoBanner = function () {            criteoEl.id += Math.floor(Math.random() * 1000000);            var observer = new MutationObserver(function (mutations) {                mutations.forEach(function () {                    criteoEl.style.width = width + \\"px\\";                    criteoEl.style.height = height + \\"px\\";                    criteoEl.style.marginTop = \\"10px\\";                    criteoEl.style.marginBottom = \\"10px\\";                    observer.disconnect();                });            });            observer.observe(criteoEl, mutationConf);            setTimeout(function(){ observer.disconnect(); }, mutationTimeout);            Criteo.events.push(function () {                Criteo.DisplayAcceptableAdIfAdblocked({                    \\"zoneid\\": zoneid,                    \\"containerid\\": criteoEl.id,                    \\"overrideZoneFloor\\": true                });            });        };        if (domReady != undefined && domReady != \'\' && domReady) {            if (typeof document.addEventListener !== \'undefined\') {                document.addEventListener(\\"DOMContentLoaded\\", insertCriteoBanner);            } else {                window.attachEvent(\\"onload\\", insertCriteoBanner);            }        } else {            insertCriteoBanner();        }    })();</script>\"}, {\"service_name\": \"Strossle\", \"weight\": null, \"source\": \"<div id=\\"strossle-widget-widget-570391f811f85\\" class=\\"wpb_widget _ce_measure_widget\\" data-ce-measure-widget=\\"Strossle\\"></div><script type=\\"text/javascript\\">var strossle_element = document.getElementById(\\"strossle-widget-widget-570391f811f85\\");var strossle_exceptions = \'${strossle_widget_exceptions}\';strossle_exceptions = strossle_exceptions.replace(\\" \\", \\"\\");strossle_exceptions = strossle_exceptions.split(\\",\\");var strossle_enabled = true;if(strossle_exceptions != \\"\\") {    for (var i = 0; i < strossle_exceptions.length; i++) {        if (window.location.search.indexOf(strossle_exceptions[i]) != -1) {            strossle_enabled = false;            strossle_element.remove();        }    }}if(strossle_enabled && (typeof localStorage.A42A6Cblck != \'undefined\' && JSON.parse(localStorage.A42A6Cblck).bl == 1)){    strossle_element.setAttribute(\\"data-spklw-widget\\", \\"widget-570391f811f85\\");    strossle_element.setAttribute(\\"style\\", \\"${strossle_style}\\");}else{    strossle_element.remove();}</script>\"}]';
  this.positions_weighted['content050'] = false;
  
  this.positions['content-promo'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" data-adsv-name=\\"\\"></div><script>var insertedElement = document.getElementById(\'ctstemp\');var zoneForDevice = \'\';var dataAdsvName = \'\';if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {    switch (_ceDeviceDetect.getDeviceType()) {        case \'desktop\':            zoneForDevice = \'5254587\';            dataAdsvName = \'${adverticum_name}\';            break;        case \'mobile\':            zoneForDevice = \'${adv_zone_id_for_mobile}\';            dataAdsvName = \'${adverticum_name_mobile}\';            break;        case \'tablet\':            zoneForDevice = \'5254587\';            dataAdsvName = \'${adverticum_name_tablet}\';            if(dataAdsvName == \\"\\"){                dataAdsvName = \'${adverticum_name}\';            }            break;    }}if (zoneForDevice == \'\') {    insertedElement.parentNode.removeChild(insertedElement);} else {    insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);    insertedElement.id = \'zone\' + zoneForDevice;}</script>\"}]';
  this.positions_weighted['content-promo'] = false;
  
  this.positions['gallery-right010'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" style=\\"display:table;margin:0 auto;\\"></div><script type=\\"text/javascript\\">    var slotForDevice = \'\';    var gadxErr = false;    var dimensionForDevice = {        width: parseInt(350),        height: parseInt(198)    };    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {            case \'desktop\':                slotForDevice = \'6982972648\';                break;            case \'mobile\':                slotForDevice = \'${google_adx_slot_default_for_mobile}\';                dimensionForDevice.width = 300;                dimensionForDevice.height = 250;                break;            case \'tablet\':                if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                    slotForDevice = \'${google_adx_slot_default_for_tablet}\';                } else {                    slotForDevice = \'6982972648\';                }                break;        }        try {        } catch(err) {            gadxErr = true;        }    }    if ((typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {        var advParts = {};        var gadxDiv = document.getElementById(\'ctsGadxTemp\');        advParts.initScript = document.createElement(\'script\');        advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';        advParts.initScript.async = \'true\';        advParts.body = document.createElement(\'ins\');        advParts.body.className = \'adsbygoogle\';        advParts.body.style.display = \'table\';        advParts.body.style.margin = \'0 auto\';        advParts.body.style.width = dimensionForDevice.width + \'px\';        advParts.body.style.height = dimensionForDevice.height + \'px\';        advParts.body.setAttribute(\'data-ad-client\',\'ca-pub-8962558862962174\');        advParts.body.setAttribute(\'data-ad-slot\', slotForDevice);        advParts.body.setAttribute(\'data-max-num-ads\', parseInt(1));        if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {            advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');        }        gadxDiv.appendChild(advParts.initScript);        gadxDiv.appendChild(advParts.body);        (adsbygoogle = window.adsbygoogle || []).push({});        gadxDiv.removeAttribute(\'id\');    } else {        var adxElement = document.getElementById(\'ctsGadxTemp\');        adxElement.parentNode.removeChild(adxElement);    }</script>\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'5575278\';                    break;                case \'mobile\':                    zoneForDevice = \'${adv_zone_id_for_mobile}\';                    break;                case \'tablet\':                    zoneForDevice = \'${adv_zone_id_for_tablet}\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}]';
  this.positions_weighted['gallery-right010'] = false;
  
  this.positions['content055'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\"></div><script>    var insertedElement = document.getElementById(\'ctstemp\');    var zoneForDevice = \'\';    if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {        switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    zoneForDevice = \'${adv_zone_id_for_desktop}\';                    break;                case \'mobile\':                    zoneForDevice = \'5830315\';                    break;                case \'tablet\':                    zoneForDevice = \'${adv_zone_id_for_tablet}\';                    break;        }    }    if (zoneForDevice == \'\') {\tinsertedElement.parentNode.removeChild(insertedElement);    } else {        insertedElement.id = \'zone\' + zoneForDevice;    }</script>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"cts_content_recomm\\" class=\\"ctsGadx\\"     style=\\"display:block;margin-top:30px;margin-bottom:30px;margin-top: 25px; margin-bottom: 25px;\\"></div><script type=\\"text/javascript\\">(function () {    var slotForDevice = {            desktop: \'2095533382\',            mobile: \'2095533382\',            tablet: \'2095533382\'        },        recommDiv = document.getElementById(\'cts_content_recomm\'),        slot = \'\',        parameter = \'\',        googleUniqueParameters = {            desktop: \'${google_recomm_unique_parameters}\',            mobile: \'{\\"data-matched-content-rows-num\\": \\"12,6\\", \\"data-matched-content-columns-num\\": \\"1,2\\", \\"data-matched-content-ui-type\\": \\"image_sidebyside,image_sidebyside\\"}\',            tablet: \'{\\"data-matched-content-rows-num\\": \\"12,6\\", \\"data-matched-content-columns-num\\": \\"1,2\\", \\"data-matched-content-ui-type\\": \\"image_sidebyside,image_sidebyside\\"}\'        };        if(typeof localStorage.A42A6Cblck != \'undefined\' && JSON.parse(localStorage.A42A6Cblck).bl == 1){            recommDiv.parentNode.removeChild(recommDiv);        }else{            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        slot = slotForDevice.desktop;                        parameter = googleUniqueParameters.desktop;                        break;                    case \'mobile\':                        slot = slotForDevice.mobile;                        parameter = googleUniqueParameters.mobile;                        if(slot == \'\'){                            slot = slotForDevice.desktop;                        }                        break;                    case \'tablet\':                        slot = slotForDevice.mobile;                        parameter = googleUniqueParameters.mobile;                        if(slot == \'\'){                            slot = slotForDevice.desktop;                        }                        break;                }            }            if ((typeof noADX == \'undefined\' || noADX === false) && slot != \'\') {                var advParts = {};                advParts.initScript = document.createElement(\'script\');                advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';                advParts.initScript.async = \'true\';                advParts.body = document.createElement(\'ins\');                advParts.body.className = \'adsbygoogle\';                advParts.body.style.display = \'block\';                advParts.body.setAttribute(\'data-ad-format\', \'autorelaxed\');                advParts.body.setAttribute(\'data-ad-client\', \'ca-pub-8962558862962174\');                advParts.body.setAttribute(\'data-ad-slot\', slot);                try{                    parameter = JSON.parse(parameter);                    for (var key in parameter) {                        if (parameter.hasOwnProperty(key)) {                            advParts.body.setAttribute(key, parameter[key]);                        }                    }                }catch (e){                }                recommDiv.appendChild(advParts.initScript);                recommDiv.appendChild(advParts.body);                (adsbygoogle = window.adsbygoogle || []).push({});                recommDiv.removeAttribute(\'id\');            } else {                recommDiv.parentNode.removeChild(recommDiv);            }        }})();</script>\"}, {\"service_name\": \"Strossle\", \"weight\": null, \"source\": \"<div id=\\"strossle-widget-widget-570391f811f85\\" class=\\"wpb_widget _ce_measure_widget\\" data-ce-measure-widget=\\"Strossle\\"></div><script type=\\"text/javascript\\">var strossle_element = document.getElementById(\\"strossle-widget-widget-570391f811f85\\");var strossle_exceptions = \'${strossle_widget_exceptions}\';strossle_exceptions = strossle_exceptions.replace(\\" \\", \\"\\");strossle_exceptions = strossle_exceptions.split(\\",\\");var strossle_enabled = true;if(strossle_exceptions != \\"\\") {    for (var i = 0; i < strossle_exceptions.length; i++) {        if (window.location.search.indexOf(strossle_exceptions[i]) != -1) {            strossle_enabled = false;            strossle_element.remove();        }    }}if(strossle_enabled && (typeof localStorage.A42A6Cblck != \'undefined\' && JSON.parse(localStorage.A42A6Cblck).bl == 1)){    strossle_element.setAttribute(\\"data-spklw-widget\\", \\"widget-570391f811f85\\");    strossle_element.setAttribute(\\"style\\", \\"${strossle_style}\\");}else{    strossle_element.remove();}</script>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\"     style=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;margin-top: 25px; margin-bottom: 25px;\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1385752,            height = 360,            width = 640,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = {attributes: true, childList: true, subtree: true};        var insertCriteoBanner = function () {            criteoEl.id += Math.floor(Math.random() * 1000000);            var observer = new MutationObserver(function (mutations) {                mutations.forEach(function () {                    criteoEl.style.width = width + \\"px\\";                    criteoEl.style.height = height + \\"px\\";                    criteoEl.style.marginTop = \\"10px\\";                    criteoEl.style.marginBottom = \\"10px\\";                    observer.disconnect();                });            });            observer.observe(criteoEl, mutationConf);            setTimeout(function(){ observer.disconnect(); }, mutationTimeout);            Criteo.events.push(function () {                Criteo.DisplayAcceptableAdIfAdblocked({                    \\"zoneid\\": zoneid,                    \\"containerid\\": criteoEl.id,                    \\"overrideZoneFloor\\": true                });            });        };        if (domReady != undefined && domReady != \'\' && domReady) {            if (typeof document.addEventListener !== \'undefined\') {                document.addEventListener(\\"DOMContentLoaded\\", insertCriteoBanner);            } else {                window.attachEvent(\\"onload\\", insertCriteoBanner);            }        } else {            insertCriteoBanner();        }    })();</script>\"}]';
  this.positions_weighted['content055'] = false;
  
  this.positions['content-recommender'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"cts_content_recomm\\" class=\\"ctsGadx\\"     style=\\"display:block;margin-top:30px;margin-bottom:30px;${custom_css}\\"></div><script type=\\"text/javascript\\">    (function () {        var slotForDevice = {                desktop: \'7880155257\',                mobile: \'7880155257\',                tablet: \'7880155257\'            },            recommDiv = document.getElementById(\'cts_content_recomm\'),            slot = \'\',            parameter = \'\',            googleUniqueParameters = {                desktop: \'${google_recomm_unique_parameters}\',                mobile: \'{\\"data-matched-content-rows-num\\": \\"12,6\\", \\"data-matched-content-columns-num\\": \\"1,2\\", \\"data-matched-content-ui-type\\": \\"image_sidebyside,image_sidebyside\\"}\',                tablet: \'{\\"data-matched-content-rows-num\\": \\"12,6\\", \\"data-matched-content-columns-num\\": \\"1,2\\", \\"data-matched-content-ui-type\\": \\"image_sidebyside,image_sidebyside\\"}\'            };        if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {            switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    slot = slotForDevice.desktop;                    parameter = googleUniqueParameters.desktop;                    break;                case \'mobile\':                    slot = slotForDevice.mobile;                    parameter = googleUniqueParameters.mobile;                    if(slot == \'\'){                        slot = slotForDevice.desktop;                    }                    break;                case \'tablet\':                    slot = slotForDevice.mobile;                    parameter = googleUniqueParameters.mobile;                    if(slot == \'\'){                        slot = slotForDevice.desktop;                    }                    break;            }        }        if ((typeof noADX == \'undefined\' || noADX === false) && slot != \'\') {            var advParts = {};            advParts.initScript = document.createElement(\'script\');            advParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';            advParts.initScript.async = \'true\';            advParts.body = document.createElement(\'ins\');            advParts.body.className = \'adsbygoogle\';            advParts.body.style.display = \'block\';            advParts.body.setAttribute(\'data-ad-format\', \'autorelaxed\');            advParts.body.setAttribute(\'data-ad-client\', \'ca-pub-8962558862962174\');            advParts.body.setAttribute(\'data-ad-slot\', slot);            try{                parameter = JSON.parse(parameter);                for (var key in parameter) {                    if (parameter.hasOwnProperty(key)) {                        advParts.body.setAttribute(key, parameter[key]);                    }                }            }catch (e){            }            recommDiv.appendChild(advParts.initScript);            recommDiv.appendChild(advParts.body);            (adsbygoogle = window.adsbygoogle || []).push({});            recommDiv.removeAttribute(\'id\');        } else {            recommDiv.parentNode.removeChild(recommDiv);        }    })();</script>\"}]';
  this.positions_weighted['content-recommender'] = false;
}

Tagging.prototype.get_json = function(text) {
  return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(text.replace(/"(\\.|[^"\\])*"/g, '')))
         && eval('(' + text + ')');
}

Tagging.prototype.random_tag = function(position) {
  var tags = [];
  var weighted_tags = [];

  for (index in position) {
    tag = position[index];
    tags[index] = tag.source;

    for (var i = 0; i < tag.weight; i++) {
      weighted_tags.push(index);
    }
  }

  // Pick a random tag from array based on weight
  var random_index = weighted_tags[Math.floor((Math.random() * weighted_tags.length))];
  return tags[random_index];
}

Tagging.prototype.all_tags = function(position) {
  var tags = [], index, tag;
  for (index in position) {
    tag = position[index];
    tags[index] = tag.source;
  }
  return tags.join("\n");
}

Tagging.prototype.render = function(slug, context) {
    document.write(this.get_source(slug, context));
}

Tagging.prototype.get_source = function(slug, context) {
  if (typeof this.positions[slug] == 'undefined') {
    // This position doesn't exist, call the autodetect
    this._detect(slug);
  } else {
    var position = this.get_json(this.positions[slug]);
    var tag_source = "";

    if (this.positions_weighted[slug]) {
      tag_source = this.random_tag(position)
    } else {
      tag_source = this.all_tags(position);
    }

    // Replace variables
    var variables = {};
    for (variable in this.context) {
      variables[variable] = this.context[variable];
    }
    for (variable in context) {
      variables[variable] = context[variable];
    }
    tag_source = this._replace_variables(tag_source, variables);

    // Remove unset variables and return result
    return tag_source.replace(/\$\w+/g, "").replace(/\${\w+}/g, "");
  }
  return '';
}

Tagging.prototype.log = function(err) {
  //this._load(error_endpoint);
}

Tagging.prototype._load = function(url) {
  var head = document.getElementsByTagName('head')[0] || document.documentElement,
      script = document.createElement('script');

  script.type = 'text/javascript';
  script.src = url;
  head.appendChild(script);
}

Tagging.prototype._detect = function(position) {
  this._load(this.autodetect_url + this.site +'/'+ this.zone +'/' + position + '/');
}

Tagging.prototype._replace_variables = function(content, variables) {
  var RE_VALID_IDENT = /^[a-zA-Z_]\w*$/;
  for (variable in variables) {
    if (RE_VALID_IDENT.test(variable)) {
      var regexes = [new RegExp('\\$' + variable, 'g'), new RegExp('\\${' + variable + '}', 'g')];

      for (re in regexes) {
        content = content.replace(regexes[re], variables[variable]);
      }
    } else {
      throw "'" + variable + "' is not a valid identifier.";
    }
  }
  return content;
}



