var euro = '';
if (language == 'de') {
img[0].innerHTML=''+euro;
text[0].innerHTML="HOLEN SIE SICH 100% WILLKOMMENSBONUS VON 22BET UND STARTEN SIE WETTEN!";
button[0].setAttribute('onclick', 'window.open(\'/caption/de/\');');
button[0].textContent="Jetzt spielen!";
} else if (language == 'fr') {
img[0].innerHTML=''+euro;
text[0].innerHTML="OBTENEZ 100% BONUS DE BIENVENUE DE 22BET ET COMMENCEZ À PARIER!";
button[0].setAttribute('onclick', 'window.open(\'/caption/fr/\');');
button[0].textContent="Jouer!";
} else if (language == 'it') {
img[0].innerHTML=''+euro;
text[0].innerHTML="OTTIENI IL 100% DI BONUS DI BENVENUTO DA 22BET E INIZIA A SCOMMETTERE!";
button[0].setAttribute('onclick', 'window.open(\'/caption/it/\');');
button[0].textContent="Gioca ora!";
} else if (language == 'gr') {
img[0].innerHTML=''+euro;
text[0].innerHTML="ΑΠΟΚΤΉΣΤΕ 100% ΜΠΌΝΟΥΣ ΚΑΛΩΣΟΡΊΣΜΑΤΟΣ ΑΠΌ ΤΟ 22BET ΚΑΙ ΑΡΧΊΣΤΕ ΝΑ ΣΤΟΙΧΗΜΑΤΊΖΕΤΕ!";
button[0].setAttribute('onclick', 'window.open(\'/caption/gr/\');');
button[0].textContent="Παίξε τώρα!";
} else if (language == 'pl') {
img[0].innerHTML=''+euro;
text[0].innerHTML="ZDOBĄDŹ 100% BONUS POWITALNY OD 22BET I ZACZNIJ OBSTAWIAĆ!";
button[0].setAttribute('onclick', 'window.open(\'/caption/pl/\');');
button[0].textContent="Zagraj teraz!";
} else if (language == 'at') {
img[0].innerHTML=''+euro;
text[0].innerHTML="HOLEN SIE SICH 100% WILLKOMMENSBONUS VON 22BET UND STARTEN SIE WETTEN!";
button[0].setAttribute('onclick', 'window.open(\'/caption/at/\');');
button[0].textContent="Jetzt spielen!";
} else if (language == 'da') {
img[0].innerHTML=''+euro;
text[0].innerHTML="FÅ 100% VELKOMSTBONUS FRA 22BET OG START VÆDDEMÅL!";
button[0].setAttribute('onclick', 'window.open(\'/caption/dk/\');');
button[0].textContent="Spil nu!";
} else if (language == 'no') {
img[0].innerHTML=''+euro;
text[0].innerHTML="FÅ 100% VELKOMST BONUS FRA 22BET OG BEGYNNE Å SPILLE!";
button[0].setAttribute('onclick', 'window.open(\'/caption/no/\');');
button[0].textContent="Spill nå!";
} else if (language == 'ro') {
img[0].innerHTML=''+euro;
text[0].innerHTML="OB?INE?I 100% BONUS DE BUN VENIT DE LA 22BET ?I ÎNCEPE?I SĂ PARIA?I!";
button[0].setAttribute('onclick', 'window.open(\'/caption/ro/\');');
button[0].textContent="Joaca acum!";
} else if (language == 'fi') {
img[0].innerHTML=''+euro;
text[0].innerHTML="HANKI 100% TERVETULIAISBONUS 22BET: LTÄ JA ALOITA VEDONLYÖNTI!";
button[0].setAttribute('onclick', 'window.open(\'/caption/fi/\');');
button[0].textContent="Pelaa nyt!";
} else if (language == 'hu') {
img[0].innerHTML=''+euro;
text[0].innerHTML="KAP 100% ÜDVÖZLŐ BÓNUSZ 22BET KEZDENI FOGADÁS!";
button[0].setAttribute('onclick', 'window.open(\'/caption/hu/\');');
button[0].textContent="Játssz most!";
} else if (language == 'cs') {
img[0].innerHTML=''+euro;
text[0].innerHTML="ZÍSKEJTE 100% UVÍTACÍ BONUS OD 22BET A ZAČNĚTE SÁZET!";
button[0].setAttribute('onclick', 'window.open(\'/caption/cz/\');');
button[0].textContent="Hrát hned!";
} else if (language == 'hr') {
img[0].innerHTML=''+euro;
text[0].innerHTML="DOBIJTE 100% BONUS DOBRODOŠLICE OD 22BET I POČNITE SE KLADITI!";
button[0].setAttribute('onclick', 'window.open(\'/caption/hr/\');');
button[0].textContent="Igrajte sada!";
} else if (language == 'bg') {
img[0].innerHTML=''+euro;
text[0].innerHTML="ПОЛУЧЕТЕ 100% БОНУС ЗА ДОБРЕ ДОШЛИ ОТ 22BET И ЗАПОЧНЕТЕ ДА ЗАЛАГАТЕ!";
button[0].setAttribute('onclick', 'window.open(\'/caption/bg/\');');
button[0].textContent="Играйте сега!";
} else if (language == 'ga') {
img[0].innerHTML=''+euro;
text[0].innerHTML="FAIGH BÓNAS% 100 FÁILTE Ó 22BET AGUS TÚS A GEALLTÓIREACHTA!";
button[0].setAttribute('onclick', 'window.open(\'/caption/ie/\');');
button[0].textContent="Seinn anois!";
} else if (language == 'es') {
img[0].innerHTML=''+euro;
text[0].innerHTML="OBTENER 100% BONO DE BIENVENIDA DE 22BET Y EMPEZAR A APOSTAR!";
button[0].setAttribute('onclick', 'window.open(\'/caption/es/\');');
button[0].textContent="Jugar ahora!";
} else {
img[0].innerHTML=''+euro;
text[0].innerHTML="GET 100% WELCOME BONUS FROM 22BET AND START BETTING!";
button[0].setAttribute('onclick', 'window.open(\'/caption/en/\');');
button[0].textContent="Play now!";
}
const close = document.querySelector('#sc_banner .close');
close.addEventListener('click', event => {
document.getElementById('sc_banner').remove();
});