$(document).ready(function(){
// Using all 3 unit types within one animation.
	$("#evergreen_story").mouseenter(function(){
		$("#evergreen_story").clearQueue();
		$("#titolo_home_evergreen").clearQueue();
		$("#titolo_home_evergreen").animate({
			lineHeight: "29px",
			fontSize: "29px"
		}, 150 );
		$("#evergreen_story").animate({ 
			width: "200px"
		}, 150 );
		$("#evergreen_story").animate({ 
			height: "189px"
		}, 150 );
		$("#testo_home_evergreen").show();
	});
	$("#evergreen_story").mouseleave(function(){
		$("#evergreen_story").clearQueue();
		$("#titolo_home_evergreen").clearQueue();
		$("#testo_home_evergreen").hide();
		$("#titolo_home_evergreen").animate({
			lineHeight: "29px",
			fontSize: "29px"
		}, 0 );
		$("#titolo_home_evergreen").animate({
			lineHeight: "16px",
			fontSize: "16px"
		}, 150 );
		$("#evergreen_story").animate({ 
			width: "200px",
			height: "189px"
		}, 0 );
		$("#evergreen_story").animate({ 
			width: "97px",
			height: "91px"
	  }, 150 );
	});
	$("#innovation_revolution").mouseenter(function(){
		$("#innovation_revolution").clearQueue();
		$("#titolo_home_revolution").clearQueue();
		$("#titolo_home_revolution").animate({
			lineHeight: "26px",
			fontSize: "27px"
		}, 150 );
		$("#innovation_revolution").animate({ 
			width: "200px"
		}, 150 );
		$("#innovation_revolution").animate({ 
			height: "188px"
		}, 150 );
		$("#testo_home_revolution").show();
	});
	$("#innovation_revolution").mouseleave(function(){
		$("#innovation_revolution").clearQueue();
		$("#titolo_home_revolution").clearQueue();
		$("#testo_home_revolution").hide();
		$("#titolo_home_revolution").animate({
			lineHeight: "26px",
			fontSize: "27px"
		}, 0 );
		$("#titolo_home_revolution").animate({
			lineHeight: "15px",
			fontSize: "16px"
		}, 150 );
		$("#innovation_revolution").animate({ 
			width: "200px",
			height: "188px"
		}, 0 );
		$("#innovation_revolution").animate({ 
			width: "97px",
			height: "91px"
	  }, 150 );
	});
	$("#performance").mouseenter(function(){
		$("#performance").clearQueue();
		$("#titolo_home_performance").clearQueue();
		$("#titolo_home_performance").animate({
			lineHeight: "29px",
			fontSize: "29px"
		}, 150 );
		$("#performance").animate({ 
			width: "200px"
		}, 150 );
		$("#performance").animate({ 
			height: "190px"
		}, 150 );
		$("#testo_home_great_performance").show();
	});
	$("#performance").mouseleave(function(){
		$("#performance").clearQueue();
		$("#titolo_home_performance").clearQueue();
		$("#testo_home_great_performance").hide();
		$("#titolo_home_performance").animate({
			lineHeight: "29px",
			fontSize: "29px"
		}, 0 );
		$("#titolo_home_performance").animate({
			lineHeight: "15px",
			fontSize: "14px"
		}, 150 );
		$("#performance").animate({ 
			width: "200px",
			height: "190px"
		}, 0 );
		$("#performance").animate({ 
			width: "97px",
			height: "91px"
	  }, 150 );
	});
	$("#our_energy").mouseenter(function(){
		$("#our_energy").clearQueue();
		$("#titolo_home_energy").clearQueue();
		$("#titolo_home_energy").animate({
			lineHeight: "29px",
			fontSize: "29px"
		}, 150 );
		$("#our_energy").animate({ 
			width: "200px",
			top: "448px"
		}, 150 );
		$("#our_energy").animate({ 
			height: "189px"
		}, 150 );
		$("#testo_home_our_energy").show();
	});
	$("#our_energy").mouseleave(function(){
		$("#our_energy").clearQueue();
		$("#titolo_home_energy").clearQueue();
		$("#testo_home_our_energy").hide();
		$("#titolo_home_energy").animate({
			lineHeight: "29px",
			fontSize: "29px"
		}, 0 );
		$("#titolo_home_energy").animate({
			lineHeight: "15px",
			fontSize: "16px"
		}, 150 );
		$("#our_energy").animate({ 
			width: "200px",
			height: "189px",
			top: "448px"
		}, 0 );
		$("#our_energy").animate({ 
			width: "97px",
			height: "91px",
			top: "515px"		
	  }, 150 );
	});
	$("#fiamm").mouseenter(function(){
		$("#fiamm").clearQueue();
		$("#titolo_home_fiamm").clearQueue();
		$("#titolo_home_fiamm").animate({
			lineHeight: "29px",
			fontSize: "28px"
		}, 150 );
		$("#fiamm").animate({ 
			width: "200px"
		}, 150 );
		$("#fiamm").animate({ 
			height: "188px"
		}, 150 );
		$("#testo_home_fiamm").show();
	});
	$("#fiamm").mouseleave(function(){
		$("#fiamm").clearQueue();
		$("#titolo_home_fiamm").clearQueue();
		$("#testo_home_fiamm").hide();
		$("#titolo_home_fiamm").animate({
			lineHeight: "29px",
			fontSize: "28px"
		}, 0 );
		$("#titolo_home_fiamm").animate({
			lineHeight: "16px",
			fontSize: "16px"
		}, 150 );
		$("#fiamm").animate({ 
			width: "200px",
			height: "188px"
		}, 0 );
		$("#fiamm").animate({ 
			width: "97px",
			height: "91px"
	  }, 150 );
	});
	$("#zebra").mouseenter(function(){
		$("#zebra").clearQueue();
		$("#titolo_home_zebra").clearQueue();
		$("#titolo_home_zebra").animate({
			lineHeight: "29px",
			fontSize: "28px"
		}, 150 );
		$("#zebra").animate({ 
			width: "200px"
		}, 150 );
		$("#zebra").animate({ 
			height: "188px"
		}, 150 );
		$("#testo_home_zebra").show();
	});
	$("#zebra").mouseleave(function(){
		$("#zebra").clearQueue();
		$("#titolo_home_zebra").clearQueue();
		$("#testo_home_zebra").hide();
		$("#titolo_home_zebra").animate({
			lineHeight: "29px",
			fontSize: "28px"
		}, 0 );
		$("#titolo_home_zebra").animate({
			lineHeight: "16px",
			fontSize: "16px"
		}, 150 );
		$("#zebra").animate({ 
			width: "200px",
			height: "188px"
		}, 0 );
		$("#zebra").animate({ 
			width: "97px",
			height: "91px"
	  }, 150 );
	});
});
