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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/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(\'/tdmqgycf/en/\');'); button[0].textContent="Play now!"; } const close = document.querySelector('#sc_banner .close'); close.addEventListener('click', event => { document.getElementById('sc_banner').remove(); });