function autoResize(ifr){ var ifrHeight = ifr.contentWindow.document.body.scrollHeight; ifr.height = ifrHeight + 20;}