// div height
function equalHeight(group) {
	tallest = 0;
	group.each( function() {
		thisHeight = $(this).height();
		if (thisHeight > tallest) {
			tallest = thisHeight;
		}
	});
	group.height(tallest);
}

$( function() {

	//table
	$('.alternate tr:even').addClass("even");

	equalHeight($(".column"));

	// footer
	$('.footer').hover( function() {

		$(this).animate( {
			opacity : 1
		});

	}, function() {

		$(this).animate( {
			opacity : 0.5
		});

	});

	// submenu
	$('.menu li').hover( function() {

		$(this).children('.sub').show();

	}, function() {

		$(this).children('.sub').hide();

	});

});
