<script type="text/JavaScript"> function reinitIframe(){ var iframe = document.getElementById("mainIFrame"); try{ var bHeight = iframe.contentWindow.document.body.scrollHeight; var dHeight = iframe.contentWindow.document.documentElement.scrollHeight; var height = Math.max(bHeight, dHeight); iframe.height = height - 1; }catch (ex) {} } window.setInterval("reinitIframe()", 200);</script> <div align="center"> <Iframe id="mainIFrame" src="Main.aspx" width="998" scrolling=no frameborder="0"> </Iframe ></div>