function equalheight(one, onepadding, two, twopadding, three, threepadding) {
  var h = Math.max($(one).height() + onepadding, $(two).height() + twopadding );
  h = Math.max(h, $(three).height() + threepadding );
  var property = (jQuery.browser.msie && jQuery.browser.version < 7) ? 'height' : 'min-height';
  $(one).css(property, h - onepadding);
  $(two).css(property, h - twopadding);
  $(three).css(property, h - threepadding);
}