function iqContentPlatformLoad(isArtikel) { var s = document.createElement('script'); s.type = 'text/javascript'; s.id = "iqContentPlatform"; s.async = true; s.src = document.location.protocol + '//cdn.iqcontentplatform.de/iq.js'; var sc = document.getElementsByTagName('script')[0]; sc.parentNode.insertBefore(s, sc); try { console.log("iqcontentplatform inserted "+(isArtikel?"Teaser":"Content"))} catch(e) {}; } (function() { var pathArr = location.pathname.split("/"); if (location.hostname.indexOf("iqcontentplatform.de") > -1 || (pathArr.length == 3 && (pathArr[1] == "anzeigen" || pathArr[1] == "iqanzeigen") && pathArr[2].lastIndexOf(".html") == pathArr[2].length-5)) { iqContentPlatformLoad(false); } })();