$(function() {
// Poner opacidad al 70% nada mas empezar
$("#viewscarousel-ultimas-noticias-EASP-carousel-block-1 img").css("opacity","1.0");
		
// ON MOUSE OVER
$("#viewscarousel-ultimas-noticias-EASP-carousel-block-1 img").hover(function () {
										  
// Al ponerse encima subirla al 100%
$(this).stop().animate({
opacity: 0.7
}, "fast");


},


// ON MOUSE OUT
function () {
			
// Restaurar al 70% al quitar el raton
$(this).stop().animate({
opacity: 1.0
}, "3500");
});
});






$(function() {
// Poner opacidad al 70% nada mas empezar
$("#footer").css("opacity","1.0");
		
// ON MOUSE OVER
$("#footer").hover(function () {
										  
// Al ponerse encima subirla al 100%
$(this).stop().animate({
opacity: 0.9
}, "fast");


},


// ON MOUSE OUT
function () {
			
// Restaurar al 70% al quitar el raton
$(this).stop().animate({
opacity: 1.0
}, "3500");
});
});












$(function() {
// Poner opacidad al 70% nada mas empezar
$("#profesionales").css("opacity","0.7");
		
// ON MOUSE OVER
$("#profesionales").hover(function () {
										  
// Al ponerse encima subirla al 100%
$(this).stop().animate({
opacity: 1.0
}, "fast");


},


// ON MOUSE OUT
function () {
			
// Restaurar al 70% al quitar el raton
$(this).stop().animate({
opacity: 0.7
}, "3500");
});
});






$(function() {
// Poner opacidad al 70% nada mas empezar
$("#instituciones").css("opacity","0.7");
		
// ON MOUSE OVER
$("#instituciones").hover(function () {
										  
// Al ponerse encima subirla al 100%
$(this).stop().animate({
opacity: 1.0
}, "fast");


},


// ON MOUSE OUT
function () {
			
// Restaurar al 70% al quitar el raton
$(this).stop().animate({
opacity: 0.7
}, "3500");
});
});










$(function() {
// Poner opacidad al 70% nada mas empezar
$(".ilumina").css("opacity","0.7");
		
// ON MOUSE OVER
$(".ilumina").hover(function () {
										  
// Al ponerse encima subirla al 100%
$(this).stop().animate({
opacity: 1.0
}, "fast");


},


// ON MOUSE OUT
function () {
			
// Restaurar al 70% al quitar el raton
$(this).stop().animate({
opacity: 0.7
}, "3500");
});
});
















$(function() {
// Poner opacidad al 70% nada mas empezar
$(".boton_area img").css("opacity","1.0");
		
// ON MOUSE OVER
$(".boton_area img").hover(function () {
						  
// Al ponerse encima subirla al 100%
$(".boton_area img").not(this).stop().animate({
opacity: 0.4
}, "fast");




},


// ON MOUSE OUT
function () {
	
// Restaurar al 70% al quitar el raton
$(".boton_area img").not(this).stop().animate({
opacity: 1.0
}, "3500");
});
});






























$(document).ready(function(){

	//Ocultar el desplegable al principio
	
	$(".desplegable").hide(); 
$(".desplegable").css("opacity","0.3");

	$(".desplegable_simple").hide(); 
$(".desplegable_simple").css("opacity","0.3");

	//Al hacer click hace toggle (mostrar/ocultar) sobre el siguiente elemento que le precede, o sea el div 'desplegable'
	$(".desplegar").click(function(){
		$(this).toggleClass("active").next().slideToggle("slow").animate({
opacity: 1.0
}, "slow");
		return false; //Prevent the browser jump to the link anchor
	});

});

 










//Desplegable con flecha


$(document).ready(function(){

	//Ocultar el desplegable al principio
	
	$(".desplegable2").hide(); 
$(".desplegable2").css("opacity","0.3");



	//Al hacer click hace toggle (mostrar/ocultar) sobre el siguiente elemento que le precede, o sea el div 'desplegable'
	$(".desplegar2").click(function(){
		$(this).next().slideToggle("slow").animate({
opacity: 1.0
}, "slow");
		
		$(this).toggleClass("active");
		$(this).siblings("h3").removeClass("active");
		
		return false; //Prevent the browser jump to the link anchor
	});
	
	
	
	$(".desplegar_off").click(function(){
		$(this).next().slideToggle("slow").animate({
opacity: 1.0
}, "slow");
		
		$(this).toggleClass("active");
		$(this).siblings("h3").removeClass("active");
		
		return false; //Prevent the browser jump to the link anchor
	});
	

});
















$(function() {



$(".menu_degrad_verde").click(function () {
     highlight();
});





						   });
