Maak een afspraak in één van onze kijkwoningen

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