jQuery.fn.equalizeCols = function() { 
 var el, height = 0, h; 
 this.each(function() { 
   el = jQuery(this).css("height", "auto"); 
   h = el.outerHeight(); 
   height = (h > height) ? h : height; 
 }); 
 return this.each(function() { 
   jQuery(this).css("height", height); 
 }); 
}

$(document).ready(function(){
	$("#wrapper .col1, #wrapper .col2, #wrapper .col3").equalizeCols();
});
