$(document).ready(function(){
	$('a.fancybox').fancybox({"hideOnContentClick":true});
	
	$('#nav_months a').mouseover(function(){
		$(this).stop();
		$(this).animate( { color:"#eee" } , 500 );
	});
	$('#nav_months a').mouseout(function(){
		$(this).stop();
		$(this).animate( { color:"#444" } , 500 );
	});

	$('#nav_months .month a').click(function(){
		$(this).stop();
		$('#pics').load($(this).attr('href'), 'ajax=1', function(){ $('a.fancybox').fancybox({"hideOnContentClick":true}); });
		return false;
	});

	$('#nav_months .more').mouseover(function(){
		$('#nav_months .more ul').css('display','block');
	});
	$('#nav_months .more').mouseout(function(){
		$('#nav_months .more ul').css('display','none');
	});

});
