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