You can control iframe height only if the iframe and your site are on the same domain.
If iframe and your site are on different domains then there's no easy way to resize iframe. You'll always get security exception.
Anyway maybe script from this link will help you
http://www.box.net/public/vn5hq5rdq1