$(document).ready(function() {
//  container_padding = parseFloat($('#container').css('padding-top')) + parseFloat($('#container').css('padding-bottom'));
//  container_height = $('#container').innerHeight() - container_padding;
  //ideally this would be measured (as above), but IE 6 can't do math, so it's hard coded
  container_height = 592;
//  navigation_height = $('#navigation').outerHeight();
  //in this case, it's Safari that _sometimes_ gets it wrong
  navigation_height = 139;
  subnavigation_height = 0;
  if ($('#subnavigation').length > 0) subnavigation_height = $('#subnavigation').outerHeight();
  content_container_height = container_height - (navigation_height + subnavigation_height);
  $('#content-container').css('height', content_container_height+'px');
});
