function addDocumentEventListener() { const checkoutCss = document.createElement('link'); checkoutCss.rel='stylesheet'; checkoutCss.href = '//shop.pri.if.no/dist/checkoutapp.css?v=qudbCVFm7r4EEBT4ALu1Sm63o0D6KfCfpNyi37-dQyU'; document.body.appendChild(checkoutCss); const loginCss = document.createElement('link'); loginCss.rel='stylesheet'; loginCss.href = '//shop.pri.if.no/dist/login.css?v=Vtz8jmAnnz49Csw_MtI6SFmue7pn5XUgvfPezwycPsg'; document.body.appendChild(loginCss); const processCss = document.createElement('link'); processCss.rel='stylesheet'; processCss.href = '//shop.pri.if.no/dist/process.css?v=fvoipMfDZx2kw41Dx19TKMNLznBSgIuqfvO5D4uSKDY'; document.body.appendChild(processCss); const wsnoGlobalCss = document.createElement('link'); wsnoGlobalCss.rel = 'stylesheet'; wsnoGlobalCss.href = '//shop.pri.if.no/dist/wsno_global.css?v=biSfPgqW6SleR11dyPIgYl6T-QbMlrLiBpH9uS-nyFw'; document.body.appendChild(wsnoGlobalCss); }; document.addEventListener('DOMContentLoaded', addDocumentEventListener); const vendorScript = document.createElement('script'); vendorScript.src = '//shop.pri.if.no/dist/vendor.js?v=_LPZvbNJJVqyA2WjR4UXjzDKI2uH5lt-NQifklEcEB4'; vendorScript.async = false; vendorScript.defer = true; document.head.appendChild(vendorScript); const checkoutScript = document.createElement('script'); checkoutScript.src = '//shop.pri.if.no/dist/checkoutapp.js?v=VSILnEeeG-HJxIId6m6RTAA_gAzAKQMpyTlWG2VKEkY'; checkoutScript.async = false; checkoutScript.defer = true; document.head.appendChild(checkoutScript); window.webshopno = window.webshopno || {}; window.webshopno.hostUrl = 'https://shop.pri.if.no/'; window.webshopno.enableTenorSsn = 'False' === 'True'; window.shoppingCartNo = {}; window.shoppingCartNo.hostUrl = '//shop.pri.if.no'; window.shoppingCartNo.checkoutUrl = '/privat/forsikring/kassa'; window.shoppingCartNo.addMoreProductsUrl = '/privat/forsikring'; const indexScript = document.createElement('script'); indexScript.src = 'https://static.design.if.eu/ids-web-component/18.10.0/icon/index.js'; indexScript.async = false; indexScript.defer = true; indexScript.type = 'module'; document.head.appendChild(indexScript); const iifeScript = document.createElement('script'); iifeScript.src = 'https://static.design.if.eu/ids-web-component/18.10.0/icon/index.iife.js'; iifeScript.async = false; iifeScript.defer = true; iifeScript.nomodule = true; document.head.appendChild(iifeScript); const idsIconSprites = document.createElement('ids-icon-sprites'); document.head.appendChild(idsIconSprites);