$(document).ready(function() {
  var subNavCount = $('ul#subnav li').size();
  if (subNavCount < 2) {
    $('ul#subnav').hide();
  };
  $('<div id="traildiv"></div>').appendTo('body');
  var tallestFooterBox = 0;
  $('#footerBoxes > .footerBox').each(function(){
      tallestFooterBox = Math.max(tallestFooterBox, $(this).height());
	  }).height(tallestFooterBox);
});

