ÿØÿàJFIFÿþ ÿÛC       ÿÛC ÿÀÿÄÿÄ"#QrÿÄÿÄ&1!A"2qQaáÿÚ ?Øy,æ/3JæÝ¹È߲؋5êXw²±ÉyˆR”¾I0ó2—PI¾IÌÚiMö¯–þrìN&"KgX:Šíµ•nTJnLK„…@!‰-ý ùúmë;ºgµŒ&ó±hw’¯Õ@”Ü— 9ñ-ë.²1<yà‚¹ïQÐU„ہ?.’¦èûbß±©Ö«Âw*VŒ) `$‰bØÔŸ’ëXÖ-ËTÜíGÚ3ð«g Ÿ§¯—Jx„–’U/ÂÅv_s(Hÿ@TñJÑãõçn­‚!ÈgfbÓc­:él[ðQe 9ÀPLbÃãCµm[5¿ç'ªjglå‡Ûí_§Úõl-;"PkÞÞÁQâ¼_Ñ^¢SŸx?"¸¦ùY騐ÒOÈ q’`~~ÚtËU¹CڒêV  I1Áß_ÿÙ $(document).ready(function () { $(window).bind('scroll', function () { if ($(window).scrollTop() > 85) { $('#header_barra_inf').addClass('fixed'); $('main').addClass('fixed'); } else { $('#header_barra_inf').removeClass('fixed'); $('main').removeClass('fixed'); } }); var tiempo_inicio_animdest = 100; var tiempo_entre_imgdest = 5000; var tiempo_fadedest = 1000; $(".slider").hide(); function animacion_destacado() { $(".slider1").fadeTo(500, 1, function() { $(".slider1").show(); }); setTimeout(function() { $(".slider0").hide(); $(".animado_0").attr("src","css/images_css/boton.png"); $(".slider1").fadeTo(500, 1, function() { $(".slider1").show(); }); $(".animado_1").attr("src","css/images_css/boton_activo.png"); }, tiempo_entre_imgdest*0); setTimeout(function() { $(".slider1").hide(); $(".animado_1").attr("src","css/images_css/boton.png"); $(".slider2").fadeTo(500, 1, function() { $(".slider2").show(); }); $(".animado_2").attr("src","css/images_css/boton_activo.png"); }, tiempo_entre_imgdest*1); setTimeout(function() { $(".slider2").hide(); $(".animado_2").attr("src","css/images_css/boton.png"); $(".slider3").fadeTo(500, 1, function() { $(".slider3").show(); }); $(".animado_3").attr("src","css/images_css/boton_activo.png"); }, tiempo_entre_imgdest*2); setTimeout(function() { $(".animado_3").attr("src","css/images_css/boton.png"); $(".slider3").hide(); animacion_destacado(); }, tiempo_entre_imgdest*3); } setTimeout(function() { animacion_destacado(); }, tiempo_inicio_animdest); $("#bot_foto_0").click(function(event){ event.preventDefault(); $("#slider").load("jquery/fuente_ajax/slider_home.php?cualo=0&idiom=2"); $(".slider").show(); $(".slider_0").show(); $("#img_des_0").attr("src","css/images_css/boton_activo.png"); $("#botonera_slider img").removeClass("animado_1"); $("#botonera_slider img").addClass("fijo"); $(".slider1").hide(); $("#img_des_1").attr("src","css/images_css/boton.png"); $("#botonera_slider img").removeClass("animado_2"); $("#botonera_slider img").addClass("fijo"); $(".slider2").hide(); $("#img_des_2").attr("src","css/images_css/boton.png"); $("#botonera_slider img").removeClass("animado_3"); $("#botonera_slider img").addClass("fijo"); $(".slider3").hide(); $("#img_des_3").attr("src","css/images_css/boton.png"); setTimeout(function() { animacion_destacado(); }, tiempo_inicio_animdest); }); $(".sobrevid0").click(function(event){ event.preventDefault(); $("#slider").load("jquery/fuente_ajax/slider_home.php?cualo=0&idiom=2"); $(".slider").show(); $(".slider_0").show(); $("#img_des_0").attr("src","css/images_css/boton_activo.png"); $("#botonera_slider img").removeClass("animado_1"); $("#botonera_slider img").addClass("fijo"); $(".slider1").hide(); $("#img_des_1").attr("src","css/images_css/boton.png"); $("#botonera_slider img").removeClass("animado_2"); $("#botonera_slider img").addClass("fijo"); $(".slider2").hide(); $("#img_des_2").attr("src","css/images_css/boton.png"); $("#botonera_slider img").removeClass("animado_3"); $("#botonera_slider img").addClass("fijo"); $(".slider3").hide(); $("#img_des_3").attr("src","css/images_css/boton.png"); setTimeout(function() { animacion_destacado(); }, tiempo_inicio_animdest); }); $("#bot_foto_1").click(function(event){ event.preventDefault(); $("#slider").load("jquery/fuente_ajax/slider_home.php?cualo=1&idiom=2"); $(".slider").show(); $(".slider_1").show(); $("#img_des_1").attr("src","css/images_css/boton_activo.png"); $("#botonera_slider img").removeClass("animado_1"); $("#botonera_slider img").addClass("fijo"); $("#botonera_slider img").removeClass("animado_2"); $("#botonera_slider img").addClass("fijo"); $(".slider2").hide(); $("#img_des_2").attr("src","css/images_css/boton.png"); $("#botonera_slider img").removeClass("animado_3"); $("#botonera_slider img").addClass("fijo"); $(".slider3").hide(); $("#img_des_3").attr("src","css/images_css/boton.png"); setTimeout(function() { animacion_destacado(); }, tiempo_inicio_animdest); }); $(".sobrevid1").click(function(event){ event.preventDefault(); $("#slider").load("jquery/fuente_ajax/slider_home.php?cualo=1&idiom=2"); $(".slider").show(); $(".slider_1").show(); $("#img_des_1").attr("src","css/images_css/boton_activo.png"); $("#botonera_slider img").removeClass("animado_1"); $("#botonera_slider img").addClass("fijo"); $("#botonera_slider img").removeClass("animado_2"); $("#botonera_slider img").addClass("fijo"); $(".slider2").hide(); $("#img_des_2").attr("src","css/images_css/boton.png"); $("#botonera_slider img").removeClass("animado_3"); $("#botonera_slider img").addClass("fijo"); $(".slider3").hide(); $("#img_des_3").attr("src","css/images_css/boton.png"); setTimeout(function() { animacion_destacado(); }, tiempo_inicio_animdest); }); $("#bot_foto_2").click(function(event){ event.preventDefault(); $("#slider").load("jquery/fuente_ajax/slider_home.php?cualo=2&idiom=2"); $(".slider").show(); $(".slider_2").show(); $("#img_des_2").attr("src","css/images_css/boton_activo.png"); $("#botonera_slider img").removeClass("animado_1"); $("#botonera_slider img").addClass("fijo"); $(".slider1").hide(); $("#img_des_1").attr("src","css/images_css/boton.png"); $("#botonera_slider img").removeClass("animado_2"); $("#botonera_slider img").addClass("fijo"); $("#botonera_slider img").removeClass("animado_3"); $("#botonera_slider img").addClass("fijo"); $(".slider3").hide(); $("#img_des_3").attr("src","css/images_css/boton.png"); setTimeout(function() { animacion_destacado(); }, tiempo_inicio_animdest); }); $(".sobrevid2").click(function(event){ event.preventDefault(); $("#slider").load("jquery/fuente_ajax/slider_home.php?cualo=2&idiom=2"); $(".slider").show(); $(".slider_2").show(); $("#img_des_2").attr("src","css/images_css/boton_activo.png"); $("#botonera_slider img").removeClass("animado_1"); $("#botonera_slider img").addClass("fijo"); $(".slider1").hide(); $("#img_des_1").attr("src","css/images_css/boton.png"); $("#botonera_slider img").removeClass("animado_2"); $("#botonera_slider img").addClass("fijo"); $("#botonera_slider img").removeClass("animado_3"); $("#botonera_slider img").addClass("fijo"); $(".slider3").hide(); $("#img_des_3").attr("src","css/images_css/boton.png"); setTimeout(function() { animacion_destacado(); }, tiempo_inicio_animdest); }); $("#bot_foto_3").click(function(event){ event.preventDefault(); $("#slider").load("jquery/fuente_ajax/slider_home.php?cualo=3&idiom=2"); $(".slider").show(); $(".slider_3").show(); $("#img_des_3").attr("src","css/images_css/boton_activo.png"); $("#botonera_slider img").removeClass("animado_1"); $("#botonera_slider img").addClass("fijo"); $(".slider1").hide(); $("#img_des_1").attr("src","css/images_css/boton.png"); $("#botonera_slider img").removeClass("animado_2"); $("#botonera_slider img").addClass("fijo"); $(".slider2").hide(); $("#img_des_2").attr("src","css/images_css/boton.png"); $("#botonera_slider img").removeClass("animado_3"); $("#botonera_slider img").addClass("fijo"); setTimeout(function() { animacion_destacado(); }, tiempo_inicio_animdest); }); $(".sobrevid3").click(function(event){ event.preventDefault(); $("#slider").load("jquery/fuente_ajax/slider_home.php?cualo=3&idiom=2"); $(".slider").show(); $(".slider_3").show(); $("#img_des_3").attr("src","css/images_css/boton_activo.png"); $("#botonera_slider img").removeClass("animado_1"); $("#botonera_slider img").addClass("fijo"); $(".slider1").hide(); $("#img_des_1").attr("src","css/images_css/boton.png"); $("#botonera_slider img").removeClass("animado_2"); $("#botonera_slider img").addClass("fijo"); $(".slider2").hide(); $("#img_des_2").attr("src","css/images_css/boton.png"); $("#botonera_slider img").removeClass("animado_3"); $("#botonera_slider img").addClass("fijo"); setTimeout(function() { animacion_destacado(); }, tiempo_inicio_animdest); }); $('#boton_desplegable').click( function () { $(".ocultable").slideToggle(500); $("#menumovil").stop().animate({width: "25em", "margin-right": "0em"}, 500); $("#fondo_oscurecido").fadeIn(300); $("#boton_desplegable").hide(300); $("body").css("overflow", "hidden"); } ); $('#fondo_oscurecido, #boton_cerrar_desplegable').click( function () { $(".ocultable").slideToggle(500); $("#menumovil").stop().animate({width: "25em", "margin-right": "-25em"}, 500); $("#fondo_oscurecido").fadeOut(300); $("#boton_desplegable").show(300); $("body").css("overflow", "auto"); } ); $('.navegacion li').hover( // MOUSE OVER function () { $('ul', this).stop(true).slideDown(300); }, // MOUSE OUT function () { $('ul', this).stop(true).slideUp(50); } ); $('.navegacion_movil li').click( // MOUSE OVER function () { $('.submenumovil',this).slideToggle(500); } ); $('#boton_busqueda').click( // MOUSE OVER function () { $('#flecha_busqueda').toggleClass('volteado'); $('#buscador_general').slideToggle(300); $("#buscador_general").toggleClass('visible'); $('#MapaCAV').slideToggle(300); $("#MapaCAV").toggleClass('visible'); } ); //NAV FOTOS foto_actual = 1; $('#boton_ant').click(function(){ if (foto_actual > 1) { foto_actual = foto_actual - 1; $("#fotografias").hide().load("jquery/fuente_ajax/galeria.php?foto_num="+foto_actual).fadeIn("slow"); } $('#boton_sig').removeClass('bot_sig_des'); $('#boton_sig').addClass('bot_sig'); if (foto_actual == 1) { $('#boton_ant').removeClass('bot_ant'); $('#boton_ant').addClass('bot_ant_des'); } }); $('#boton_sig').click(function(){ if (foto_actual < cuantas_fotos) { foto_actual = foto_actual + 1; $("#fotografias").hide().load("jquery/fuente_ajax/galeria.php?foto_num="+foto_actual).fadeIn("slow"); } $('#boton_ant').removeClass('bot_ant_des'); $('#boton_ant').addClass('bot_ant'); if (foto_actual == cuantas_fotos) { $('#boton_sig').removeClass('bot_sig'); $('#boton_sig').addClass('bot_sig_des'); } }); //CALENDARIO var mes_actual = 0; var ano_actual = 0; var idioma_actual = 0; mes_actual = document.getElementById("mesactual").value; ano_actual = document.getElementById("anoactual").value; idioma_actual = document.getElementById("idiomaactual").value; if (mes_actual != 0 && ano_actual != 0 && idioma_actual != 0) { // Si hay MES, AÑO e IDIOMA $('#calenatrasagenda a span').click(function(){ if (mes_actual > 0) { mes_actual = Number(mes_actual) - 1; } if (mes_actual == 0) { mes_actual = 12; ano_actual = Number(ano_actual) - 1; } $("#calendarioagenda").stop(true).hide().load("jquery/fuente_ajax/mes_calendario_agenda.php?idiomacalen="+idioma_actual+"&hilacalen_num="+mes_actual+"&urtecalen_num="+ano_actual).show(); }); $('#calenadelanteagenda a span').click(function(){ if (mes_actual < 13) { mes_actual = Number(mes_actual) + 1; } if (mes_actual == 13) { mes_actual = 1; ano_actual = Number(ano_actual) + 1; } $("#calendarioagenda").stop(true).hide().load("jquery/fuente_ajax/mes_calendario_agenda.php?idiomacalen="+idioma_actual+"&hilacalen_num="+mes_actual+"&urtecalen_num="+ano_actual).show(); }); } // Find all iframes var $iframes = $( "iframe" ); // Find & save the aspect ratio for all iframes $iframes.each(function () { $( this ).data( "ratio", this.height / this.width ) // Remove the hardcoded width & height attributes .removeAttr( "width" ) .removeAttr( "height" ); }); // Resize the iframes when the window is resized $( window ).resize( function () { $iframes.each( function() { // Get the parent container's width var width = $( this ).parent().width(); $( this ).width( width ) .height( width * $( this ).data( "ratio" ) ); }); // Resize to fix all iframes on page load. }).resize(); // Find all objects var $objects = $( "object" ); // Find & save the aspect ratio for all iframes $objects.each(function () { $( this ).data( "ratio", this.height / this.width ) // Remove the hardcoded width & height attributes .removeAttr( "width" ) .removeAttr( "height" ); }); // Resize the iframes when the window is resized $( window ).resize( function () { $objects.each( function() { // Get the parent container's width var width = $( this ).parent().width(); $( this ).width( width ) .height( width * $( this ).data( "ratio" ) ); }); // Resize to fix all iframes on page load. }).resize(); $('.boton_compartir').hover( // MOUSE OVER function () { $('#redes_contenido').stop(true).animate({ width: "toggle", opacity: "toggle" }); } ); $('.boton_compartir_persona').hover( // MOUSE OVER function () { $('#redes_contenido_persona').stop(true).animate({ width: "toggle", opacity: "toggle" }); } ); $('.boton_compartir_agenda').hover( // MOUSE OVER function () { $('#redes_contenido_agenda').stop(true).animate({ width: "toggle", opacity: "toggle" }); } ); $("#aceptar_cookie").click(function () { expires = new Date(); expires.setTime(expires.getTime() + 31536000000); document.cookie="acepta_cookies=si; expires=" + expires.toUTCString(); + "; path=/"; $("#cookies").slideUp(500); }); }); function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i