			$().ready(function() {
				$("#nav ul").kwicks({
					max : 300,
					spacing : 8.5
				});
			});	
		
			$(document).ready(function() {
			$('#nav_azienda').mouseover(function() {
				$('#nav_link_box_azienda').show();
				return false;
				});
			});
			$(document).ready(function() {
			$('#nav_storia').mouseover(function() {
				$('#nav_link_box_storia').show();
				return false;
				});
			});
			$(document).ready(function() {
			$('#nav_attivita').mouseover(function() {
				$('#nav_link_box_attivita').show();
				return false;
				});
			});
			$(document).ready(function() {
			$('#nav_news').mouseover(function() {
				$('#nav_link_box_news').show();
				return false;
				});
			});
			$(document).ready(function() {
			$('#nav_contatti').mouseover(function() {
				$('#nav_link_box_contatti').show();
				return false;
				});
			});
			$(document).ready(function() {
			$('.box_attivita a').click(function() {
				$('.attivita_descr').hide();
				return false;
				});
			});	
			
			$(document).ready(function() {
			$('#att_link_1').click(function() {
				$('#att_rip_desc_1, #att_rev_desc_1, #att_cos_desc_1').toggle();
				return false;
				});
			});
			$(document).ready(function() {
			$('#att_link_2').click(function() {
				$('#att_rip_desc_2, #att_rev_desc_2, #att_cos_desc_2').toggle();
				return false;
				});
			});
			$(document).ready(function() {
			$('#att_link_3').click(function() {
				$('#att_rip_desc_3, #att_rev_desc_3, #att_cos_desc_3').toggle();
				return false;
				});
			});
			$(document).ready(function() {
			$('#att_link_4').click(function() {
				$('#att_rip_desc_4, #att_rev_desc_4, #att_cos_desc_4').toggle();
				return false;
				});
			});
			$(document).ready(function() {
			$('#att_link_5').click(function() {
				$('#att_rip_desc_5, #att_rev_desc_5, #att_cos_desc_5').toggle();
				return false;
				});
			});
			$(document).ready(function() {
			$('#att_link_6').click(function() {
				$('#att_rip_desc_6, #att_rev_desc_6, #att_cos_desc_6').toggle();
				return false;
				});
			});
			$(document).ready(function() {
			$('#att_link_7').click(function() {
				$('#att_rip_desc_7, #att_rev_desc_7, #att_cos_desc_7').toggle();
				return false;
				});
			});
			$(document).ready(function() {
			$('#att_link_8').click(function() {
				$('#att_rip_desc_8, #att_rev_desc_8, #att_cos_desc_8').toggle();
				return false;
				});
			});
			$(document).ready(function() {
			$('#att_link_9').click(function() {
				$('#att_rip_desc_9, #att_rev_desc_9, #att_cos_desc_9').toggle();
				return false;
				});
			});
			$(document).ready(function() {
			$('#att_link_10').click(function() {
				$('#att_rip_desc_10, #att_rev_desc_10, #att_cos_desc_10').toggle();
				return false;
				});
			});
			$(document).ready(function() {
			$('#att_link_11').click(function() {
				$('#att_rip_desc_11, #att_rev_desc_11, #att_cos_desc_11').toggle();
				return false;
				});
			});
			$(document).ready(function() {
			$('#att_link_12').click(function() {
				$('#att_rip_desc_12, #att_rev_desc_12, #att_cos_desc_12').toggle();
				return false;
				});
			});
			$(document).ready(function() {
			$('#att_link_13').click(function() {
				$('#att_rip_desc_13, #att_rev_desc_13, #att_cos_desc_13').toggle();
				return false;
				});
			});
			$(document).ready(function() {
			$('#att_link_14').click(function() {
				$('#att_rip_desc_14, #att_rev_desc_14, #att_cos_desc_14').toggle();
				return false;
				});
			});
			$(document).ready(function() {
				$("#img_light a, .light a").fancybox();
			});   
