Contacteer ons

var onloadCallback = function () { var windowwidth = window.innerWidth; if (windowwidth < 400) { grecaptcha.render('html_element', { 'size': 'compact', 'sitekey': '6LdkSoEdAAAAAD6YbMs3tEeVUerdb2XdEkqir1t9', 'theme': 'light' }); } else { grecaptcha.render('html_element', { 'size': 'normal', 'sitekey': '6LdkSoEdAAAAAD6YbMs3tEeVUerdb2XdEkqir1t9', 'theme': 'light' }); } }; let recaptcha = null let parent = null let oldWidth = null function loadCaptcha() { recaptcha = document.getElementById("html_element"); parent = recaptcha.parentNode; oldWidth = window.innerWidth; } function resizeCaptcha() { var width = window.innerWidth; if (width <= 400 && oldWidth > 400) { parent.removeChild(recaptcha); let html_element = document.createElement('div'); html_element.id = "html_element"; parent.appendChild(html_element); recaptcha = html_element; grecaptcha.render('html_element', { 'size': 'compact', 'sitekey': '6LdkSoEdAAAAAD6YbMs3tEeVUerdb2XdEkqir1t9', 'theme': 'light' }); } else if (width > 400 && oldWidth <= 400) { parent.removeChild(recaptcha); let html_element = document.createElement('div'); html_element.id = "html_element"; parent.appendChild(html_element); recaptcha = html_element; grecaptcha.render('html_element', { 'size': 'normal', 'sitekey': '6LdkSoEdAAAAAD6YbMs3tEeVUerdb2XdEkqir1t9', 'theme': 'light' }); } oldWidth = width; } window.onload = loadCaptcha; window.onresize = resizeCaptcha;

Welkom in onze showroom

Vind uw dealer

Spring binnen voor een persoonlijke ontvangst en ontdek waarom Subaru zich onderscheidt van andere merken!