/**
*	@name							Equality
*	@descripton						Equality is Jquery plugin that makes your elements look alike.
*	@version						1.0
*	@requires						Jquery 1.3.2
*
*	@author							Jan Jarfalk
*	@author-email					jan.jarfalk@unwrongest.com
*	@author-website					http://www.unwrongest.com
*
*	@licens							MIT License - http://www.opensource.org/licenses/mit-license.php
*/

(function(jQuery){ 
	jQuery.fn.extend({  
		equality: function(callback) {
			var max = 0;
			$(this).each(function() {
				var value = $(this).height();
    			if(value > max) {
       				max = value;
    			}
			});	
			$(this).height(max);
			if(callback){
				callback();
			}
        } 
    }); 
})(jQuery);
