$(document).ready(function() {
	
 	$('a.show').click(function() {
		$('.entry').fadeIn(400);
		$('#older-posts').fadeOut(400);
		$('.thumbnail img').fadeOut(400);
		return false;
	});
	
	
	
	
	
	
	
	$('a.hide').click(function() {
		
		$('.entry').fadeOut(400);
		$('#older-posts').fadeIn(400);
		$('.thumbnail img').fadeIn(400);
		$(".cat-item").removeClass('used-cat');
		$(".viewall").addClass('used-cat');
		return false;
	});
	
	$('.thumbnail').hover(
		function() {
			$("img", this).fadeTo(600, .2);
			$("h3", this).fadeTo(600, 1);
			
		},
		function() {
			$("img", this).fadeTo(600, 1);
			$("h3", this).fadeTo(600, 0);
		}
	)
	
	$('.menu li').hover(
		function() {
			$("li", this).fadeIn(400);
		},
		function() {
			$("li", this).fadeOut(400);
		}
	)
	
	$('.menu li').hover(
		function() {
			$('div', this).fadeIn(400);
		},
		function() {
			$('div', this).fadeOut(400);
		}
	)
	
	$('.menu li ul li').hover(
		function() {
			$(this).children("ul").fadeIn(400);
		}
	)
});

