<script type="text/javascript"language="javascript">
functionreinitIframe(){
variframe = document.getElementById("mainFrame");
try{
varbHeight = iframe.contentWindow.document.body.scrollHeight;
vardHeight = iframe.contentWindow.document.documentElement.scrollHeight;
varheight = Math.max(bHeight, dHeight);
iframe.height = height;
}catch(ex){}
}
window.setInterval("reinitIframe()", 100);
</script>