$(function() {
	var winHeight = $(window).height(); //height of window
	var uniHeight = 805;                //universal height of content
	
	if (winHeight > uniHeight) {
		var topHeight = Math.round((winHeight - uniHeight) / 2);
		var bottomHeight = (winHeight - uniHeight) - topHeight;
		
		$('#part_top').height( topHeight );
		$('#part_bottom').height( bottomHeight );
	}
	
	
	$('#mainmenu li a')
		.hover(function() {
			$(this).stop(true);
			$(this).animate({'paddingLeft':95}, 700, 'easeOutBack');
		}, function() {
			$(this).animate({'paddingLeft':70}, 700, 'easeOutBounce');
		});
});



