/*
** library.js
** Standard library for jchost.net
*/


/* equalHeight: apply equal height to matched elements
** Copyright Colin Aarts <colinaarts.com>
** Tested with jQuery 1.2.6 and 1.3.2
*/
(function($) {
  
  $.fn.equalHeight = function() {
    
    if(this.length < 2) return;
    
    var h = 0;
    this.each(function(i, el) {
      h = $(el).height() > h ? $(el).height() : h;
    });
    
    this.css('minHeight', h+'px');
    
  } // end equalHeight()
  
})(jQuery);
