function cappelletti() {
	
	// Funione transizioni
	function fx(el, tmp, type) {el.set(type, {duration: tmp, transition: Fx.Transitions.linear})}	
	

	// Effetti menù Principale
	var mn = $$('#mn a')
	mn.removeProperty('title')
	mn.each(function(item, index){
		var i = index
		if (i==mnActive) {
			item.addClass('active')
			item.addEvent('click', $lambda(false))
		} else {
			fx(item, 300, 'tween')
			item.addEvents({
				'mouseover': 	function(){ this.tween('opacity', 0.1) },
				'mouseleave': 	function(){ this.tween('opacity', 1) }
			})
		}
	})


	// Effetti menù secondario
	var mn2 = $$('#sez a')
	mn2.removeProperty('title')
	mn2.each(function(item, index){
		var ii = index
		if (ii==mnMidActive) {
			item.addClass('active')
			item.addEvent('click', $lambda(false))
		} else {
			fx(item, 300, 'tween')
			item.addEvents({
				'mouseover': 	function(){ this.tween('opacity', 0.1) },
				'mouseleave': 	function(){ this.tween('opacity', 1) }
			})
		}
	})
	
	
	// Effetti menù secondario
	var mn3 = $$('#dx .menu a')
	mn3.removeProperty('title')
	mn3.each(function(item, index){
		var ii = index
		if (ii==mnDxActive) {
			item.addClass('active')
			item.addEvent('click', $lambda(false))
		} else {
			fx(item, 300, 'tween')
			item.addEvents({
				'mouseover': 	function(){ this.tween('opacity', 0.1) },
				'mouseleave': 	function(){ this.tween('opacity', 1) }
			})
		}
	})
	
	
	// Effetti link generici
	//lnk.removeProperty('title')
	/*var lnk = $$('#sx a','#foot a')
	lnk.each(function(item, index){
		fx(item, 200, 'morph')
		item.addEvents({
			'mouseover': 	function(){ this.morph('.lnkIn')  },
			'mouseleave': 	function(){ this.morph('.lnkOut') }
		})
	})*/

	
	
	
}
	
window.addEvent('domready', cappelletti)

