// Script que crea la animación de los items del index, al hacer hover muestra la descripción del item
$(document).ready(
	function()
	{		
		// Index Hovers
		$('#indexIdiomaCa').hover(
			function()
			{
				$(this).stop().animate({opacity:'1'},{queue:false,duration:300});
			}, 
			function() 
			{
				$(this).stop().animate({opacity:'0'},{queue:false,duration:300});
			});	
		$('#indexIdiomaEs').hover(
			function()
			{
				$(this).stop().animate({opacity:'1'},{queue:false,duration:300});
			}, 
			function() 
			{
				$(this).stop().animate({opacity:'0'},{queue:false,duration:300});
			});	
		$('#indexIdiomaEn').hover(
			function()
			{
				$(this).stop().animate({opacity:'1'},{queue:false,duration:300});
			}, 
			function() 
			{
				$(this).stop().animate({opacity:'0'},{queue:false,duration:300});
			});
		$('#indexMailTo').hover(
			function()
			{
				$(this).stop().animate({opacity:'1'},{queue:false,duration:300});
			}, 
			function() 
			{
				$(this).stop().animate({opacity:'0'},{queue:false,duration:300});
			});	
			
		// Main Menu Hovers
		$('.mainMenu').hover(
			function()
			{
				$(this).stop().animate({opacity:'1'},{queue:false,duration:300});
			}, 
			function() 
			{
				$(this).stop().animate({opacity:'0'},{queue:false,duration:300});
			});
		
		// Sub Menu Hovers
		$('.subMenu').hover(
			function()
			{
				$(this).stop().animate({opacity:'1'},{queue:false,duration:300});
			}, 
			function() 
			{
				$(this).stop().animate({opacity:'0'},{queue:false,duration:300});
			});				
	}
);
