Tagging = function(context) {
  this.site = 'nosalty';
  this.zone = 'receptkategoriak';
  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\": \"CMP\", \"weight\": null, \"source\": \"<!-- Quantcast Choice. Consent Manager Tag v2.0 (for TCF 2.0) --><script type=\\"text/javascript\\" async=true>(function() {  var host =  \'nosalty.hu\' || window.location.hostname;  var element = document.createElement(\'script\');  var firstScript = document.getElementsByTagName(\'script\')[0];  var url = \'https://quantcast.mgr.consensu.org\'    .concat(\'/choice/\', \'ZWemmHq85Y1fR\', \'/\', host, \'/choice.js\');  var uspTries = 0;  var uspTriesLimit = 3;  element.async = true;  element.type = \'text/javascript\';  element.src = url;  firstScript.parentNode.insertBefore(element, firstScript);  function makeStub() {    var TCF_LOCATOR_NAME = \'__tcfapiLocator\';    var queue = [];    var win = window;    var cmpFrame;    function addFrame() {      var doc = win.document;      var otherCMP = !!(win.frames[TCF_LOCATOR_NAME]);      if (!otherCMP) {        if (doc.body) {          var iframe = doc.createElement(\'iframe\');          iframe.style.cssText = \'display:none\';          iframe.name = TCF_LOCATOR_NAME;          doc.body.appendChild(iframe);        } else {          setTimeout(addFrame, 5);        }      }      return !otherCMP;    }    function tcfAPIHandler() {      var gdprApplies;      var args = arguments;      if (!args.length) {        return queue;      } else if (args[0] === \'setGdprApplies\') {        if (          args.length > 3 &&          args[2] === 2 &&          typeof args[3] === \'boolean\'        ) {          gdprApplies = args[3];          if (typeof args[2] === \'function\') {            args[2](\'set\', true);          }        }      } else if (args[0] === \'ping\') {        var retr = {          gdprApplies: gdprApplies,          cmpLoaded: false,          cmpStatus: \'stub\'        };        if (typeof args[2] === \'function\') {          args[2](retr);        }      } else {        queue.push(args);      }    }    function postMessageEventHandler(event) {      var msgIsString = typeof event.data === \'string\';      var json = {};      try {        if (msgIsString) {          json = JSON.parse(event.data);        } else {          json = event.data;        }      } catch (ignore) {}      var payload = json.__tcfapiCall;      if (payload) {        window.__tcfapi(          payload.command,          payload.version,          function(retValue, success) {            var returnMsg = {              __tcfapiReturn: {                returnValue: retValue,                success: success,                callId: payload.callId              }            };            if (msgIsString) {              returnMsg = JSON.stringify(returnMsg);            }            event.source.postMessage(returnMsg, \'*\');          },          payload.parameter        );      }    }    while (win) {      try {        if (win.frames[TCF_LOCATOR_NAME]) {          cmpFrame = win;          break;        }      } catch (ignore) {}      if (win === window.top) {        break;      }      win = win.parent;    }    if (!cmpFrame) {      addFrame();      win.__tcfapi = tcfAPIHandler;      win.addEventListener(\'message\', postMessageEventHandler, false);    }  };  makeStub();  var uspStubFunction = function() {    var arg = arguments;    if (typeof window.__uspapi !== uspStubFunction) {      setTimeout(function() {        if (typeof window.__uspapi !== \'undefined\') {          window.__uspapi.apply(window.__uspapi, arg);        }      }, 500);    }  };  var checkIfUspIsReady = function() {    uspTries++;    if (window.__uspapi === uspStubFunction && uspTries < uspTriesLimit) {      console.warn(\'USP is not accessible\');    } else {      clearInterval(uspInterval);    }  };  if (typeof window.__uspapi === \'undefined\') {    window.__uspapi = uspStubFunction;    var uspInterval = setInterval(checkIfUspIsReady, 6000);  }})();</script><!-- End Quantcast Choice. Consent Manager Tag v2.0 (for TCF 2.0) -->\"}, {\"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\": \"Sanoma\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\" src=\\"//segment.p24.hu/cerment.min.js\\" async></script>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<script>    if (typeof _ceDeviceDetect != \'undefined\' && typeof _ceDeviceDetect.getDeviceType == \'function\') {        var _ceDisplayData = _ceDisplayData || {},            googletag,            loader = function (multipleAds) {                _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);                })();                if (multipleAds) {                    googletag = {};                    googletag.cmd = [];                } else {                    googletag = googletag || {};                    googletag.cmd = googletag.cmd || [];                }                googletag.cmd.push(function () {                    googletag.pubads().enableSingleRequest();                    googletag.pubads().collapseEmptyDivs();                    googletag.enableServices();                });            };        loader();        window.addEventListener(\'_ceDisplayDataLoadHeader\', loader);    }</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>\"}, {\"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 () {        var isSubscribed = false;        if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {            isSubscribed = true;        }        if (!isSubscribed && 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 () {        var isSubscribed = false;        if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {            isSubscribed = true;        }        if (!isSubscribed && typeof _ceDeviceDetect.getDeviceType() !== \'undefined\' && _ceDeviceDetect.getDeviceType() == \\"desktop\\" && typeof goAdverticum3 != \\"undefined\\" && interstitialConfig.zoneID != \\"\\") {            goAdverticum3.insertBanner(interstitialConfig.zoneID);        }    })();</script>\"}]';
  this.positions_weighted['head'] = false;
  
  this.positions['body-start'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<script src=\\"//ad.adverticum.net/g3.js\\"></script><script>    var interstitialConfig = {        zoneID: \\"5925479\\"    };    (function () {        var isSubscribed = false;        if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {            isSubscribed = true;        }        if (!isSubscribed && 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 () {        var isSubscribed = false;        if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {            isSubscribed = true;        }        if (!isSubscribed && 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\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\" src=\\"//stat.p24.hu/CTS/helper-scripts/waterfall_empty/closer.min.js\\"></script>\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<script type=\\"text/javascript\\" src=\\"//ad.adverticum.net/g3.js\\"></script>\"}, {\"service_name\": \"Strossle\", \"weight\": null, \"source\": \"<script src=\\"//widgets.sprinklecontent.com/v2/sprinkle.js\\" async></script>\"}, {\"service_name\": \"Sanoma/Nosalty\", \"weight\": null, \"source\": \"<script>window[\'_ceBgAvCtMeasuring\'] = {    config: {        mutationConfig: {attributes: true, childList: true, characterData: true, subtree: true},        elementsExclude: [\\".content .container\\", \\".navbar\\", \\"footer\\", \\".cc_gccp-wrapper\\", \\".container-fluid\\", \\"#gastro-map\\", \\".ReactModalPortal\\"],        whiteListPages: {            \\"husvet.nosalty.hu\\": {                elementsExclude: null,                bgUrl: \\"https://bs.serving-sys.com/serving/adServer.bs?cn=trd&mc=click&pli=27897031&PluID=0&ord=[timestamp]\\",                avUrl: \\"https://bs.serving-sys.com/serving/adServer.bs?cn=display&c=19&mc=imp&pli=27897031&PluID=0&ord=[timestamp]&rtu=-1\\"            },            \\"gasztroutazas.nosalty.hu\\": {                elementsExclude: null,                elementsToSetClick: [\\".key-visual .jw-media.jw-reset\\"],                bgUrl: \\"https://ad.adverticum.net/C/58092/5753276/575327800\\",                avUrl: \\"https://ad.adverticum.net/t/?z=58092&g=5753276&b=575327800&h=[LOCATION]&p=2\\"            }        }    },    hostName: window.location.hostname,    bg_clickable: true,    reserveCursor: false,    bgUrl: \\"\\",    onmouseover: function (element) {        var self = this;        element.onmouseover = function (e) {            self.bg_clickable = false;            if(self.reserveCursor){                e.target.style.cursor = \\"pointer\\";                document.body.style.cursor = \\"pointer\\";            }else{                document.body.style.cursor = \\"default\\";            }        };    },    onmouseleave: function (element) {        var self = this;        element.onmouseleave = function (e) {            self.bg_clickable = true;            if(self.reserveCursor){                e.target.style.cursor = \\"default\\";                document.body.style.cursor = \\"default\\";            }else{                document.body.style.cursor = \\"pointer\\";            }        };    },    ajaxSubmit: function (url) {        if(url != \'\' && url != null && url != undefined){            if (typeof fetch != \'undefined\') {                fetch(url, {method: \'HEAD\', mode: \'no-cors\'}).catch(function (error) {                    console.log(\'Request failed.\', error);                });            } else {                var mPixel = document.createElement(\'IMG\');                mPixel.src = url;                document.body.appendChild(mPixel);            }        }    },    mutation: function () {        var self = this;        if (typeof MutationObserver != \'undefined\') {            var observer = new MutationObserver(function (mutations) {                mutations.forEach(function (mutation) {                    for (var i = 0; i < mutation.addedNodes.length; i++) {                        if (mutation.addedNodes[i] != undefined && typeof mutation.addedNodes[i] == \'object\') {                            if (mutation.addedNodes[i].className != undefined) {                                for (var j = 0; j < self.config.elementsExclude.length; j++) {                                    var name = self.config.elementsExclude[j];                                    name = name.replace(\'.\', \'\').replace(\'#\', \'\');                                    if (typeof mutation.addedNodes[i] == \\"object\\" && mutation.addedNodes[i].tagName != undefined) {                                        try {                                            if (mutation.addedNodes[i].className != undefined && mutation.addedNodes[i].className != \\"\\" && mutation.addedNodes[i].className.replace(\' \', \'\').indexOf(name) != -1) {                                                self.onmouseover(mutation.addedNodes[i]);                                                self.onmouseleave(mutation.addedNodes[i]);                                            }                                        } catch (e) {                                        }                                        try {                                            if (mutation.addedNodes[i].id != null && mutation.addedNodes[i].id != undefined && mutation.addedNodes[i].id != \\"\\" && mutation.addedNodes[i].id.replace(\' \', \'\') == name) {                                                self.onmouseover(mutation.addedNodes[i]);                                                self.onmouseleave(mutation.addedNodes[i]);                                            }                                        } catch (e) {                                        }                                    }                                }                            }                        }                    }                });            });            observer.observe(document.body, this.config.mutationConfig);        }    },    onclickElement: function(element, pageConf){        if(pageConf.elementsToSetClick != null){            var self = this;            this.reserveCursor = true;            document.body.style.cursor = \\"pointer\\";            element.onclick = function () {                window.open(self.bgUrl);            };        }    },    mouseHandler: function (pageConf) {        var self = this,            elementsList = pageConf.elementsToSetClick == null ? this.config.elementsExclude : pageConf.elementsToSetClick,            elements = document.querySelectorAll(elementsList);        document.body.style.cursor = \\"pointer\\";        for (var i = 0; i < elements.length; i++) {            if (elements[i] != undefined) {                this.onclickElement(elements[i], pageConf);                this.onmouseover(elements[i]);                this.onmouseleave(elements[i]);            }        }        document.body.onclick = function () {            if (self.bg_clickable && pageConf.elementsToSetClick == null) {                window.open(self.bgUrl);            }        };    },    run: function () {        this.mutation();        for (var i = 0; i < Object.keys(this.config.whiteListPages).length; i++) {            var page = Object.keys(this.config.whiteListPages)[i],                pageConf = this.config.whiteListPages[page];            if (this.hostName.indexOf(page) !== -1) {                if (pageConf.elementsExclude != null) {                    this.config.elementsExclude = pageConf.elementsExclude;                }                this.bgUrl = pageConf.bgUrl;                this.ajaxSubmit(pageConf.avUrl);                this.mouseHandler(pageConf);                break;            }        }    }};_ceBgAvCtMeasuring.run();</script>\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<script>    (function () {        var isSubscribed = false;        if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {            isSubscribed = true;        }        if (!isSubscribed && 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\\" style=\\"display: none;\\"><script>        (function () {            var insertedElement = document.getElementById(\'ctstemp\');            var zoneForDevice = \'\';            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        zoneForDevice = \'5042998\';                        break;                    case \'mobile\':                        zoneForDevice = \'5454500\';                        break;                    case \'tablet\':                        zoneForDevice = \'5042998\';                        break;                }            }            if (zoneForDevice == \'\' || isSubscribed) {                insertedElement.parentNode.removeChild(insertedElement);            } else {                insertedElement.id = \'zone\' + zoneForDevice;                if (insertedElement.getAttribute(\\"ctsStyle\\") != null) {                    insertedElement.style = insertedElement.getAttribute(\\"ctsStyle\\");                    insertedElement.removeAttribute(\\"ctsStyle\\");                } else {                    insertedElement.removeAttribute(\\"style\\");                }            }        })();    </script></div>\"}]';
  this.positions_weighted['body-end-adv'] = false;
  
  this.positions['content-top'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" style=\\"display: none;\\"><script>        (function () {            var insertedElement = document.getElementById(\'ctstemp\');            var zoneForDevice = \'\';            var dataAdsvName = \'\';            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        zoneForDevice = \'5043018\';                        dataAdsvName = \'top\';                        break;                    case \'mobile\':                        zoneForDevice = \'5043066\';                        dataAdsvName = \'mobil_waterfall1\';                        break;                    case \'tablet\':                        zoneForDevice = \'5043018\';                        dataAdsvName = \'${adverticum_name_tablet}\';                        if (dataAdsvName == \\"\\") {                            dataAdsvName = \'top\';                        }                        break;                }            }            if (zoneForDevice == \'\' || isSubscribed) {                insertedElement.parentNode.removeChild(insertedElement);            } else {                insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);                insertedElement.id = \'zone\' + zoneForDevice;                if (insertedElement.getAttribute(\\"ctsStyle\\") != null) {                    insertedElement.style = insertedElement.getAttribute(\\"ctsStyle\\");                    insertedElement.removeAttribute(\\"ctsStyle\\");                } else {                    insertedElement.removeAttribute(\\"style\\");                }            }        })();    </script></div>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\" ctsStyle=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;${custom_css}\\" style=\\"display: none;\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1470405,            height = 90,            width = 970,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = { attributes: true, childList: true, subtree: true },            isSubscribed = false;        if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {            isSubscribed = true;        }        var insertCriteoBanner = function () {            if (!isSubscribed) {                criteoEl.id += Math.floor(Math.random() * 1000000);                if (criteoEl.getAttribute(\\"ctsStyle\\") != null) {                    criteoEl.style = criteoEl.getAttribute(\\"ctsStyle\\");                    criteoEl.removeAttribute(\\"ctsStyle\\");                } else {                    criteoEl.removeAttribute(\\"style\\");                }                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                    });                });            } else {                criteoEl.parentNode.removeChild(criteoEl);            }        };        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['content-top'] = false;
  
  this.positions['right010'] = '[]';
  this.positions_weighted['right010'] = false;
  
  this.positions['right020'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" style=\\"display: none;\\"><script>        (function () {            var insertedElement = document.getElementById(\'ctstemp\');            var zoneForDevice = \'\';            var dataAdsvName = \'\';            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        zoneForDevice = \'5042864\';                        dataAdsvName = \'box1\';                        break;                    case \'mobile\':                        zoneForDevice = \'${adv_zone_id_for_mobile}\';                        dataAdsvName = \'${adverticum_name_mobile}\';                        break;                    case \'tablet\':                        zoneForDevice = \'5042864\';                        dataAdsvName = \'${adverticum_name_tablet}\';                        if (dataAdsvName == \\"\\") {                            dataAdsvName = \'box1\';                        }                        break;                }            }            if (zoneForDevice == \'\' || isSubscribed) {                insertedElement.parentNode.removeChild(insertedElement);            } else {                insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);                insertedElement.id = \'zone\' + zoneForDevice;                if (insertedElement.getAttribute(\\"ctsStyle\\") != null) {                    insertedElement.style = insertedElement.getAttribute(\\"ctsStyle\\");                    insertedElement.removeAttribute(\\"ctsStyle\\");                } else {                    insertedElement.removeAttribute(\\"style\\");                }            }        })();    </script></div>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\" ctsStyle=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;${custom_css}\\" style=\\"display: none;\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1470407,            height = 600,            width = 300,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = { attributes: true, childList: true, subtree: true },            isSubscribed = false;        if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {            isSubscribed = true;        }        var insertCriteoBanner = function () {            if (!isSubscribed) {                criteoEl.id += Math.floor(Math.random() * 1000000);                if (criteoEl.getAttribute(\\"ctsStyle\\") != null) {                    criteoEl.style = criteoEl.getAttribute(\\"ctsStyle\\");                    criteoEl.removeAttribute(\\"ctsStyle\\");                } else {                    criteoEl.removeAttribute(\\"style\\");                }                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                    });                });            } else {                criteoEl.parentNode.removeChild(criteoEl);            }        };        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['right020'] = false;
  
  this.positions['right030'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\'ctsGptTemp\' class=\'ctsContainer\' style=\\"display: none;\\"><script>        (function () {            var containerElms = document.querySelectorAll(\'.ctsContainer\');            var targetElm = containerElms[containerElms.length - 1];            var insertedElement = document.getElementById(\\"ctsGptTemp\\");            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (!isSubscribed && typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                var zonesToDisplay = [];                var targetInput = \'\';                var insertElm = null;                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        targetInput = \'6040796,5055847\';                        break;                    case \'mobile\':                        targetInput = \'${adv_zone_id_for_mobile}\';                        break;                    case \'tablet\':                        targetInput = \'6040796,5055847\' || \'6040796,5055847\';                        break;                }                if (targetInput.length > 0) {                    zonesToDisplay = targetInput.split(\',\');                    for (var i = 0; i < zonesToDisplay.length; i++) {                        insertElm = document.createElement(\'div\');                        insertElm.className = \'goAdverticum\';                        insertElm.id = \'zone\' + zonesToDisplay[i];                        targetElm.appendChild(insertElm);                    }                    if (insertedElement.getAttribute(\\"ctsStyle\\") != null) {                        insertedElement.style = insertedElement.getAttribute(\\"ctsStyle\\");                        insertedElement.removeAttribute(\\"ctsStyle\\");                    } else {                        insertedElement.removeAttribute(\\"style\\");                    }                } else {                    insertedElement.parentNode.removeChild(insertedElement);                }            } else {                insertedElement.parentNode.removeChild(insertedElement);            }        })();    </script></div>\"}]';
  this.positions_weighted['right030'] = false;
  
  this.positions['right040'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\" style=\\"display: none;\\"><script>        (function () {            var insertedElement = document.getElementById(\'ctstemp\');            var zoneForDevice = \'\';            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        zoneForDevice = \'5042872\';                        break;                    case \'mobile\':                        zoneForDevice = \'${adv_zone_id_for_mobile}\';                        break;                    case \'tablet\':                        zoneForDevice = \'5042872\';                        break;                }            }            if (zoneForDevice == \'\' || isSubscribed) {                insertedElement.parentNode.removeChild(insertedElement);            } else {                insertedElement.id = \'zone\' + zoneForDevice;                if (insertedElement.getAttribute(\\"ctsStyle\\") != null) {                    insertedElement.style = insertedElement.getAttribute(\\"ctsStyle\\");                    insertedElement.removeAttribute(\\"ctsStyle\\");                } else {                    insertedElement.removeAttribute(\\"style\\");                }            }        })();    </script></div>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\" ctsStyle=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;${custom_css}\\" style=\\"display: none;\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1470408,            height = 250,            width = 300,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = { attributes: true, childList: true, subtree: true },            isSubscribed = false;        if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {            isSubscribed = true;        }        var insertCriteoBanner = function () {            if (!isSubscribed) {                criteoEl.id += Math.floor(Math.random() * 1000000);                if (criteoEl.getAttribute(\\"ctsStyle\\") != null) {                    criteoEl.style = criteoEl.getAttribute(\\"ctsStyle\\");                    criteoEl.removeAttribute(\\"ctsStyle\\");                } else {                    criteoEl.removeAttribute(\\"style\\");                }                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                    });                });            } else {                criteoEl.parentNode.removeChild(criteoEl);            }        };        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['right040'] = false;
  
  this.positions['toothbrush-handle'] = '[]';
  this.positions_weighted['toothbrush-handle'] = false;
  
  this.positions['toothbrush-head'] = '[]';
  this.positions_weighted['toothbrush-head'] = false;
  
  this.positions['list-content010'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\" style=\\"display: none;\\"><script>        (function () {            var insertedElement = document.getElementById(\'ctstemp\');            var zoneForDevice = \'\';            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        zoneForDevice = \'${adv_zone_id_for_desktop}\';                        break;                    case \'mobile\':                        zoneForDevice = \'5043083\';                        break;                    case \'tablet\':                        zoneForDevice = \'${adv_zone_id_for_tablet}\';                        break;                }            }            if (zoneForDevice == \'\' || isSubscribed) {                insertedElement.parentNode.removeChild(insertedElement);            } else {                insertedElement.id = \'zone\' + zoneForDevice;                if (insertedElement.getAttribute(\\"ctsStyle\\") != null) {                    insertedElement.style = insertedElement.getAttribute(\\"ctsStyle\\");                    insertedElement.removeAttribute(\\"ctsStyle\\");                } else {                    insertedElement.removeAttribute(\\"style\\");                }            }        })();    </script></div>\"}]';
  this.positions_weighted['list-content010'] = false;
  
  this.positions['list-content020'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" ctsStyle=\\"${google_adx_style}\\" style=\\"display: none;\\"><div style=\\"text-align: right; font-size: 8px; color: #C6C6C6; margin: 0 auto;\\">HIRDET&#xC9;S</div><script type=\\"text/javascript\\">        (function () {            var slotForDevice = \'\';            var gadxErr = false;            var dimensionForDevice = {                width: parseInt(300) || 0,                height: parseInt(250) || 0            };            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        slotForDevice = \'${google_adx_slot_default_for_desktop}\';                        break;                    case \'mobile\':                        slotForDevice = \'2835898594\';                        dimensionForDevice.width = 300;                        dimensionForDevice.height = 250;                        if (\'${google_ad_width_mobile}\'.length > 0 && \'${google_ad_height_mobile}\'.length > 0) {                            dimensionForDevice.width = parseInt(${google_ad_width_mobile});                            dimensionForDevice.height = parseInt(${google_ad_height_mobile});                        }                        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;                }                try {                } catch (err) {                    gadxErr = true;                }            }            if (!isSubscribed && (typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\' && dimensionForDevice.width > 0 && dimensionForDevice.height > 0) {                var advParts = {};                var gadxDiv = document.getElementById(\'ctsGadxTemp\');                gadxDiv.firstElementChild.style.width = dimensionForDevice.width + \'px\';                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(${google_max_num_ads}) || 1);                if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {                    advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');                }                if (gadxDiv.getAttribute(\\"ctsStyle\\") != null) {                    gadxDiv.style = gadxDiv.getAttribute(\\"ctsStyle\\");                    gadxDiv.removeAttribute(\\"ctsStyle\\");                } else {                    gadxDiv.removeAttribute(\\"style\\");                }                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></div>\"}]';
  this.positions_weighted['list-content020'] = false;
  
  this.positions['content-bottom'] = '[]';
  this.positions_weighted['content-bottom'] = false;
  
  this.positions['content-article-end'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\'ctsGptTemp\' class=\'ctsContainer\' style=\\"display: none;\\"><script>        (function () {            var containerElms = document.querySelectorAll(\'.ctsContainer\');            var targetElm = containerElms[containerElms.length - 1];            var insertedElement = document.getElementById(\\"ctsGptTemp\\");            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (!isSubscribed && typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                var zonesToDisplay = [];                var targetInput = \'\';                var insertElm = null;                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        targetInput = \'${adv_zone_id_for_desktop}\';                        break;                    case \'mobile\':                        targetInput = \'6040801,5043090\';                        break;                    case \'tablet\':                        targetInput = \'${adv_zone_id_for_tablet}\' || \'${adv_zone_id_for_desktop}\';                        break;                }                if (targetInput.length > 0) {                    zonesToDisplay = targetInput.split(\',\');                    for (var i = 0; i < zonesToDisplay.length; i++) {                        insertElm = document.createElement(\'div\');                        insertElm.className = \'goAdverticum\';                        insertElm.id = \'zone\' + zonesToDisplay[i];                        targetElm.appendChild(insertElm);                    }                    if (insertedElement.getAttribute(\\"ctsStyle\\") != null) {                        insertedElement.style = insertedElement.getAttribute(\\"ctsStyle\\");                        insertedElement.removeAttribute(\\"ctsStyle\\");                    } else {                        insertedElement.removeAttribute(\\"style\\");                    }                } else {                    insertedElement.parentNode.removeChild(insertedElement);                }            } else {                insertedElement.parentNode.removeChild(insertedElement);            }        })();    </script></div>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" ctsStyle=\\"${google_adx_style}\\" style=\\"display: none;\\"><div style=\\"text-align: right; font-size: 8px; color: #C6C6C6; margin: 0 auto;\\">HIRDET&#xC9;S</div><script type=\\"text/javascript\\">        (function () {            var slotForDevice = \'\';            var gadxErr = false;            var dimensionForDevice = {                width: parseInt(300) || 0,                height: parseInt(250) || 0            };            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        slotForDevice = \'${google_adx_slot_default_for_desktop}\';                        break;                    case \'mobile\':                        slotForDevice = \'9454467202\';                        dimensionForDevice.width = 300;                        dimensionForDevice.height = 250;                        if (\'${google_ad_width_mobile}\'.length > 0 && \'${google_ad_height_mobile}\'.length > 0) {                            dimensionForDevice.width = parseInt(${google_ad_width_mobile});                            dimensionForDevice.height = parseInt(${google_ad_height_mobile});                        }                        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;                }                try {                } catch (err) {                    gadxErr = true;                }            }            if (!isSubscribed && (typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\' && dimensionForDevice.width > 0 && dimensionForDevice.height > 0) {                var advParts = {};                var gadxDiv = document.getElementById(\'ctsGadxTemp\');                gadxDiv.firstElementChild.style.width = dimensionForDevice.width + \'px\';                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(${google_max_num_ads}) || 1);                if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {                    advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');                }                if (gadxDiv.getAttribute(\\"ctsStyle\\") != null) {                    gadxDiv.style = gadxDiv.getAttribute(\\"ctsStyle\\");                    gadxDiv.removeAttribute(\\"ctsStyle\\");                } else {                    gadxDiv.removeAttribute(\\"style\\");                }                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></div>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"cts_content_recomm\\" class=\\"ctsGadx\\" ctsStyle=\\"display:block;margin-top:30px;margin-bottom:30px;${custom_css}\\"    style=\\"display: none;\\"><script type=\\"text/javascript\\">        (function () {            var slotForDevice = {                desktop: \'2665740459\',                mobile: \'7818642433\',                tablet: \'7818642433\'            },                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\\"}\'                },                isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            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 (!isSubscribed && (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) {                    }                    if (recommDiv.getAttribute(\\"ctsStyle\\") != null) {                        recommDiv.style = recommDiv.getAttribute(\\"ctsStyle\\");                        recommDiv.removeAttribute(\\"ctsStyle\\");                    } else {                        recommDiv.removeAttribute(\\"style\\");                    }                    recommDiv.appendChild(advParts.initScript);                    recommDiv.appendChild(advParts.body);                    (adsbygoogle = window.adsbygoogle || []).push({});                    recommDiv.removeAttribute(\'id\');                } else {                    recommDiv.parentNode.removeChild(recommDiv);                }            }        })();    </script></div>\"}, {\"service_name\": \"Strossle\", \"weight\": null, \"source\": \"<div id=\\"strossle-widget-widget-5bc0a58c37ef6\\" class=\\"wpb_widget _ce_measure_widget\\" data-ce-measure-widget=\\"Strossle\\"    style=\\"display: none;\\"><script type=\\"text/javascript\\">        (function () {            var strossle_element = document.getElementById(\\"strossle-widget-widget-5bc0a58c37ef6\\");            var strossle_exceptions = \'${strossle_widget_exceptions}\';            strossle_exceptions = strossle_exceptions.replace(\\" \\", \\"\\");            strossle_exceptions = strossle_exceptions.split(\\",\\");            var strossle_enabled = true;            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = 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 (!isSubscribed && strossle_enabled && (typeof localStorage.A42A6Cblck != \'undefined\' && JSON.parse(localStorage.A42A6Cblck).bl == 1)) {                strossle_element.setAttribute(\\"data-spklw-widget\\", \\"widget-5bc0a58c37ef6\\");                if (strossle_element.getAttribute(\\"ctsStyle\\") != null) {                    strossle_element.style = strossle_element.getAttribute(\\"ctsStyle\\");                    strossle_element.removeAttribute(\\"ctsStyle\\");                } else {                    strossle_element.removeAttribute(\\"style\\");                }                strossle_element.setAttribute(\\"style\\", \\"${strossle_style}\\");            } else {                strossle_element.remove();            }        })();    </script></div>\"}, {\"service_name\": \"Sanoma/Hirstart\", \"weight\": null, \"source\": \"<div id=\'hirstart_rss_partner_box\' class=\\"_ce_measure_widget\\" data-ce-measure-widget=\\"hirstart_rss_partner_box\\" style=\\"${rss_css}\\"></div><script>    (function () {        var src = \'\',        insertedElement = document.getElementById(\'hirstart_rss_partner_box\');        if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {            switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    src = \'//box.hirstart.hu/site/jsembed_news.php?pid=8&id=1420\\";\';                    break;                case \'mobile\':                    src = \'//box.hirstart.hu/site/jsembed_news.php?pid=8&id=1420\\";\';                    break;                case \'tablet\':                    src = \'//box.hirstart.hu/site/jsembed_news.php?pid=8&id=1420\\";\';                    break;            }        }        if (src != \'\') {            insertedElement.id = \\"hirstartbox-8-1420\\";            var s = document.createElement(\\"script\\");            s.type = \\"text/javascript\\";            s.async = true;            s.src = src;            document.getElementsByTagName(\\"head\\")[0].appendChild(s);        } else {            insertedElement.parentNode.removeChild(insertedElement);        }    })();</script>\"}]';
  this.positions_weighted['content-article-end'] = false;
  
  this.positions['content010'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" style=\\"display: none;\\"><script>        (function () {            var insertedElement = document.getElementById(\'ctstemp\');            var zoneForDevice = \'\';            var dataAdsvName = \'\';            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        zoneForDevice = \'5043027\';                        dataAdsvName = \'roadblock\';                        break;                    case \'mobile\':                        zoneForDevice = \'5043083\';                        dataAdsvName = \'mobil_waterfall2\';                        break;                    case \'tablet\':                        zoneForDevice = \'5043027\';                        dataAdsvName = \'${adverticum_name_tablet}\';                        if (dataAdsvName == \\"\\") {                            dataAdsvName = \'roadblock\';                        }                        break;                }            }            if (zoneForDevice == \'\' || isSubscribed) {                insertedElement.parentNode.removeChild(insertedElement);            } else {                insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);                insertedElement.id = \'zone\' + zoneForDevice;                if (insertedElement.getAttribute(\\"ctsStyle\\") != null) {                    insertedElement.style = insertedElement.getAttribute(\\"ctsStyle\\");                    insertedElement.removeAttribute(\\"ctsStyle\\");                } else {                    insertedElement.removeAttribute(\\"style\\");                }            }        })();    </script></div>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\" ctsStyle=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;${custom_css}\\" style=\\"display: none;\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1470408,            height = 250,            width = 300,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = { attributes: true, childList: true, subtree: true },            isSubscribed = false;        if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {            isSubscribed = true;        }        var insertCriteoBanner = function () {            if (!isSubscribed) {                criteoEl.id += Math.floor(Math.random() * 1000000);                if (criteoEl.getAttribute(\\"ctsStyle\\") != null) {                    criteoEl.style = criteoEl.getAttribute(\\"ctsStyle\\");                    criteoEl.removeAttribute(\\"ctsStyle\\");                } else {                    criteoEl.removeAttribute(\\"style\\");                }                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                    });                });            } else {                criteoEl.parentNode.removeChild(criteoEl);            }        };        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\\" style=\\"display: none;\\"><script>        (function () {            var insertedElement = document.getElementById(\'ctstemp\');            var zoneForDevice = \'\';            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        zoneForDevice = \'5043044\';                        break;                    case \'mobile\':                        zoneForDevice = \'${adv_zone_id_for_mobile}\';                        break;                    case \'tablet\':                        zoneForDevice = \'5043044\';                        break;                }            }            if (zoneForDevice == \'\' || isSubscribed) {                insertedElement.parentNode.removeChild(insertedElement);            } else {                insertedElement.id = \'zone\' + zoneForDevice;                if (insertedElement.getAttribute(\\"ctsStyle\\") != null) {                    insertedElement.style = insertedElement.getAttribute(\\"ctsStyle\\");                    insertedElement.removeAttribute(\\"ctsStyle\\");                } else {                    insertedElement.removeAttribute(\\"style\\");                }            }        })();    </script></div>\"}]';
  this.positions_weighted['content020'] = false;
  
  this.positions['content030'] = '[{\"service_name\": \"Rubicon\", \"weight\": null, \"source\": \"<div id=\\"RubiconAdTemp\\" class=\\"rubAd\\" ctsStyle=\\"width: 100%;text-align: center;margin-bottom:10px;\\" style=\\"display: none;\\"><div style=\\"text-align: right; font-size: 8px; color: #C6C6C6; margin: 0 auto;\\">HIRDET&#xC9;S</div><script language=\\"JavaScript\\" type=\\"text/javascript\\">        (function () {            var rubiconZoneSize = \'\';            var rubiconSite = \'152546\';            var rubiconSiteMobile = \'152548\';            var rubiconAdType = \'${rubicon_ad_type}\';            var tplElement = document.getElementById(\\"RubiconAdTemp\\");            var advParts = {};            var insertedGoogle = false;            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (rubiconAdType == \'\') {                rubiconAdType = \'js\';            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        rubiconZoneSize = \'741524-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 = \'741524-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) {                    if (!isSubscribed) {                        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\');                        if (tplElement.getAttribute(\\"ctsStyle\\") != null) {                            tplElement.style = tplElement.getAttribute(\\"ctsStyle\\");                            tplElement.removeAttribute(\\"ctsStyle\\");                        } else {                            tplElement.removeAttribute(\\"style\\");                        }                        tplElement.appendChild(advParts.initScript);                        tplElement.appendChild(advParts.body);                        (adsbygoogle = window.adsbygoogle || []).push({});                        tplElement.removeAttribute(\'id\');                    }                }            }            if (!insertedGoogle) {                if (!isSubscribed && (typeof noRUBICON == \'undefined\' || noRUBICON === false) && rubiconZoneSize.split(\'-\')[0] != \'\') {                    rp_account = \'13818\';                    rp_site = rubiconSite;                    rp_zonesize = rubiconZoneSize;                    rp_adtype = rubiconAdType;                    if (tplElement.getAttribute(\\"ctsStyle\\") != null) {                        tplElement.style = tplElement.getAttribute(\\"ctsStyle\\");                        tplElement.removeAttribute(\\"ctsStyle\\");                    } else {                        tplElement.removeAttribute(\\"style\\");                    }                    tplElement.removeAttribute(\'id\');                } else {                    tplElement.remove();                }            }        })();    </script><script type=\\"text/javascript\\" src=\\"//ads.rubiconproject.com/ad/13818.js\\"></script></div>\"}]';
  this.positions_weighted['content030'] = false;
  
  this.positions['content040'] = '[{\"service_name\": \"Sanoma/Hirstart\", \"weight\": null, \"source\": \"<div id=\'hirstart_rss_partner_box\' class=\\"_ce_measure_widget\\" data-ce-measure-widget=\\"hirstart_rss_partner_box\\" style=\\"${rss_css}\\"></div><script>    (function () {        var src = \'\',        insertedElement = document.getElementById(\'hirstart_rss_partner_box\');        if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {            switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    src = \'${rss_url}\';                    break;                case \'mobile\':                    src = \'//box.hirstart.hu/site/jsembed_news.php?pid=8&id=1392\';                    break;                case \'tablet\':                    src = \'${rss_url}\';                    break;            }        }        if (src != \'\') {            insertedElement.id = \\"hirstartbox-8-1392\\";            var s = document.createElement(\\"script\\");            s.type = \\"text/javascript\\";            s.async = true;            s.src = src;            document.getElementsByTagName(\\"head\\")[0].appendChild(s);        } else {            insertedElement.parentNode.removeChild(insertedElement);        }    })();</script>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" ctsStyle=\\"${google_adx_style}\\" style=\\"display: none;\\"><div style=\\"text-align: right; font-size: 8px; color: #C6C6C6; margin: 0 auto;\\">HIRDET&#xC9;S</div><script type=\\"text/javascript\\">        (function () {            var slotForDevice = \'\';            var gadxErr = false;            var dimensionForDevice = {                width: parseInt(336) || 0,                height: parseInt(280) || 0            };            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        slotForDevice = \'6176377800\';                        break;                    case \'mobile\':                        slotForDevice = \'${google_adx_slot_default_for_mobile}\';                        dimensionForDevice.width = 300;                        dimensionForDevice.height = 250;                        if (\'${google_ad_width_mobile}\'.length > 0 && \'${google_ad_height_mobile}\'.length > 0) {                            dimensionForDevice.width = parseInt(${google_ad_width_mobile});                            dimensionForDevice.height = parseInt(${google_ad_height_mobile});                        }                        break;                    case \'tablet\':                        if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                            slotForDevice = \'${google_adx_slot_default_for_tablet}\';                        } else {                            slotForDevice = \'6176377800\';                        }                        break;                }                try {                } catch (err) {                    gadxErr = true;                }            }            if (!isSubscribed && (typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\' && dimensionForDevice.width > 0 && dimensionForDevice.height > 0) {                var advParts = {};                var gadxDiv = document.getElementById(\'ctsGadxTemp\');                gadxDiv.firstElementChild.style.width = dimensionForDevice.width + \'px\';                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(${google_max_num_ads}) || 1);                if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {                    advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');                }                if (gadxDiv.getAttribute(\\"ctsStyle\\") != null) {                    gadxDiv.style = gadxDiv.getAttribute(\\"ctsStyle\\");                    gadxDiv.removeAttribute(\\"ctsStyle\\");                } else {                    gadxDiv.removeAttribute(\\"style\\");                }                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></div>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"cts_content_recomm\\" class=\\"ctsGadx\\" ctsStyle=\\"display:block;margin-top:30px;margin-bottom:30px;${custom_css}\\"    style=\\"display: none;\\"><script type=\\"text/javascript\\">        (function () {            var slotForDevice = {                desktop: \'${google_adsense_content_recommendation}\',                mobile: \'9296695975\',                tablet: \'9296695975\'            },                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\\"}\'                },                isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            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;                        break;                    case \'tablet\':                        slot = slotForDevice.mobile;                        parameter = googleUniqueParameters.mobile;                        break;                }            }            if (!isSubscribed && (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);                if (recommDiv.getAttribute(\\"ctsStyle\\") != null) {                    recommDiv.style = recommDiv.getAttribute(\\"ctsStyle\\");                    recommDiv.removeAttribute(\\"ctsStyle\\");                } else {                    recommDiv.removeAttribute(\\"style\\");                }                (adsbygoogle = window.adsbygoogle || []).push({});                recommDiv.removeAttribute(\'id\');            } else {                recommDiv.parentNode.removeChild(recommDiv);            }        })();    </script></div>\"}]';
  this.positions_weighted['content040'] = false;
  
  this.positions['content050'] = '[{\"service_name\": \"Sanoma/Hirstart\", \"weight\": null, \"source\": \"<div id=\'hirstart_rss_partner_box\' class=\\"_ce_measure_widget\\" data-ce-measure-widget=\\"hirstart_rss_partner_box\\" style=\\"${rss_css}\\"></div><script>    (function () {        var src = \'\',        insertedElement = document.getElementById(\'hirstart_rss_partner_box\');        if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {            switch (_ceDeviceDetect.getDeviceType()) {                case \'desktop\':                    src = \'//box.hirstart.hu/site/jsembed_news.php?pid=8&id=1392\';                    break;                case \'mobile\':                    src = \'${rss_url_mobile}\';                    break;                case \'tablet\':                    src = \'//box.hirstart.hu/site/jsembed_news.php?pid=8&id=1392\';                    break;            }        }        if (src != \'\') {            insertedElement.id = \\"hirstartbox-8-1392\\";            var s = document.createElement(\\"script\\");            s.type = \\"text/javascript\\";            s.async = true;            s.src = src;            document.getElementsByTagName(\\"head\\")[0].appendChild(s);        } else {            insertedElement.parentNode.removeChild(insertedElement);        }    })();</script>\"}, {\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" style=\\"display: none;\\"><script>        (function () {            var insertedElement = document.getElementById(\'ctstemp\');            var zoneForDevice = \'\';            var dataAdsvName = \'\';            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        zoneForDevice = \'5043035\';                        dataAdsvName = \'${adverticum_name}\';                        break;                    case \'mobile\':                        zoneForDevice = \'5253630\';                        dataAdsvName = \'${adverticum_name_mobile}\';                        break;                    case \'tablet\':                        zoneForDevice = \'5043035\';                        dataAdsvName = \'${adverticum_name_tablet}\';                        if (dataAdsvName == \\"\\") {                            dataAdsvName = \'${adverticum_name}\';                        }                        break;                }            }            if (zoneForDevice == \'\' || isSubscribed) {                insertedElement.parentNode.removeChild(insertedElement);            } else {                insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);                insertedElement.id = \'zone\' + zoneForDevice;                if (insertedElement.getAttribute(\\"ctsStyle\\") != null) {                    insertedElement.style = insertedElement.getAttribute(\\"ctsStyle\\");                    insertedElement.removeAttribute(\\"ctsStyle\\");                } else {                    insertedElement.removeAttribute(\\"style\\");                }            }        })();    </script></div>\"}, {\"service_name\": \"Criteo\", \"weight\": null, \"source\": \"<div id=\\"criteoTPL\\" ctsStyle=\\"width:0px;height:0px;margin:0 auto;overflow:hidden;${custom_css}\\" style=\\"display: none;\\"></div><script type=\\"text/javascript\\">    (function () {        var zoneid = 1470404,            height = 360,            width = 640,            criteoEl = document.getElementById(\\"criteoTPL\\"),            domReady = \\"${criteo_dom_ready}\\",            mutationTimeout = 5000,            mutationConf = { attributes: true, childList: true, subtree: true },            isSubscribed = false;        if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {            isSubscribed = true;        }        var insertCriteoBanner = function () {            if (!isSubscribed) {                criteoEl.id += Math.floor(Math.random() * 1000000);                if (criteoEl.getAttribute(\\"ctsStyle\\") != null) {                    criteoEl.style = criteoEl.getAttribute(\\"ctsStyle\\");                    criteoEl.removeAttribute(\\"ctsStyle\\");                } else {                    criteoEl.removeAttribute(\\"style\\");                }                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                    });                });            } else {                criteoEl.parentNode.removeChild(criteoEl);            }        };        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['content050'] = false;
  
  this.positions['content-gallery010'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" ctsStyle=\\"${google_adx_style}\\" style=\\"display: none;\\"><div style=\\"text-align: right; font-size: 8px; color: #C6C6C6; margin: 0 auto;\\">HIRDET&#xC9;S</div><script type=\\"text/javascript\\">        (function () {            var slotForDevice = \'\';            var gadxErr = false;            var dimensionForDevice = {                width: parseInt(300) || 0,                height: parseInt(250) || 0            };            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        slotForDevice = \'${google_adx_slot_default_for_desktop}\';                        break;                    case \'mobile\':                        slotForDevice = \'${google_adx_slot_default_for_mobile}\';                        dimensionForDevice.width = 300;                        dimensionForDevice.height = 250;                        if (\'${google_ad_width_mobile}\'.length > 0 && \'${google_ad_height_mobile}\'.length > 0) {                            dimensionForDevice.width = parseInt(${google_ad_width_mobile});                            dimensionForDevice.height = parseInt(${google_ad_height_mobile});                        }                        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;                }                try {                } catch (err) {                    gadxErr = true;                }            }            if (!isSubscribed && (typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\' && dimensionForDevice.width > 0 && dimensionForDevice.height > 0) {                var advParts = {};                var gadxDiv = document.getElementById(\'ctsGadxTemp\');                gadxDiv.firstElementChild.style.width = dimensionForDevice.width + \'px\';                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(${google_max_num_ads}) || 1);                if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {                    advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');                }                if (gadxDiv.getAttribute(\\"ctsStyle\\") != null) {                    gadxDiv.style = gadxDiv.getAttribute(\\"ctsStyle\\");                    gadxDiv.removeAttribute(\\"ctsStyle\\");                } else {                    gadxDiv.removeAttribute(\\"style\\");                }                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></div>\"}]';
  this.positions_weighted['content-gallery010'] = false;
  
  this.positions['content-dynamic010'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\"    ctsStyle=\\"width:100%;text-align: center;margin-top:15px;display:inline-block;${custom_css}\\" style=\\"display: none;\\"><script>\t\t(function () {\t\t\tvar slotForDevice = \'\';\t\t\tvar gadxErr = false;\t\t\tvar dimensionForDevice = {\t\t\t\twidth: parseInt(970),\t\t\t\tmobileWidth: parseInt(300),\t\t\t\tminWidth: parseInt(${google_ad_min_width}),\t\t\t\theight: parseInt(90),\t\t\t\tmobileHeight: parseInt(250)\t\t\t};\t\t\tvar isSubscribed = false;\t\t\tif (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {\t\t\t\tisSubscribed = true;\t\t\t}\t\t\tif (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {\t\t\t\tswitch (_ceDeviceDetect.getDeviceType()) {\t\t\t\t\tcase \'desktop\':\t\t\t\t\t\tslotForDevice = \'2122061654\';\t\t\t\t\t\tbreak;\t\t\t\t\tcase \'mobile\':\t\t\t\t\t\tslotForDevice = \'6749246961\';\t\t\t\t\t\tdimensionForDevice.width = 300;\t\t\t\t\t\tdimensionForDevice.minWidth = 300;\t\t\t\t\t\tdimensionForDevice.height = 250;\t\t\t\t\t\tif (!isNaN(dimensionForDevice.mobileWidth)) {\t\t\t\t\t\t\tdimensionForDevice.width = dimensionForDevice.mobileWidth;\t\t\t\t\t\t}\t\t\t\t\t\tif (!isNaN(dimensionForDevice.mobileHeight)) {\t\t\t\t\t\t\tdimensionForDevice.height = dimensionForDevice.mobileHeight;\t\t\t\t\t\t}\t\t\t\t\t\tbreak;\t\t\t\t\tcase \'tablet\':\t\t\t\t\t\tif (\'${google_adx_slot_default_for_tablet}\' != \'\') {\t\t\t\t\t\t\tslotForDevice = \'${google_adx_slot_default_for_tablet}\';\t\t\t\t\t\t} else {\t\t\t\t\t\t\tslotForDevice = \'2122061654\';\t\t\t\t\t\t}\t\t\t\t\t\tbreak;\t\t\t\t}\t\t\t}\t\t\tif (!isSubscribed && (typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\') {\t\t\t\tvar advParts = {};\t\t\t\tvar gadxDiv = document.getElementById(\'ctsGadxTemp\');\t\t\t\tadvParts.initScript = document.createElement(\'script\');\t\t\t\tadvParts.initScript.src = \'//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\';\t\t\t\tadvParts.initScript.async = \'true\';\t\t\t\tadvParts.body = document.createElement(\'ins\');\t\t\t\tadvParts.body.className = \'adsbygoogle\';\t\t\t\tadvParts.body.style.display = \'inline-block\';\t\t\t\tadvParts.body.style.height = dimensionForDevice.height + \'px\';\t\t\t\tif (!isNaN(dimensionForDevice.minWidth) && !isNaN(dimensionForDevice.width)) {\t\t\t\t\tadvParts.body.style.maxWidth = dimensionForDevice.width + \'px\';\t\t\t\t\tadvParts.body.style.minWidth = dimensionForDevice.minWidth + \'px\';\t\t\t\t\tadvParts.body.style.width = \'100%\';\t\t\t\t} else {\t\t\t\t\tadvParts.body.style.width = dimensionForDevice.width + \'px\';\t\t\t\t}\t\t\t\tadvParts.body.setAttribute(\'data-ad-client\', \'ca-pub-8962558862962174\');\t\t\t\tadvParts.body.setAttribute(\'data-ad-slot\', slotForDevice);\t\t\t\tadvParts.body.setAttribute(\'data-max-num-ads\', parseInt(${google_max_num_ads}));\t\t\t\tif (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {\t\t\t\t\tadvParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');\t\t\t\t}\t\t\t\tif (gadxDiv.getAttribute(\\"ctsStyle\\") != null) {\t\t\t\t\tgadxDiv.style = gadxDiv.getAttribute(\\"ctsStyle\\");\t\t\t\t\tgadxDiv.removeAttribute(\\"ctsStyle\\");\t\t\t\t} else {\t\t\t\t\tgadxDiv.removeAttribute(\\"style\\");\t\t\t\t}\t\t\t\tgadxDiv.appendChild(advParts.initScript);\t\t\t\tgadxDiv.appendChild(advParts.body);\t\t\t\t(adsbygoogle = window.adsbygoogle || []).push({});\t\t\t\tgadxDiv.removeAttribute(\'id\');\t\t\t} else {\t\t\t\tvar adxElement = document.getElementById(\'ctsGadxTemp\');\t\t\t\tadxElement.parentNode.removeChild(adxElement);\t\t\t}\t\t})();    </script></div>\"}]';
  this.positions_weighted['content-dynamic010'] = false;
  
  this.positions['content-dynamic020'] = '[]';
  this.positions_weighted['content-dynamic020'] = false;
  
  this.positions['list-content030'] = '[]';
  this.positions_weighted['list-content030'] = false;
  
  this.positions['list-content040'] = '[]';
  this.positions_weighted['list-content040'] = false;
  
  this.positions['content060'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" ctsStyle=\\"${google_adx_style}\\" style=\\"display: none;\\"><div style=\\"text-align: right; font-size: 8px; color: #C6C6C6; margin: 0 auto;\\">HIRDET&#xC9;S</div><script type=\\"text/javascript\\">        (function () {            var slotForDevice = \'\';            var gadxErr = false;            var dimensionForDevice = {                width: parseInt(${google_ad_width}) || 0,                height: parseInt(280) || 0            };            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        slotForDevice = \'2436443348\';                        break;                    case \'mobile\':                        slotForDevice = \'${google_adx_slot_default_for_mobile}\';                        dimensionForDevice.width = 300;                        dimensionForDevice.height = 250;                        if (\'336\'.length > 0 && \'${google_ad_height_mobile}\'.length > 0) {                            dimensionForDevice.width = parseInt(336);                            dimensionForDevice.height = parseInt(${google_ad_height_mobile});                        }                        break;                    case \'tablet\':                        if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                            slotForDevice = \'${google_adx_slot_default_for_tablet}\';                        } else {                            slotForDevice = \'2436443348\';                        }                        break;                }                try {                } catch (err) {                    gadxErr = true;                }            }            if (!isSubscribed && (typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\' && dimensionForDevice.width > 0 && dimensionForDevice.height > 0) {                var advParts = {};                var gadxDiv = document.getElementById(\'ctsGadxTemp\');                gadxDiv.firstElementChild.style.width = dimensionForDevice.width + \'px\';                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(${google_max_num_ads}) || 1);                if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {                    advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');                }                if (gadxDiv.getAttribute(\\"ctsStyle\\") != null) {                    gadxDiv.style = gadxDiv.getAttribute(\\"ctsStyle\\");                    gadxDiv.removeAttribute(\\"ctsStyle\\");                } else {                    gadxDiv.removeAttribute(\\"style\\");                }                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></div>\"}]';
  this.positions_weighted['content060'] = false;
  
  this.positions['content-sponsore010'] = '[]';
  this.positions_weighted['content-sponsore010'] = false;
  
  this.positions['right050'] = '[{\"service_name\": \"Rubicon\", \"weight\": null, \"source\": \"<div id=\\"RubiconAdTemp\\" class=\\"rubAd\\" ctsStyle=\\"width: 100%;text-align: center;${custom_css}\\" style=\\"display: none;\\"><div style=\\"text-align: right; font-size: 8px; color: #C6C6C6; margin: 0 auto;\\">HIRDET&#xC9;S</div><script language=\\"JavaScript\\" type=\\"text/javascript\\">        (function () {            var rubiconZoneSize = \'\';            var rubiconSite = \'152546\';            var rubiconSiteMobile = \'152548\';            var rubiconAdType = \'${rubicon_ad_type}\';            var tplElement = document.getElementById(\\"RubiconAdTemp\\");            var advParts = {};            var insertedGoogle = false;            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (rubiconAdType == \'\') {                rubiconAdType = \'js\';            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        rubiconZoneSize = \'741516-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 = \'741516-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) {                    if (!isSubscribed) {                        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\');                        if (tplElement.getAttribute(\\"ctsStyle\\") != null) {                            tplElement.style = tplElement.getAttribute(\\"ctsStyle\\");                            tplElement.removeAttribute(\\"ctsStyle\\");                        } else {                            tplElement.removeAttribute(\\"style\\");                        }                        tplElement.appendChild(advParts.initScript);                        tplElement.appendChild(advParts.body);                        (adsbygoogle = window.adsbygoogle || []).push({});                        tplElement.removeAttribute(\'id\');                    }                }            }            if (!insertedGoogle) {                if (!isSubscribed && (typeof noRUBICON == \'undefined\' || noRUBICON === false) && rubiconZoneSize.split(\'-\')[0] != \'\') {                    rp_account = \'13818\';                    rp_site = rubiconSite;                    rp_zonesize = rubiconZoneSize;                    rp_adtype = rubiconAdType;                    if (tplElement.getAttribute(\\"ctsStyle\\") != null) {                        tplElement.style = tplElement.getAttribute(\\"ctsStyle\\");                        tplElement.removeAttribute(\\"ctsStyle\\");                    } else {                        tplElement.removeAttribute(\\"style\\");                    }                    tplElement.removeAttribute(\'id\');                } else {                    tplElement.remove();                }            }        })();    </script><script type=\\"text/javascript\\" src=\\"//ads.rubiconproject.com/ad/13818.js\\"></script></div>\"}]';
  this.positions_weighted['right050'] = false;
  
  this.positions['right060'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\" style=\\"display: none;\\"><script>        (function () {            var insertedElement = document.getElementById(\'ctstemp\');            var zoneForDevice = \'\';            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        zoneForDevice = \'5055850\';                        break;                    case \'mobile\':                        zoneForDevice = \'${adv_zone_id_for_mobile}\';                        break;                    case \'tablet\':                        zoneForDevice = \'5055850\';                        break;                }            }            if (zoneForDevice == \'\' || isSubscribed) {                insertedElement.parentNode.removeChild(insertedElement);            } else {                insertedElement.id = \'zone\' + zoneForDevice;                if (insertedElement.getAttribute(\\"ctsStyle\\") != null) {                    insertedElement.style = insertedElement.getAttribute(\\"ctsStyle\\");                    insertedElement.removeAttribute(\\"ctsStyle\\");                } else {                    insertedElement.removeAttribute(\\"style\\");                }            }        })();    </script></div>\"}]';
  this.positions_weighted['right060'] = false;
  
  this.positions['content070'] = '[{\"service_name\": \"Rubicon\", \"weight\": null, \"source\": \"<div id=\\"RubiconAdTemp\\" class=\\"rubAd\\" ctsStyle=\\"width: 100%;text-align: center;${custom_css}\\" style=\\"display: none;\\"><div style=\\"text-align: right; font-size: 8px; color: #C6C6C6; margin: 0 auto;\\">HIRDET&#xC9;S</div><script language=\\"JavaScript\\" type=\\"text/javascript\\">        (function () {            var rubiconZoneSize = \'\';            var rubiconSite = \'152546\';            var rubiconSiteMobile = \'152548\';            var rubiconAdType = \'${rubicon_ad_type}\';            var tplElement = document.getElementById(\\"RubiconAdTemp\\");            var advParts = {};            var insertedGoogle = false;            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (rubiconAdType == \'\') {                rubiconAdType = \'js\';            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        rubiconZoneSize = \'741840-15\';                        break;                    case \'mobile\':                        rubiconZoneSize = \'${rubicon_ad_zone_mobile}\';                        rubiconZoneSize = rubiconZoneSize.split(\'-\')[0] + \'-15\';                        break;                    case \'tablet\':                        rubiconZoneSize = \'${rubicon_ad_zone_tablet}\';                        if (rubiconZoneSize == \'\') {                            rubiconZoneSize = \'741840-15\';                        }                        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) {                    if (!isSubscribed) {                        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\');                        if (tplElement.getAttribute(\\"ctsStyle\\") != null) {                            tplElement.style = tplElement.getAttribute(\\"ctsStyle\\");                            tplElement.removeAttribute(\\"ctsStyle\\");                        } else {                            tplElement.removeAttribute(\\"style\\");                        }                        tplElement.appendChild(advParts.initScript);                        tplElement.appendChild(advParts.body);                        (adsbygoogle = window.adsbygoogle || []).push({});                        tplElement.removeAttribute(\'id\');                    }                }            }            if (!insertedGoogle) {                if (!isSubscribed && (typeof noRUBICON == \'undefined\' || noRUBICON === false) && rubiconZoneSize.split(\'-\')[0] != \'\') {                    rp_account = \'13818\';                    rp_site = rubiconSite;                    rp_zonesize = rubiconZoneSize;                    rp_adtype = rubiconAdType;                    if (tplElement.getAttribute(\\"ctsStyle\\") != null) {                        tplElement.style = tplElement.getAttribute(\\"ctsStyle\\");                        tplElement.removeAttribute(\\"ctsStyle\\");                    } else {                        tplElement.removeAttribute(\\"style\\");                    }                    tplElement.removeAttribute(\'id\');                } else {                    tplElement.remove();                }            }        })();    </script><script type=\\"text/javascript\\" src=\\"//ads.rubiconproject.com/ad/13818.js\\"></script></div>\"}]';
  this.positions_weighted['content070'] = false;
  
  this.positions['content080'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" ctsStyle=\\"${google_adx_style}\\" style=\\"display: none;\\"><div style=\\"text-align: right; font-size: 8px; color: #C6C6C6; margin: 0 auto;\\">HIRDET&#xC9;S</div><script type=\\"text/javascript\\">        (function () {            var slotForDevice = \'\';            var gadxErr = false;            var dimensionForDevice = {                width: parseInt(300) || 0,                height: parseInt(250) || 0            };            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        slotForDevice = \'7968450556\';                        break;                    case \'mobile\':                        slotForDevice = \'${google_adx_slot_default_for_mobile}\';                        dimensionForDevice.width = 300;                        dimensionForDevice.height = 250;                        if (\'${google_ad_width_mobile}\'.length > 0 && \'${google_ad_height_mobile}\'.length > 0) {                            dimensionForDevice.width = parseInt(${google_ad_width_mobile});                            dimensionForDevice.height = parseInt(${google_ad_height_mobile});                        }                        break;                    case \'tablet\':                        if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                            slotForDevice = \'${google_adx_slot_default_for_tablet}\';                        } else {                            slotForDevice = \'7968450556\';                        }                        break;                }                try {                } catch (err) {                    gadxErr = true;                }            }            if (!isSubscribed && (typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\' && dimensionForDevice.width > 0 && dimensionForDevice.height > 0) {                var advParts = {};                var gadxDiv = document.getElementById(\'ctsGadxTemp\');                gadxDiv.firstElementChild.style.width = dimensionForDevice.width + \'px\';                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(${google_max_num_ads}) || 1);                if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {                    advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');                }                if (gadxDiv.getAttribute(\\"ctsStyle\\") != null) {                    gadxDiv.style = gadxDiv.getAttribute(\\"ctsStyle\\");                    gadxDiv.removeAttribute(\\"ctsStyle\\");                } else {                    gadxDiv.removeAttribute(\\"style\\");                }                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></div>\"}]';
  this.positions_weighted['content080'] = false;
  
  this.positions['content090'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" ctsStyle=\\"${google_adx_style}\\" style=\\"display: none;\\"><div style=\\"text-align: right; font-size: 8px; color: #C6C6C6; margin: 0 auto;\\">HIRDET&#xC9;S</div><script type=\\"text/javascript\\">        (function () {            var slotForDevice = \'\';            var gadxErr = false;            var dimensionForDevice = {                width: parseInt(336) || 0,                height: parseInt(280) || 0            };            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        slotForDevice = \'3076761115\';                        break;                    case \'mobile\':                        slotForDevice = \'${google_adx_slot_default_for_mobile}\';                        dimensionForDevice.width = 300;                        dimensionForDevice.height = 250;                        if (\'${google_ad_width_mobile}\'.length > 0 && \'${google_ad_height_mobile}\'.length > 0) {                            dimensionForDevice.width = parseInt(${google_ad_width_mobile});                            dimensionForDevice.height = parseInt(${google_ad_height_mobile});                        }                        break;                    case \'tablet\':                        if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                            slotForDevice = \'${google_adx_slot_default_for_tablet}\';                        } else {                            slotForDevice = \'3076761115\';                        }                        break;                }                try {                } catch (err) {                    gadxErr = true;                }            }            if (!isSubscribed && (typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\' && dimensionForDevice.width > 0 && dimensionForDevice.height > 0) {                var advParts = {};                var gadxDiv = document.getElementById(\'ctsGadxTemp\');                gadxDiv.firstElementChild.style.width = dimensionForDevice.width + \'px\';                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(${google_max_num_ads}) || 1);                if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {                    advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');                }                if (gadxDiv.getAttribute(\\"ctsStyle\\") != null) {                    gadxDiv.style = gadxDiv.getAttribute(\\"ctsStyle\\");                    gadxDiv.removeAttribute(\\"ctsStyle\\");                } else {                    gadxDiv.removeAttribute(\\"style\\");                }                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></div>\"}]';
  this.positions_weighted['content090'] = false;
  
  this.positions['list-content010'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum\\" style=\\"display: none;\\"><script>        (function () {            var insertedElement = document.getElementById(\'ctstemp\');            var zoneForDevice = \'\';            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        zoneForDevice = \'${adv_zone_id_for_desktop}\';                        break;                    case \'mobile\':                        zoneForDevice = \'5043083\';                        break;                    case \'tablet\':                        zoneForDevice = \'${adv_zone_id_for_tablet}\';                        break;                }            }            if (zoneForDevice == \'\' || isSubscribed) {                insertedElement.parentNode.removeChild(insertedElement);            } else {                insertedElement.id = \'zone\' + zoneForDevice;                if (insertedElement.getAttribute(\\"ctsStyle\\") != null) {                    insertedElement.style = insertedElement.getAttribute(\\"ctsStyle\\");                    insertedElement.removeAttribute(\\"ctsStyle\\");                } else {                    insertedElement.removeAttribute(\\"style\\");                }            }        })();    </script></div>\"}, {\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" ctsStyle=\\"${google_adx_style}\\" style=\\"display: none;\\"><div style=\\"text-align: right; font-size: 8px; color: #C6C6C6; margin: 0 auto;\\">HIRDET&#xC9;S</div><script type=\\"text/javascript\\">        (function () {            var slotForDevice = \'\';            var gadxErr = false;            var dimensionForDevice = {                width: parseInt(336) || 0,                height: parseInt(280) || 0            };            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        slotForDevice = \'3095397828\';                        break;                    case \'mobile\':                        slotForDevice = \'${google_adx_slot_default_for_mobile}\';                        dimensionForDevice.width = 300;                        dimensionForDevice.height = 250;                        if (\'${google_ad_width_mobile}\'.length > 0 && \'${google_ad_height_mobile}\'.length > 0) {                            dimensionForDevice.width = parseInt(${google_ad_width_mobile});                            dimensionForDevice.height = parseInt(${google_ad_height_mobile});                        }                        break;                    case \'tablet\':                        if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                            slotForDevice = \'${google_adx_slot_default_for_tablet}\';                        } else {                            slotForDevice = \'3095397828\';                        }                        break;                }                try {                } catch (err) {                    gadxErr = true;                }            }            if (!isSubscribed && (typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\' && dimensionForDevice.width > 0 && dimensionForDevice.height > 0) {                var advParts = {};                var gadxDiv = document.getElementById(\'ctsGadxTemp\');                gadxDiv.firstElementChild.style.width = dimensionForDevice.width + \'px\';                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(${google_max_num_ads}) || 1);                if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {                    advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');                }                if (gadxDiv.getAttribute(\\"ctsStyle\\") != null) {                    gadxDiv.style = gadxDiv.getAttribute(\\"ctsStyle\\");                    gadxDiv.removeAttribute(\\"ctsStyle\\");                } else {                    gadxDiv.removeAttribute(\\"style\\");                }                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></div>\"}]';
  this.positions_weighted['list-content010'] = false;
  
  this.positions['list-content020'] = '[{\"service_name\": \"Google Adverts\", \"weight\": null, \"source\": \"<div id=\\"ctsGadxTemp\\" class=\\"ctsGadx\\" ctsStyle=\\"${google_adx_style}\\" style=\\"display: none;\\"><div style=\\"text-align: right; font-size: 8px; color: #C6C6C6; margin: 0 auto;\\">HIRDET&#xC9;S</div><script type=\\"text/javascript\\">        (function () {            var slotForDevice = \'\';            var gadxErr = false;            var dimensionForDevice = {                width: parseInt(336) || 0,                height: parseInt(280) || 0            };            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData() != undefined && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        slotForDevice = \'8056435686\';                        break;                    case \'mobile\':                        slotForDevice = \'${google_adx_slot_default_for_mobile}\';                        dimensionForDevice.width = 300;                        dimensionForDevice.height = 250;                        if (\'${google_ad_width_mobile}\'.length > 0 && \'${google_ad_height_mobile}\'.length > 0) {                            dimensionForDevice.width = parseInt(${google_ad_width_mobile});                            dimensionForDevice.height = parseInt(${google_ad_height_mobile});                        }                        break;                    case \'tablet\':                        if (\'${google_adx_slot_default_for_tablet}\' != \'\') {                            slotForDevice = \'${google_adx_slot_default_for_tablet}\';                        } else {                            slotForDevice = \'8056435686\';                        }                        break;                }                try {                } catch (err) {                    gadxErr = true;                }            }            if (!isSubscribed && (typeof noADX == \'undefined\' || noADX === false) && slotForDevice != \'\' && dimensionForDevice.width > 0 && dimensionForDevice.height > 0) {                var advParts = {};                var gadxDiv = document.getElementById(\'ctsGadxTemp\');                gadxDiv.firstElementChild.style.width = dimensionForDevice.width + \'px\';                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(${google_max_num_ads}) || 1);                if (typeof \'${google_ad_page_url}\' !== \'undefined\' && \'${google_ad_page_url}\' != \'\') {                    advParts.body.setAttribute(\'data-page-url\', \'${google_ad_page_url}\');                }                if (gadxDiv.getAttribute(\\"ctsStyle\\") != null) {                    gadxDiv.style = gadxDiv.getAttribute(\\"ctsStyle\\");                    gadxDiv.removeAttribute(\\"ctsStyle\\");                } else {                    gadxDiv.removeAttribute(\\"style\\");                }                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></div>\"}]';
  this.positions_weighted['list-content020'] = false;
  
  this.positions['right015'] = '[{\"service_name\": \"Adverticum AdServer\", \"weight\": null, \"source\": \"<div id=\\"ctstemp\\" class=\\"goAdverticum a8a263be\\" style=\\"display: none;\\"><script>        (function () {            var insertedElement = document.getElementById(\'ctstemp\');            var zoneForDevice = \'\';            var dataAdsvName = \'\';            var isSubscribed = false;            if (typeof _ceSubscriptionDetect != \'undefined\' && _ceSubscriptionDetect.getSubscriptionData().isSubscribed) {                isSubscribed = true;            }            if (typeof _ceDeviceDetect.getDeviceType() !== \'undefined\') {                switch (_ceDeviceDetect.getDeviceType()) {                    case \'desktop\':                        zoneForDevice = \'5253630\';                        dataAdsvName = \'${adverticum_name}\';                        break;                    case \'mobile\':                        zoneForDevice = \'5253630\';                        dataAdsvName = \'${adverticum_name_mobile}\';                        break;                    case \'tablet\':                        zoneForDevice = \'5253630\';                        dataAdsvName = \'${adverticum_name_tablet}\';                        if (dataAdsvName == \\"\\") {                            dataAdsvName = \'${adverticum_name}\';                        }                        break;                }            }            if (zoneForDevice == \'\' || isSubscribed) {                insertedElement.parentNode.removeChild(insertedElement);            } else {                insertedElement.setAttribute(\'data-adsv-name\', dataAdsvName);                insertedElement.id = \'zone\' + zoneForDevice;                if (insertedElement.getAttribute(\\"ctsStyle\\") != null) {                    insertedElement.style = insertedElement.getAttribute(\\"ctsStyle\\");                    insertedElement.removeAttribute(\\"ctsStyle\\");                } else {                    insertedElement.removeAttribute(\\"style\\");                }            }        })();    </script></div>\"}]';
  this.positions_weighted['right015'] = false;
  
  this.positions['right-bottom'] = '[]';
  this.positions_weighted['right-bottom'] = false;
  
  this.positions['content-right-bottom'] = '[]';
  this.positions_weighted['content-right-bottom'] = false;
  
  this.positions['right045'] = '[]';
  this.positions_weighted['right045'] = false;
  
  this.positions['content065'] = '[]';
  this.positions_weighted['content065'] = 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;
}



