$(document).ready(function(){
					   	
	// PNG Fix
	$(document).pngFix();
	
	// Cufon Font Replacement
	Cufon.replace('h1, #navigation li', { hover:true, fontFamily: 'avenir' });
	Cufon.replace('h4, h5, h6', { hover:true, fontFamily: 'avenir' });
	
	// Footer "Open" and "Close" state per click
	$("#trigger").toggle(function(){
		$(this).addClass("active");
		}, function () {
		$(this).removeClass("active");
	});
		// slideToggle
	$("#trigger").click(function(){
		$(this).next("#footer").slideToggle("slow");
	});
	
	//Main Nav "Open" and "Close" state per click
	$('#navigation a').hover(function() {
		$(this).addClass("hover");
	}, function() {
		$(this).removeClass("hover");
	});
	$("#navigation a").click(function(){
		$("#navigation a").removeClass("active");
		$(this).addClass("active");
	});
	
});
