function hovertutorial(){
$(".tutorials ul li").hover(function(){
		$('.tutorials ul li').not(this).stop().animate({ opacity: 0.4 }, 400);
		},function(){
		$('.tutorials ul li').not(this).stop().animate({ opacity: 1 }, 400);
		});
}
function hoverbudget(){
$(".budget ul li").hover(function(){
		$('.budget ul li').not(this).stop().animate({ opacity: 0.4 }, 400);
		},function(){
		$('.budget ul li').not(this).stop().animate({ opacity: 1 }, 400);
		});
}
function hovertemplate(){
$(".templates ul li .info").css({display: "none"}); // Opera Fix
$(".templates ul li").hover(function(){
		$(this).find('.info').css({visibility: "visible",display: "none"}).show(300);
		$('.templates ul li').not(this).stop().animate({ opacity: 0.4 }, 400);
		},function(){
		$(this).find('.info').css({visibility: "hidden"});
		$('.templates ul li').not(this).stop().animate({ opacity: 1 }, 400);
		});
}
$(document).ready(function(){
hovertutorial();
hovertemplate();
hoverbudget();
	$(".notify .close").click(function(){
	  $(this).parents(".notify").animate({ opacity: "hide" }, "slow");
	});
	$.getJSON("http://twitter.com/statuses/user_timeline/free_css.json?callback=?", function(data) {
        $(".twitter a").html(data[0].text);
        });

		$("#leftcolumn .tutorials ul > :nth-child(3n+3)").css({marginRight: "0", borderRight: "none"});
			$("#leftcolumn .budget ul > :nth-child(3n+3)").css({marginRight: "0", borderRight: "none"});
		$(".overlay").css({opacity: 0}); // Opera Fix
	$(".feature").hover(function(){
		$(this).find('.fimage').animate({opacity: 0.5},300);
		$(this).find('.overlay').animate({opacity: 1},300);
		},function(){
		$(this).find('.fimage').animate({opacity: 0},300);
		$(this).find('.overlay').animate({opacity: 0},300);
		});
});
Cufon.replace('.greenbox h3',{
fontFamily: 'Museo Sans 900',
textShadow: '#1c4310 1px 1px'
});
Cufon.replace('.bluebox h3',{
fontFamily: 'Museo Sans 900',
textShadow: '#12356b 1px 1px'
});
Cufon.replace('h3.featured',{
fontFamily: 'Museo Sans 900',
textShadow: '#fff4b6 1px 1px'
});
Cufon.replace('h3.bluehead',{
fontFamily: 'Museo Sans 900',
textShadow: '#0a2856 1px 1px'
});
Cufon.replace('#footer h3',{
fontFamily: 'Museo Sans 900',
textShadow: '#000 1px 1px'
});

