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/08vul3e5kd13/plugin/61/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AUH6i5QImL6mC4VOfJeg97FzrQzZ3vcRZpMUp_fASo_mqxiMeiCntYG1jKamk1A2klxu_IIMbvcxsEj-");
script.setAttribute("data-currency", "CHF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDlhMmVjYzJmNWI1NDg5MmIyMDEyZTZlYmYwMTc2OGY4YmVlYmQzMWE3MmEwZDYyODI4MGViZTI2YTMwYWNlOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTI6MTA6MzUuNjg2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9hcE1MZXBHT2k0ei05OE5KM0F0WGhkS013bVgyaHRua3NFbFQ5VDVyM1kwMG1oUkRrWi1TajdsQ3BzX0xlUWtMbWtWR3pLRV9JWVFfb19kcVY2U01kNTFfanpBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AUH6i5QImL6mC4VOfJeg97FzrQzZ3vcRZpMUp_fASo_mqxiMeiCntYG1jKamk1A2klxu_IIMbvcxsEj-");
script.setAttribute("data-currency", "CHF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDlhMmVjYzJmNWI1NDg5MmIyMDEyZTZlYmYwMTc2OGY4YmVlYmQzMWE3MmEwZDYyODI4MGViZTI2YTMwYWNlOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTI6MTA6MzUuNjg2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9hcE1MZXBHT2k0ei05OE5KM0F0WGhkS013bVgyaHRua3NFbFQ5VDVyM1kwMG1oUkRrWi1TajdsQ3BzX0xlUWtMbWtWR3pLRV9JWVFfb19kcVY2U01kNTFfanpBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('660566ba403b1', 'paylater', 'paypal', 'pill', 'blue');
});
} else {
renderPayPalButtons('660566ba403b1', 'paylater', 'paypal', 'pill', 'blue');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('660566ba403b1', 'paypal', 'buynow', 'pill', 'gold');
});
} else {
renderPayPalButtons('660566ba403b1', 'paypal', 'buynow', 'pill', 'gold');
}