묻고답하기

제목 그대로입니다.
아이프레임안에 ZBXE를 통째로 불러올경우,
아이프레임 세로크기가 ZBXE내용에 맞게 자동으로 조절되도록 하고싶어요.
아이프레임이 들어가는 바탕문서에 아래와 같은 스크립트를 썼는데요

<script language="JavaScript">
<!--
function calcHeight()
{
  //find the height of the internal page
  var the_height=
    document.getElementById('아이프레임 아이디').contentWindow.
      document.body.scrollHeight;
  //change the height of the iframe
  document.getElementById('아이프레임 아이디').height=
      the_height;
  top.location.href = "#";
}
//-->
</script>


아이프레임안에 일반 html문서를 불러왔을땐 위와 같이 해서  크기조절이 되는데
아이프레임에 ZBXE를 불러오면 크기 인식이 안되네요.
다른 방법이 있는지 궁금합니다. 좀 도와주세요~