$(document).ready(function() {
	
 	$('a.show').click(function() {
		$('.entry').fadeIn(400);
		$('#older-posts').fadeOut(200);
		$('.thumbnail img').fadeOut(200);
		return false;
	});
	
	$('a.hide').click(function() {
		$('.entry').fadeOut(400);
	});
	
	

	
	$('.thumbnail a').hover(
		function() {
			$("img", this).stop().fadeTo(300, 0.5);
		},
		function() {
			$("img", this).stop().fadeTo(150, 1);
		}
	)


	$('.menu li').hover(
		function() {
			$("li", this).fadeIn(200);
		},
		function() {
			$("li", this).fadeOut(400);
		}
	)
	
	$('.menu li').hover(
		function() {
			$('div', this).fadeIn(200);
		},
		function() {
			$('div', this).fadeOut(400);
		}
	)
	
	$('.menu li ul li').hover(
		function() {
			$(this).children("ul").fadeIn(400);
		}
	)
});

