Для подгонки высоты блока, содержащего фрейм.
<div id="loaded_content">
<iframe name="frame_loaded" id="frame_loaded" src="frame_loaded.jsp" scrolling="no" ></iframe>
</div>
Можно использовать JQuery-функцию contents():
$('#frame_loaded_img').load(function(){
$('#loaded_content').css('height',$('#frame_loaded').contents() .find('body').height()+20+'px');
});