Maak een afspraak in één van onze kijkwoningen

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