$(document).ready(function() {
		
	$('nav').hover(
		function() { $(this).animate({ backgroundColor: '#434343', borderBottomColor: '#3c3c3c' }, 600); },
		function() { $(this).animate({ backgroundColor: '#1f1f1f', borderBottomColor: '#1c1c1c' }, 600); }
	);
		
	$('.btn-green').hover(
		function() { $(this).animate({ backgroundColor: '#60743e', borderBottomColor: '#4d5d32' }, 100); },
		function() { $(this).animate({ backgroundColor: '#4c5b31', borderBottomColor: '#3a4626' }, 100); }
	);
				
	$("#scrolltop").click(function(){
		$("#container").slideto({highlight: false});
	});
	
	$('.works li figure').hover(
		function() {
			$(this).children('.excerpt, .excerpt-bg').fadeIn(200);
		},
		function() {
			$(this).children('.excerpt, .excerpt-bg').fadeOut(200);
		}
	);
		
	$('.series-work li section span a').hoverIntent(
		function() {
			$(this).children('.sw-hvr').fadeOut();	
		},
		function() {
			$(this).children('.sw-hvr').fadeIn();		
		}
	);
			
}); /* end of as page load scripts */    
  
