$(function() {
	// Opacità del div impostata allo 0%
	$("#header img").css("opacity","0");			
	// Al passaggio del mouse
	$("#header img").hover(function () {											  
	// imposta l'opacità al 100% - slow, normal, fast
	$(this).stop().animate({
		opacity: 1.0
		}, "normal");
	},			
	// quando il mouse non è sull'elemento
	function () {		
		// imposta l'opacità allo 0%
		$(this).stop().animate({
		opacity: 0
		}, "normal");
	});
	
	
	// Opacità del div iniziale
	$("#aside .box").css("opacity","0.8");		
	// Al passaggio del mouse
	$("#aside .box").hover(function () {											  
	// imposta l'opacità al 100% - slow, normal, fast
	$(this).stop().animate({
		opacity: 1.0
		}, "slow");
	},		
	// quando il mouse non è sull'elemento
	function () {		
		// imposta l'opacità allo 0%
		$(this).stop().animate({
		opacity: 0.8
		}, "slow");
	});
	
	
		//BOX LATERALI
	$("#col_sx .box_interno").css("opacity","0.7");		
	// Al passaggio del mouse
	$("#col_sx .box_interno").hover(function () {											  
	// imposta l'opacità al 100% - slow, normal, fast
	$(this).stop().animate({
		opacity: 1.0
		}, "high");
	},		
	// quando il mouse non è sull'elemento
	function () {		
		// imposta l'opacità allo 0%
		$(this).stop().animate({
		opacity: 0.7
		}, "high");
	});
	
});
