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(\'/exchange/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(\'/exchange/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(\'/exchange/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(\'/exchange/gr/\');');
button[0].textContent="Παξε τρα!";
} else if (language == 'pl') {
img[0].innerHTML=''+euro;
text[0].innerHTML="ZDOBD 100% BONUS POWITALNY OD 22BET I ZACZNIJ OBSTAWIA!";
button[0].setAttribute('onclick', 'window.open(\'/exchange/pl/\');');
button[0].textContent="Zagraj teraz!";
} else if (language == 'at') {
mg[0].innerHTML=''+euro;
text[0].innerHTML="HOLEN SIE SICH 100% WILLKOMMENSBONUS VON 22BET UND STARTEN SIE WETTEN!";
button[0].setAttribute('onclick', 'window.open(\'/exchange/at/\');');
button[0].textContent="Jetzt spielen!";
} else if (language == 'da') {
img[0].innerHTML=''+euro;
text[0].innerHTML="F 100% VELKOMSTBONUS FRA 22BET OG START VDDEML!";
button[0].setAttribute('onclick', 'window.open(\'/exchange/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(\'/exchange/no/\');');
button[0].textContent="Spill n!";
} else if (language == 'ro') {
img[0].innerHTML=''+euro;
text[0].innerHTML="OBINEI 100% BONUS DE BUN VENIT DE LA 22BET I NCEPEI S PARIAI!";
button[0].setAttribute('onclick', 'window.open(\'/exchange/ro/\');');
button[0].textContent="Joaca acum!";
} else if (language == 'fi') {
img[0].innerHTML=''+euro;
text[0].innerHTML="HANKI 100% TERVETULIAISBONUS 22BET: LT JA ALOITA VEDONLYNTI!";
button[0].setAttribute('onclick', 'window.open(\'/exchange/fi/\');');
button[0].textContent="Pelaa nyt!";
} else if (language == 'hu') {
img[0].innerHTML=''+euro;
text[0].innerHTML="KAP 100% DVZL BNUSZ 22BET KEZDENI FOGADS!";
button[0].setAttribute('onclick', 'window.open(\'/exchange/hu/\');');
button[0].textContent="Jtssz most!";
} else if (language == 'cs') {
img[0].innerHTML=''+euro;
text[0].innerHTML="ZSKEJTE 100% UVTAC BONUS OD 22BET A ZANTE SZET!";
button[0].setAttribute('onclick', 'window.open(\'/exchange/cz/\');');
button[0].textContent="Hrt hned!";
} else if (language == 'hr') {
img[0].innerHTML=''+euro;
text[0].innerHTML="DOBIJTE 100% BONUS DOBRODOLICE OD 22BET I PONITE SE KLADITI!";
button[0].setAttribute('onclick', 'window.open(\'/exchange/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(\'/exchange/bg/\');');
button[0].textContent="Играйте сега!";
} else if (language == 'ga') {
img[0].innerHTML=''+euro;
text[0].innerHTML="FAIGH BNAS% 100 FILTE 22BET AGUS TS A GEALLTIREACHTA!";
button[0].setAttribute('onclick', 'window.open(\'/exchange/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(\'/exchange/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(\'/exchange/en/\');');
button[0].textContent="Play now!";
}
const close = document.querySelector('#sc_banner .close');
close.addEventListener('click', event => {
document.getElementById('sc_banner').remove();
});