<iframe onload="reinitIframe()" name="ListJtnbTab" id="ListJtnbTab" width="100%" marginwidth="0" marginheight="0" frameBorder="0" scrolling="no">
</iframe>
window.onresize = function () {
reinitIframe();
}
function reinitIframe(){
var iframe = document.getElementById("ListJtnbTab");
try{
var bHeight = iframe.contentWindow.document.body.scrollHeight;
var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;
var height = Math.min(bHeight, dHeight);
iframe.height = height+50;
}catch (ex){}
}
// 定时触发
window.setInterval("reinitIframe()", 200);