$(document).ready(function() {  
  $("#headings:has(table) .centerheading1,.centerheading2").addClass("narrow");
  $("#headings:has(table) p:last-child").addClass("marginbottom");
});

/* handle equalheight, must run this at the LAST */

if(!jQuery.browser.mozilla){
  $(document).ready(function() {
    if(document.readyState != "complete"){
      setTimeout( arguments.callee, 100 );
      return;
    }
    eh();
  });
}

function bodyonload(){
  //use body onload to do equal height for firefox, because firefox cannot understand document.readyState
  if(jQuery.browser.mozilla){
    eh();
  }
}

function eh(){
  equalheight('#center', 60 , '#right', 293, '#left', 260);
}

/* handle equalheight END */