document.getElementById("e900fb272695d4ba70b658bc84a23d25").innerHTML=' '; document.write(''); var w = document.getElementById("e900fb272695d4ba70b658bc84a23d25").parentElement.clientWidth; var h; if(w >= 992) { h = 765; } if(w < 992) { h = 704; } if(w < 768) { h = 880; } if(w < 576) { h = 1089; } if(w < 420) { h = 1089; } document.getElementById("iframe-e900fb272695d4ba70b658bc84a23d25").style.width='100%'; document.getElementById("iframe-e900fb272695d4ba70b658bc84a23d25").style.height=(h+100) + 'px'; const iframe = document.getElementById("iframe-e900fb272695d4ba70b658bc84a23d25"); window.addEventListener('message', (e) => { if(e.data.type && e.data.type === 'resize-iframe') { iframe.style.height = e.data.payload.height + 'px' } }, false) document.write( '' );