$(document).ready(function() {
		
	
		
		$('#listado-servicios img').css('padding', "3px");
		

		
		$('#listado-servicios img').mouseenter(function() {
		 
		var posicion=$(this).attr('alt');
		
	
		$('dt a').eq(posicion).css('text-decoration', "underline");
		
			$('dt a').eq(posicion).css('color', "black");
			
			$('#listado-servicios li').eq(posicion).css('background-color', "#ccc");
		
			$(this).css('opacity',1);	
	$(this).css('background-color',"black");
	
			
			
		});
		
		
		$('#listado-servicios img').mouseout(function(){
		 
		 	var posicion=$(this).attr('alt');
		 		
	$('#listado-servicios li').eq(posicion).css('background-color', "white");
			$('dt a').eq(posicion).css('color', "#023a67");
			
	
		
			
			$(this).css('background-color',"white");
		
	
			
			
			
		});
		
	
			$('dl a').mouseenter(function(){
			 
			var nombre = $(this).attr('name');
			
			$(this).css('text-decoration', "underline").css('color', "orange");
	
			
				
			$('#listado-servicios img').eq(nombre).css('background-color',"black");
				$('#listado-servicios li').eq(nombre).css('background-color', "#ccc");
			



			
			
		});
		
		
			$('dl a').mouseout(function(){
			 
			$(this).css('text-decoration', "underline").css('color', "blue");
			var nombre = $(this).attr('name');
	
		
					$('#listado-servicios img').eq(nombre).css('background-color',"white");
					$('#listado-servicios li').eq(nombre).css('background-color', "white");



			
			
		});
		
		
		
		
		
			$('table img').css('padding', "3px");
		
			$('table img').mouseenter(function() {
		 
		var posicion=$(this).attr('alt');
		
	
		$('dl a').eq(posicion).css('text-decoration', "underline");
		
			$('dl a').eq(posicion).css('color', "black");
			
			$('#listado-servicios li').eq(posicion).css('background-color', "#f1a629");
		
			$(this).css('opacity',1);	
	$(this).css('background-color',"black");
	
			
			
		});
		
$('.ver-web').mouseenter(function(){
	
			$(this).parent('li').css('background-color', "#ccc");
			
			}).mouseout(function(){
				$(this).parent('li').css('background-color', "white");	
				
			});
			

	});
		
	
		

