window.addEvent('domready', function(){
	
	if($('node_id_209'))
	{
		$('node_id_209').addEvents({
			'mouseenter': function(){
				// Always sets the duration of the tween to 1000 ms and a bouncing transition
				// And then tweens the height of the element
				$('submenu_node_id_209').set('tween', {
					duration: 500 /*,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'*/
				}).tween('height', '60px');
			},
			'mouseleave': function(){
				// Resets the tween and changes the element back to its original size
				$('submenu_node_id_209').set('tween', {}).tween('height', '0px');
			}
		});
	}
	
	if($('node_id_217'))
	{
		$('node_id_217').addEvents({
			'mouseenter': function(){
				// Always sets the duration of the tween to 1000 ms and a bouncing transition
				// And then tweens the height of the element
				$('submenu_node_id_217').set('tween', {
					duration: 500 /*,
					transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'*/
				}).tween('height', '90px');
			},
			'mouseleave': function(){
				// Resets the tween and changes the element back to its original size
				$('submenu_node_id_217').set('tween', {}).tween('height', '0px');
			}
		});
	}

if($('novita')){
	$('novita').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			this.set('class','selected');
			$('motori_ricerca').set('class','');
			$('relizzazione_siti').set('class','');
			$('qui_brescia').set('class','');
			$('main_img').set('src','/var/sito/storage/images/media/images/novita/2954-2-ita-IT/Novita.gif');
			$('main_img').set('title','');
			$('main_img').set('alt','');
			$('main_link').set('href',this.href);
			$('main_link').set('class','c-nolink');
		}
	});
	
	$('novita').set('class','selected');
};

if($('relizzazione_siti')){
	$('relizzazione_siti').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			this.set('class','selected');
			$('novita').set('class','');
			$('motori_ricerca').set('class','');
			$('qui_brescia').set('class','');
			$('main_img').set('src','/var/sito/storage/images/media/images/realizzazione-siti2/2506-10-ita-IT/Realizzazione-siti.gif');
			$('main_img').set('title','Realizzazione siti');
			$('main_img').set('alt','Realizzazione siti');
			$('main_link').set('href',this.href);
			$('main_link').set('class','c-link');
		}
	});
	
};

if($('motori_ricerca')){
	$('motori_ricerca').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			this.set('class','selected');
			$('novita').set('class','');
			$('relizzazione_siti').set('class','');
			$('qui_brescia').set('class','');
			$('main_img').set('src','/var/sito/storage/images/media/images/posizionamento-motori-di-ricerca/2510-7-ita-IT/Posizionamento-motori-di-ricerca.gif');
			$('main_img').set('title','Posizionamento motori di ricerca');
			$('main_img').set('alt','Posizionamento motori di ricerca');
			$('main_link').set('href',this.href);
			$('main_link').set('class','c-link');
		}
	});
};

if($('qui_brescia')){
	$('qui_brescia').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			this.set('class','selected');
			$('novita').set('class','');
			$('relizzazione_siti').set('class','');
			$('motori_ricerca').set('class','');
			$('main_img').set('src','/var/sito/storage/images/media/images/qui-brescia-rubrica/2514-7-ita-IT/Qui-Brescia-Rubrica.gif');
			$('main_img').set('title','QuiBrescia - Rubrica Visionova');
			$('main_img').set('alt','QuiBrescia - Rubrica Visionova');
			$('main_link').set('href',this.href);
			$('main_link').set('class','c-link');
		}
	});
};
	

});