



// NAVIGATION OPACITY EFFECTS
$(function(){
	
 	


//PORTFOLIO PAGE ANIMATIONS

// CHANGE OPACITY  & WIDTH
function expandContainer(){
	$(this).children().delay(50).fadeTo(600, 0.95);
	$(this).next('.porttitle').animate({width:'298px'}, 600);
	}
// RESET OPACITY & WIDTH
function resetContainer() {
		$(this).children().fadeTo(600, 0.4);
		$(this).next().animate({width:'200px'}, 600);
		} 
// CHANGE OPACITY  & WIDTH
function expandContainer2(){
	$(this).prev().children().delay(50).fadeTo(600, 0.95);
	$(this).animate({width:'298px'}, 600);
	}
// RESET OPACITY & WIDTH
function resetContainer2() {
		$(this).prev().children().fadeTo(600, 0.4);
		$(this).animate({width:'200px'}, 600);
		} 

$("#portfolio .port img").fadeTo(0, 0.4);
$("#portfolio .port ").hoverIntent(expandContainer, resetContainer);




});








Cufon.replace('h1,h3,.tagline', { fontFamily: 'Nevis' });
Cufon.replace('#nav li a',{hover:true}, { fontFamily: 'no_move' });


