function resizeFrame() { var oBody = document.body; var oFrame = parent.document.getElementById("inreview"); var i_height = oBody.scrollHeight + (oFrame.offsetHeight-oFrame.clientHeight); oFrame.style.height = i_height; if ( IntervarId ) clearInterval( IntervarId ); }