$(document).ready(function() {
	$(".post").jFade({
		trigger: "mouseover",
		property: 'background',
		start: 'ffffff',
		end: 'f7f5f5',
		steps: 8,
		duration: 10
	}).jFade({
		trigger: "mouseout",
		property: 'background',
		start: 'f7f5f5',
		end: 'ffffff',
		steps: 8,
		duration: 20
	});
});	

$(document).ready(function(){
	$(".post").css({opacity: 0});
	$(".post").fadeTo("slow", 1); 
});

$(document).ready(function() {
	$("#foliogrid .post").click(function(){
		href = $(this).children('div').children("a[rel='bookmark']").attr('href');
		if (href != undefined)
		{
			window.location = href; 
		}
	}).hover(function(){
		$(this).css('cursor', 'pointer');
	}, function(){
		$(this).css('cursor', 'default');        
	});
});
