/* Author: Jack Webb-Heller

*/

$(document).ready(function() {
	
	$('#main').center();
	$(window).bind('resize', function() {
    	$('#main').center();
	});
	
	$('li').mouseenter(function() {
		var infoSelector = '#' + $(this).attr('id') + 'info';
		$(infoSelector).slideDown(250);
	});
	
	$('li').mouseleave(function() {
		var infoSelector = '#' + $(this).attr('id') + 'info';
		$(infoSelector).slideUp(250);
	});
	
	$('#top').mouseenter(function() {
		$('#bio').slideDown(100);		
	});
	
	$('#top').mouseleave(function() {
		$('#bio').slideUp(100);
	});	
	
});

