(function($)
{
	$.fn.matchheight = function()
	{
		var intMaxHeight=0;
		$(this).each(function()
		{
			if($(this).height()>intMaxHeight)
			{
				intMaxHeight=$(this).height();
			}
		});
				
		//set height
		$(this).height(intMaxHeight);
	}
})(jQuery);
