jQuery(document).ready(function($) {
	
	// SCRIPT MENU HOVER OUT
	$("ul.menu_sx li:not(:first)").hover(			
		function() {
		
			$(".menu_secondo_livello").mouseleave(function() {
	
				$("ul.menu_sx li").removeClass("selected");
				//$(".menu_secondo_livello").slideUp("fast");
				$(".menu_secondo_livello").hide();
	
			});
		}
	);
	// SCRIPT MENU HOVER OUT

	// SCRIPT OVERLAY
	$(".login[rel]").overlay({
	top: '28%',
	mask: {color: '#5cc0e8',opacity: 0.8}
	});
	// SCRIPT OVERLAY

	// SCRIPT SHOW SLIDER
	$(".box_slider").css("display","block");
	// SCRIPT SHOW SLIDER

	// SCRIPT SLIDER NEWS HOME PAGE
	$('#news_home').cycle({
	  fx: 'scrollHorz',
	  timeout: 5000,
	  speed: 300,
	  prev: '#news_prev',
	  next: '#news_next',
	  cleartypeNoBg: true,
	  cleartype: true
	});
	// SCRIPT SLIDER NEWS HOME PAGE
	
	// SCRIPT SLIDER NEWS
	$('#news').cycle({
	  fx: 'scrollHorz',
	  timeout: 5000,
	  speed: 300,
	  prev: '#news_prev',
	  next: '#news_next',
	  cleartypeNoBg: true,
	  cleartype: true
	});
	// SCRIPT SLIDER NEWS

});
