jQuery.noConflict();

(function($){
	$(function(){
	
		$('.desplegable-recursos').hide();

		$(".desplegar-recursos").click(function(){
			if ($(this).hasClass('clicked')) {
				$('.desplegable-recursos').hide();
				$(this).removeClass('clicked');
				//ponemos la flecha
				$('.flecha').css('background-position','0 10px');
				$(this).removeClass('bold');				

			} else {
				$('.desplegable-recursos').show();
				$(this).addClass('clicked');
				//minus flecha
				$('.flecha').css('background-position','0 -10px');
				$(this).addClass('bold');
			}
			return false;
		});

		$('.desplegable-recursos2').hide();

		$(".desplegar-recursos2").click(function(){
			if ($(this).hasClass('clicked')) {
				$('.desplegable-recursos2').hide();
				$(this).removeClass('clicked');
				//ponemos la flecha
				$('.flecha2').css('background-position','0 10px');
				$(this).removeClass('bold');				

			} else {
				$('.desplegable-recursos2').show();
				$(this).addClass('clicked');
				//minus flecha
				$('.flecha2').css('background-position','0 -10px');
				$(this).addClass('bold');
			}
			return false;
		});
			
	
	});
})(jQuery);
