if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn02.plentymarkets.com/0mx738cqevf1/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdKh3U55XBrlYet93ChJs6Oakgb2f34jG-yP4XWJab45dRC-rxnl_0uJYv35vta9nk-tqXL2KDFs8K3k");
script.setAttribute("data-currency", "NOK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjFmODQwYmI5NWJjYjE0NjA3ODE3YzdkZDI4ODQ4ZTcyMmEwYWJlMGI2ZWU0NTYxYjdkNTI5NjFlOTI3ZWYwM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDMtMTVUMDk6MjU6MTUuNTYzMjAyNzkxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU80V0ZiOG15dlZXWGE3Wm43NXZZR3d3QzMwQ2M4V1cyZ25ERHdmdmdBTkJCSERpSUZGN2s0am01RmVjdmtKUjZHRy1zekw2RklJR0JRbHRNTVJRQ2YyWWtObG1RIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AdKh3U55XBrlYet93ChJs6Oakgb2f34jG-yP4XWJab45dRC-rxnl_0uJYv35vta9nk-tqXL2KDFs8K3k");
script.setAttribute("data-currency", "NOK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjFmODQwYmI5NWJjYjE0NjA3ODE3YzdkZDI4ODQ4ZTcyMmEwYWJlMGI2ZWU0NTYxYjdkNTI5NjFlOTI3ZWYwM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDMtMTVUMDk6MjU6MTUuNTYzMjAyNzkxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU80V0ZiOG15dlZXWGE3Wm43NXZZR3d3QzMwQ2M4V1cyZ25ERHdmdmdBTkJCSERpSUZGN2s0am01RmVjdmtKUjZHRy1zekw2RklJR0JRbHRNTVJRQ2YyWWtObG1RIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67d5514e8714f', 'paylater', 'paypal', 'pill', 'white');
});
} else {
renderPayPalButtons('67d5514e8714f', 'paylater', 'paypal', 'pill', 'white');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67d5514e8714f', 'paypal', 'buynow', 'pill', 'white');
});
} else {
renderPayPalButtons('67d5514e8714f', 'paypal', 'buynow', 'pill', 'white');
}