(function () { let commentURL = "https://comment.ifragasatt.se/count?customerId=14&articleId=1.91706864&adFrequency=5&alias=false&articleUrl=http://www.gp.se/ledare/så-breder-korruptionen-ut-sig-i-sverige-1.91706864&articleTitle=S%C3%A5+breder+korruptionen+ut+sig+i+Sverige&commentsToShow=3&cssUrl=https://www.gp.se/polopoly_fs/3.200.1672823470!/css/ifragasatt.css&articleDescription=%3Celement+xmlns%3D%22http%3A%2F%2Fwww.infomaker.se%2Fidf%2F1.0%22%0A+++++++++id%3D%22preamble-a5efff9f3af396a0b0f095f2284b9023%22%0A+++++++++type%3D%22preamble%22%3EHistorien+i+Botkyrka+%C3%A4r+dessv%C3%A4rre+bara+ett+exempel+p%C3%A5+oegentligheter+och+bedr%C3%A4gerier+som+f%C3%B6rekommit+i+Sverige+p%C3%A5+senare+tid.%3C%2Felement%3E&display=count&articleImage=/image/policy:1.91706853:1675828818/image.jpg?f=Wide&w=1200&$p$f$w=834285a&articlePublishedTime=2023-02-08 05:00:00&articleTags=Korruption%2C+Politik%2C+Organiserad+brottslighet%2C+GP+Ledare%2C+Socialdemokraterna&articleTitle=S%C3%A5+breder+korruptionen+ut+sig+i+Sverige&stickylogin=true&languageName=svenska&languageShortName=sv"; let allowSticky = commentURL.includes("stickylogin=true"); if (allowSticky) { let cookie = document.cookie .split('; ') .find(row => row.startsWith('ifragasatt_cookie=')); if (cookie) { let cookieValue = cookie.split('=')[1]; commentURL += "&cookie=" + cookieValue; } } function getDomain(url) { url = url.replace(/(https?:\/\/)?(www.)?/i, ''); if (url.indexOf('/') !== -1) { url = url.split('/')[0]; } return "." + url; } let ifrURL = ""; document.getElementById("ifragasatt-1.91706864").innerHTML = ifrURL; window.addEventListener('message', receiveMessage, false); function receiveMessage(evt) { const commentDiv = document.getElementById("ifragasatt-1.91706864"); let domain = window.location.hostname.replace(/(https?:\/\/)?(www.)?/i, ''); if (domain.indexOf('/') !== -1) { domain = domain.split('/')[0]; } if (evt.data.id === "ifragasatt-1.91706864" && commentDiv && commentDiv.firstChild) { document.getElementById("ifragasatt-1.91706864").firstChild.style.height = evt.data.height; } if (allowSticky && (evt.data.id === "ifr-set-cookie")) { const token = evt.data.token; if (token && token.length > 0) { const maxAge = 30 * 24 * 60 * 60; const cookie = "ifragasatt_cookie=" + token + "; max-age=" + maxAge + ";domain=." + domain + ";"; document.cookie = cookie; } } if (evt.data.id === "ifr-remove-cookie") { const cookie = "ifragasatt_cookie=;expires=Thu, 01 Jan 1970 00:00:01 GMT;max-age=-1;domain=." + domain + ";"; document.cookie = cookie; commentURL = "https://comment.ifragasatt.se/count?customerId=14&articleId=1.91706864&adFrequency=5&alias=false&articleUrl=http://www.gp.se/ledare/så-breder-korruptionen-ut-sig-i-sverige-1.91706864&articleTitle=S%C3%A5+breder+korruptionen+ut+sig+i+Sverige&commentsToShow=3&cssUrl=https://www.gp.se/polopoly_fs/3.200.1672823470!/css/ifragasatt.css&articleDescription=%3Celement+xmlns%3D%22http%3A%2F%2Fwww.infomaker.se%2Fidf%2F1.0%22%0A+++++++++id%3D%22preamble-a5efff9f3af396a0b0f095f2284b9023%22%0A+++++++++type%3D%22preamble%22%3EHistorien+i+Botkyrka+%C3%A4r+dessv%C3%A4rre+bara+ett+exempel+p%C3%A5+oegentligheter+och+bedr%C3%A4gerier+som+f%C3%B6rekommit+i+Sverige+p%C3%A5+senare+tid.%3C%2Felement%3E&display=count&articleImage=/image/policy:1.91706853:1675828818/image.jpg?f=Wide&w=1200&$p$f$w=834285a&articlePublishedTime=2023-02-08 05:00:00&articleTags=Korruption%2C+Politik%2C+Organiserad+brottslighet%2C+GP+Ledare%2C+Socialdemokraterna&articleTitle=S%C3%A5+breder+korruptionen+ut+sig+i+Sverige&stickylogin=true&languageName=svenska&languageShortName=sv"; ifrURL = ""; document.getElementById("ifragasatt-1.91706864").innerHTML = ifrURL; } } })();