jQuery(document).ready(function() {
		
		jQuery('.lightbox').lightBox();
$.superbox(	{loadTxt: "Cargando...", // Loading text
	closeTxt: "Cerrar", // "Close" button text
	prevTxt: "Anterior", // "Previous" button text
	nextTxt: "Siguiente" }// "Next" button text
);

	$('.enlaces > li > ul').hide();
	$('.enlaces > li > h3').click(function(){
		    $(this).parent().children('ul').toggle('fast');
		    return false;
		});
	
	$('.guia > li > div').hide();
		$('.guia > li > h3').click(function(){
		    $(this).parent().children('div').toggle('fast');
		    if(!$(this).hasClass('reglamentos')){
			return false;
		    }
		});
		
	        $('.guia_criaderos > li > ul').hide();
	        $('.cont_criaderos').hide();
		$('.guia_criaderos > li > h3').click(function(){
		    $(this).parent().children('ul').toggle('fast');
		    return false;
		});
		$('.guia_zona > li > h4').click(function(){
		    $(this).parent().children('div').toggle('fast');
		    return false;
		});

		
		$('.clubes').hide();
		$('.h3_club').click(function(){
		    $(this).parent().children('ul').toggle('fast');
		    return false;
		});
		
		$('.exp_resultados').hide();
		$('.link_resultados').click(function(){
		    $(this).parent().children('span').toggle('fast');
		    return false;
		});
		jQuery('.slider').cycle('fade');
     /*   jQuery('#cat_razas').click(function(){
                jQuery('#ul_cat_razas').toggle('fast');
                return false;
        });*/
        
        jQuery('#cat_servicios').click(function(){
                jQuery('#ul_cat_servicios').toggle('fast');
                return false;
        });

	jQuery('.secciones').hide();
	jQuery('.razas').hide();

	jQuery('.grupos').click(function(){
		__var__ = $(this).parent().parent().children('.secciones')
		    if (__var__.hasClass('show')){
		    	__var__.hide();
		    	__var__.removeClass('show');
		    }
		    else{
		    	__var__.show();
		    	__var__.addClass('show');
		    }
		return false;
	});
	jQuery('.nombre_seccion').click(function(){
		__var__ = $(this).parent().children('.razas');
		    if (__var__.hasClass('show')){
		    	__var__.hide();
		    	__var__.removeClass('show');
		    }
		    else{
		    	__var__.show();
		    	__var__.addClass('show');
		    }
		return false;
	});

        
	
		jQuery('.col_side').corner();
		jQuery('.login').corner();
		jQuery('.newsletter').corner();
		jQuery('.paginador').corner();        
});

