Get Pre-Qualified Now!

true abandonedshoppers function _receiveMessage(event) { let iframeEl = document.querySelector('[data-drive-web-iframe]') || document.getElementById('drive-web-iframe') if ( iframeEl && (event.origin.match(/\.hyundaidrive.com$/) || event.origin.match(/\.mygenesisvalet.com$/) || event.origin.match(/^http:\/\/localhost:3000$/)) ) { switch (event.data.type) { case 'drive-tier3-sizer': let height = event.data.height if (height) { iframeEl.style.height = `${height}px` } break case 'drive-tier3-nav': window.scrollTo(0, 0) break default: break } } } window.addEventListener('message', _receiveMessage, false)