// columns should be an array of ids or classes you want to match
function jqmatchColumns(columns) {

  if (columns == undefined) return;
   
  var max_height = 0;
  var selector = ''
  var this_height = 0;
  for (var j = 0; j < columns.length; j++) {
    selector = columns[j];
    jQuery(selector).each(function() {
      this_height = jQuery(this).height();
      if (this_height > max_height) max_height = this_height;
    });
  }
 
  for (var j = 0; j < columns.length; j++) {
    selector = columns[j];
    jQuery(selector).each(function() {
      jQuery(this).css('height', max_height.toString() + "px");
    });
  }
}
