
	jQuery.fn.equalizeCols = function(settings) 
	{
		var settings = jQuery.extend({
			subdiv: ".page"
		}, settings);
			
		var reset = $.browser.msie ? "1%" : "auto";
	  
		return this.each(function(){
			var height = 0;
			var div = $(this);
			var subdiv = $(settings.subdiv, this);
			subdiv.css("height", reset);
			subdiv.each(function() {
				height = Math.max(height, this.offsetHeight);
			});
			subdiv.css("height", height);
			subdiv.each(function() {
				var h = this.offsetHeight;
				if (h > height) {
					$(this).css("height", height - (h - height));
				};
			});
		});
	};

