// Background color animation 
$(document).ready(function() { 
/* $('#navigation').removeClass('noJS');
	$('#navigation li:not(.current) a').hover(
		function () {$(this).animate({backgroundColor: "#FEFD97", color:"#3B4148"}, 500)},
		function () {$(this).animate({backgroundColor: "transparent", color:"#FFF"}, 500)});
*/
});
/** 
 * @projectDescription	Simple Equal Columns
 * @author 	Matt Hobbs
 * @version 	0.01 
 */
jQuery.fn.equalCols = function(){
	//Array Sorter
	var sortNumber = function(a,b){return b - a;};
	var heights = [];
	//Push each height into an array
	$(this).each(function(){
		heights.push($(this).height());
	});
	heights.sort(sortNumber);
	var maxHeight = heights[0];
	return this.each(function(){
		//Set each column to the max height
		$(this).css({'height': maxHeight});
	});
};
//Usage
jQuery(function($){
	//Select the columns that need to be equal e.g
	$('div.col2 #featurePanels li').equalCols();

	$('#featurePanels .panel .rounded').equalCols();
});
