$(document).ready(function(){ 
	
	// Header Navigation
	/*
	$(".nav a").hover(function(){
	  $(this).stop().animate({ color: "#30acf5" },1);
	}, function(){
	  $(this).stop().animate({ color: "#1c1c1c" }, 500);
	}); 
	
	//Footer Navigation
	$("#footer a,#content a").not(".button").hover(function(){
	  $(this).stop().animate({ color: "#000000" },1);
	}, function(){
	  $(this).stop().animate({ color: "#333333" }, 500);
	}); 
	
	$("body.page-template-about-template-php .col240 a").hover(function(){
	  $(this).stop().animate({ color: "#3aaadc" },1);
	}, function(){
	  $(this).stop().animate({ color: "#9d9b94" }, 500);
	}); 
	*/
	
	//Image overflow
	$('img').desaturate('iefix': true);
	
	$("img.overlay").hover(function(event){
		$('<span class="overlay"></span>').css({ opacity : "0.3"}).insertBefore(event.target)
		.hover(function(){
			$(this).stop().animate({ opacity: "0.3" },250);
		}, function(){
			$(this).stop().animate({ opacity: "0.0" }, 250, function(){
				$(this).remove();
			});
		});
	});	

});

