// JavaScript Document
	
	/*function lfOnMouseOver(loObj)
	{
		new Effect.Fade(loObj, 
			{ 
				transition: Effect.Transitions.exponential, 
				from:1.0, 
				to:0.4, 
				duration:0.1,
				queue: { position:'end', scope:'myscope', limit:1 }
			});
	}
	
	function lfOnMouseOut(loObj)
	{
		new Effect.Appear(loObj, 
			{
				transition: Effect.Transitions.exponential,
				from:0.4, 
				to:1.0, 
				duration:0.1,
				queue: { position:'end', scope:'myscope', limit:1 }
			});
	}*/
	
	function lfMouseOverOutMenu(loImgMenu, liOpacity)
	{
		loImgMenu.filters.alpha.opacity = liOpacity;
	}
	
	function lfCleanAltri()
	{
		// Ancore
		//alert($('ancHome').id);
		if ($('imgHome') != null)
		{
			if ($('imgHome').filters.alpha.opacity < 100)
			{
				$('imgHome').filters.alpha.opacity += 20;
			}
		}
		if ($('imgLinks') != null)
		{
			if ($('imgLinks').filters.alpha.opacity < 100)
			{
				$('imgLinks').filters.alpha.opacity += 20;
			}
		}
		if ($('imgLibro') != null)
		{
			if ($('imgLibro').filters.alpha.opacity < 100)
			{
				$('imgLibro').filters.alpha.opacity += 20;
			}
		}
		if ($('imgCompra') != null)
		{
			if ($('imgCompra').filters.alpha.opacity < 100)
			{
				$('imgCompra').filters.alpha.opacity += 20;
			}
		}
		if ($('imgContatti') != null)
		{
			if ($('imgContatti').filters.alpha.opacity < 100)
			{
				$('imgContatti').filters.alpha.opacity += 20;
			}
		}
	}
	
	setInterval('lfCleanAltri()', 150);
	
	function lfChangeLocation(loObj)
	{
		var lsLocation	= '';
		switch (loObj.id)
		{
			case 'ancHome':
				lsLocation	= '.';
				break;
			case 'ancLinks':
				lsLocation	= 'links.html';
				break;
			case 'ancLibro':
				lsLocation	= 'libro.html';
				break;
			case 'ancCompra':
				lsLocation	= 'compra.aspx';
				break;
			case 'ancContatti':
				lsLocation	= 'mailto:info@rivoluzioneinteriore.com?subject=Richiesta di informazioni';
				break;
		}
		document.location.href	= lsLocation;
	}
