This jQuery plugin sets the height on iframes based on their content. http://github.com/house9/jquery-iframe-auto-height
Clear iframe 2 (small-iframe) and then resize it.
More: Main | Another Pic | Dynamic | Min-Height | Callback | Form
Original code by Nathan Smith, see original article.