/*
 *	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').fader({
		animationtype: 'fade', 
		containerheight: '200'
	});

	equalHeight(j(".footer-col"));
    //jQuery("#dropmenu ul").css({display: "none"}); // Opera Fix
        jQuery("#dropmenu li").hover(function(){
        jQuery(this).find('ul:first').css({visibility: "visible",display: "none"}).show(268);
        },function(){
        jQuery(this).find('ul:first').css({visibility: "hidden"});
        });
});

