function resizer(obj, doc) { var body_ = doc.body, html_ = doc.documentElement; var height = Math.max(body_.scrollHeight, body_.offsetHeight, html_.clientHeight, html_.scrollHeight, html_.offsetHeight); var width = Math.max(body_.scrollWidth, body_.offsetWidth, html_.clientWidth, html_.scrollWidth, html_.offsetWidth); obj.style.height = height + 'px'; /*obj.style.width = width + 'px';*/ } (function(d, s, id, u) { var ifr, ifrp = d.getElementById(s); if (ifrp == null) { return; } if (d.getElementById(id)) { return; } ifr = d.createElement('iframe'); ifr.id = id; ifr.src = u; ifr.style = 'overflow:hidden;width:100%;border:none;'; ifr.scrolling = 'auto';/*resizerListen(ifr);*/ ifr.addEventListener('onload', resizer(ifr, window.document)); ifrp.appendChild(ifr); }(document, 'bu-checkout', 'bu-checkout1', 'https://www.betterunite.com/tavonlearningcenter-fallfestival2024/Donate?embedded=true'));