window.addEvent('domready', function(){
	
	
	//pulsante generico link testilink 
	var tool = $$('a.linkTxt');

	tool.each(function(element) {
		var fx = new Fx.Styles(element, {duration:350, wait:false});
		element.addEvent('mouseenter', function(){
			fx.start({
				'color': '#000'
			});
		});
		element.addEvent('mouseleave', function(){
			fx.start({
				'color': '#969A9C'
			});
		});
	});

	//pulsante generico link testilink 
	var tool = $$('#cont a');

	tool.each(function(element) {
		var fx = new Fx.Styles(element, {duration:350, wait:false});
		element.addEvent('mouseenter', function(){
			fx.start({
				'color': '#000'
			});
		});
		element.addEvent('mouseleave', function(){
			fx.start({
				'color': '#969A9C'
			});
		});
	});

	//pulsante menù portfolio 
	/*var tool = $$('.mnPortfolio a');

	tool.each(function(element) {
		var fx = new Fx.Styles(element, {duration:320, wait:false});
		element.addEvent('mouseenter', function(){
			fx.start({
				'color': '#93BA36'
			});
		});
		element.addEvent('mouseleave', function(){
			fx.start({
				'color': '#969A9C'
			});
		});
	});*/




	//pulsante generico link testilinkDettagli
	var tool = $$('.linkDettagli a');

	tool.each(function(element) {
		var fx = new Fx.Styles(element, {duration:350, wait:false});
		element.addEvent('mouseenter', function(){
			fx.start({
				'color': '#000'
			});
		});
		element.addEvent('mouseleave', function(){
			fx.start({
				'color': '#969A9C'
			});
		});
	});



	//bottone Logo UG
	var toolTourCity = $$('img.logo');
	toolTourCity.each(function(element) {
		var fxLoad = new Fx.Style(element, 'opacity');
		var fx = new Fx.Styles(element, {duration:370, wait:false});
		var opacity = '0.65';
		fxLoad.set(opacity);
		element.addEvent('mouseenter', function(){
			fx.start({
				'opacity': '0.99'
			});
		});
		element.addEvent('mouseleave', function(){
			fx.start({
				'opacity': opacity
			});
		});
	});


	//menù principale
	var tool = $$('#mn a');

	tool.each(function(element) {
		var fx = new Fx.Styles(element, {duration:350, wait:false});
		element.addEvent('mouseenter', function(){
			fx.start({
				'color': '#000'
			});
		});
		element.addEvent('mouseleave', function(){
			fx.start({
				'color': '#969A9C'
			});
		});
	});


	//piede di pagina
	var tool = $$('a.linkInfo');

	tool.each(function(element) {
		var fx = new Fx.Styles(element, {duration:350, wait:false});
		element.addEvent('mouseenter', function(){
			fx.start({
				'color': '#000'
			});
		});
		element.addEvent('mouseleave', function(){
			fx.start({
				'color': '#4EA3DB'
			});
		});
	});


	//pulsante form
	var toolTour = $$('.btForm a');
	toolTour.each(function(element) {
		var fxLoad = new Fx.Style(element, 'opacity');
		var fx = new Fx.Styles(element, {duration:370, wait:false});
		var opacity = '0.65';
		fxLoad.set(opacity);
		element.addEvent('mouseenter', function(){
			fx.start({
				'opacity': '0.99'
			});
		});
		element.addEvent('mouseleave', function(){
			fx.start({
				'opacity': opacity
			});
		});
	});



});