function GetHeight(ID,NAME) { if (document.height) { document.getElementById(ID).style.height = parent.frames[NAME].document.height +"px" ; } else { document.getElementById(ID).style.height = parent.frames[NAME].document.body.scrollHeight +"px"; } }