﻿// JScript 文件
//使iframe自动适应高度
function reinitIframe(iframeID){
var iframe = document.getElementById(iframeID);
try{
var bHeight = iframe.contentWindow.document.body.scrollHeight;
var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;
var height = Math.max(bHeight, dHeight);
iframe.height =  height;
}catch (ex){}
}
window.setInterval("reinitIframe()", 200);
