Prenez rendez-vous dans une maison témoin

var onloadCallback_1fb = function () { var windowwidth = window.innerWidth; if (windowwidth < 520) { grecaptcha.render('html_element_@(recaptchaId)', { 'size': 'compact', 'sitekey': '6LczI5IbAAAAAJcIv3jusS9h2E4L1CFa4qc6QgiF', 'theme': 'light' }); } else { grecaptcha.render('html_element_1fb', { 'size': 'normal', 'sitekey': '6LczI5IbAAAAAJcIv3jusS9h2E4L1CFa4qc6QgiF', 'theme': 'light' }); } }; let recaptcha_1fb = null let parent_1fb = null let oldWidth__1fb = null function loadCaptcha() { recaptcha_1fb = document.getElementById("html_element_1fb"); parent_1fb = recaptcha_1fb.parentNode; oldWidth = window.innerWidth; } function resizeCaptcha() { var width = window.innerWidth; if (width <= 520 && oldWidth_1fb > 520) { parent_1fb.removeChild(recaptcha_1fb); let html_element = document.createElement('div'); html_element.id = "html_element_1fb"; parent_1fb.appendChild(html_element); recaptcha_1fb = html_element; grecaptcha.render('html_element_1fb', { 'size': 'compact', 'sitekey': '6LczI5IbAAAAAJcIv3jusS9h2E4L1CFa4qc6QgiF', 'theme': 'light' }); } else if (width > 520 && oldWidth_1fb <= 520) { parent_1fb.removeChild(recaptcha_1fb); let html_element = document.createElement('div'); html_element.id = "html_element_1fb"; parent_1fb.appendChild(html_element); recaptcha_1fb = html_element; grecaptcha.render('html_element_1fb', { 'size': 'normal', 'sitekey': '6LczI5IbAAAAAJcIv3jusS9h2E4L1CFa4qc6QgiF', 'theme': 'light' }); } oldWidth_1fb = width; } window.addEventListener('DOMContentLoaded', loadCaptcha); window.addEventListener('resize', resizeCaptcha);