$(document).ready(function() {
	$("#nav li a:not(.active)").fadeTo("fast", 0.8);
	$("#nav li a").hover(function() {
		$(this).stop().animate({width:'90px',height:'60px'}, 100);
		},function(){
		$("#nav li a:not(.active)").stop().animate({width:'45px',height:'60px'}, 100);
	});
	$('#nav li a').click(function() {
		$('#nav li a').each(function(){
			$(this).removeClass('active');
		});
		$(this).addClass('active');
		$("#nav li a:not(.active)").fadeTo("fast", 0.8);
		$("#nav li a:not(.active)").stop().animate({width:'45px',height:'60px'}, 100);
		$(this).fadeTo("fast", 1.0);
		return true;
	});
})
