$(document).ready(function() {
    $('.social img').each(function() {
        $(this).hover(function() {
            $(this).stop().animate({ opacity: 0.6 }, 300);
        },
       function() {
           $(this).stop().animate({ opacity: 1.0 }, 200);
       });
    });
});
    
Cufon.replace('h1, #navigation li', { hover:true, fontFamily: 'avenir' });
Cufon.replace('h2, h3, h4, h5, h6', { hover:true, fontFamily: 'avenir' });

$(document).ready(function(){

	//Switch the "Open" and "Close" state per click
	$("#trigger").toggle(function(){
		$(this).addClass("active");
		}, function () {
		$(this).removeClass("active");
	});

	//Slide up and down on click
	$("#trigger").click(function(){
		$(this).next("#footer").slideToggle("slow");
	});

	$(".box a").click(function() {
		$("#jquery_jplayer_3").jPlayer("stop");
	});

});


$(document).ready(function() {
	$('blockquote').quovolver();
});

