window.addEvent('domready', function(){
	var el = $('foot_home'),
		color = el.getStyle('backgroundColor');
	
	$('foot_home').set('opacity', 0.7).addEvents({
		mouseenter: function(){
			this.morph({
				'opacity': 1,
				'background-color': '#000'
			});
		},
		mouseleave: function(){
			this.morph({
				opacity: 0.5,
				backgroundColor: color
			});
		}
	});

	var el = $('foot_news'),
		color = el.getStyle('backgroundColor');
	
	$('foot_news').set('opacity', 0.7).addEvents({
		mouseenter: function(){
			this.morph({
				'opacity': 1,
				'background-color': '#000'
			});
		},
		mouseleave: function(){
			this.morph({
				opacity: 0.5,
				backgroundColor: color
			});
		}
	});	

	var el = $('foot_dove'),
		color = el.getStyle('backgroundColor');
	
	$('foot_dove').set('opacity', 0.7).addEvents({
		mouseenter: function(){
			this.morph({
				'opacity': 1,
				'background-color': '#000'
			});
		},
		mouseleave: function(){
			this.morph({
				opacity: 0.5,
				backgroundColor: color
			});
		}
	});
	
	var el = $('foot_contatti'),
		color = el.getStyle('backgroundColor');
	
	$('foot_contatti').set('opacity', 0.7).addEvents({
		mouseenter: function(){
			this.morph({
				'opacity': 1,
				'background-color': '#000'
			});
		},
		mouseleave: function(){
			this.morph({
				opacity: 0.5,
				backgroundColor: color
			});
		}
	});	
	
});