/*
 *	Custom jQuery Functions
 *  By Simon Bouchard
*/

var j = jQuery.noConflict();

function equalHeight(group) {
	var tallest = 0;
	group.each(function() {
		var thisHeight = j(this).height();
		if(thisHeight > tallest) {
			tallest = thisHeight;
		}
	});
	group.height(tallest);
}

j(document).ready(function(){  	
		
	/* Featured Articles on the Homepage */
	j('.homepage #featured').innerfade({
		animationtype: 'fade', 
		speed: 'normal',
		timeout: '5000',
		type: 'sequence',
		containerheight: 'auto'
	});

	equalHeight(j(".footer-col"));

});

