// BuenaBuena

// SLIDER HOME

		$(document).ready(function(){	
			$("#slider").easySlider({
				auto: true, 
				continuous: true,
				speed: 600,
				pause: 5000,
				controlsShow:false

			});
	
	
		});	
 
 // DESPLEGABLE FILTRO MARCAS
    
	$(document).ready(function() { 
   // Muestra y oculta los menús 
   $('ul.filtro li:has(div)').hover( 
      function(e) 
      { 
         $(this).find('div').fadeIn('fast'); 
		 $(this).find('a.item').css({ background: "#00a0eb url(img/filtro_flecha2.jpg) no-repeat 15px 4px"}); 
		 $(this).find('a.item').css({ color: "#fff"});
      }, 
      function(e) 
      { 
         $(this).find('div').fadeOut('fast'); 
		 $(this).find('a.item').css({ background: "url(img/filtro_flecha.jpg) no-repeat 15px 4px"}); 
		 $(this).find('a.item').css({ color: "#0055a5"});
      } 
   ); 
   
 // DESPLEGABLE FILTRO ITEM
 
   $('.caja_marca').hover( 
    function(e) 
      { 
		 $(this).css({ background: "#00a0eb"}); 
		 $(this).find('a').css({ color: "#fff"});
      }, 
      function(e) 
      { 
		 $(this).css({ background: "#fff"}); 
		 $(this).find('a').css({ color: "#00a0eb"});
      } 
   );   
   
   // DESPLEGABLE PIE
   
 $('ul.bloque_pie li:has(div)').hover( 
      function(e) 
      { 
         $(this).find('div').fadeIn('fast'); 
		 $(this).find('a.item').css({ background: "#00a0eb url(img/flecha_pie2.jpg) no-repeat right center"}); 
		 $(this).find('a.item').css({ color: "#fff"});
      }, 
      function(e) 
      { 
         $(this).find('div').fadeOut('fast'); 
		 $(this).find('a.item').css({ background: "url(img/flecha_pie.jpg) no-repeat right center"}); 
		 $(this).find('a.item').css({ color: "#0055a5"});
      } 
   ); 
   
   $("a.cerrar").click(function(event) {
	event.preventDefault();	
   $('.desp_productos').fadeOut('fast');   
   });  
});

$(document).ready(function(){
		$(".gransolucion ul:not(:first)").hide();
		$(".gransolucion h6").click(function(){
			$(".gransolucion ul:visible").slideUp();
			$(this).parent().next("ul").slideToggle("slow");
			
			
			return false;
		});
	});
	
