$(document).ready(function() {
   
   // set the initial size of the iframe
   $('iframe').height(Math.max($(window).height() - 288, 120));
   
   // hackish way to handle IE6 resizing
   // the event handler must be unregistered while
   // we make changes that will cause another resize event
   function resize_iframe() {
      $(this).unbind('resize', resize_iframe);
      
      // set the iframe size
      $('iframe').height(Math.max($(window).height() - 288, 120));
      
      $(this).bind('resize', resize_iframe);
   }
   
   // add the handler so it will run initially
   $(window).bind('resize', resize_iframe);
});