$(document).ready(function() {		

	$('p.read-more a').toggle(function() {
		$(this).parent().prev('div').fadeIn();
		$(this).html('&laquo; Close');
		return false;
	}, function() {
		$(this).parent().prev('div').slideUp();
		$(this).html('Read more &raquo;');
		return false;		
	});

	/* Blog */	
	$('h4.year-heading').click(function() {
		$(this).toggleClass('expanded').next('.months').slideToggle();
	});
	
	$(".list-post").hover(function() {
		$(this).addClass('hover');
	}, function() {
		$(this).removeClass('hover');		
	});
	
	$(".list-post").click(function() {
		var d = $(this).find("h2.title a").attr('href');
		window.location = d;
	}, function() {
	
	});

});

