jQuery(document).ready(function(){jQuery('.fondo ul').hide();jQuery(".lightbox").hide();jQuery(".trigger1").click(function(){jQuery("#panel1").toggle("fast");jQuery(this).toggleClass("active");jQuery(".lightbox").show();return false;});jQuery(".trigger2").click(function(){jQuery("#panel2").toggle("fast");jQuery(this).toggleClass("active");jQuery(".lightbox").show();return false;});jQuery(".trigger3").click(function(){jQuery("#panel3").toggle("fast");jQuery(this).toggleClass("active");jQuery(".lightbox").show();return false;});jQuery(".trigger5").click(function(){jQuery("#panel5").toggle("fast");jQuery(this).toggleClass("active");jQuery("#panel5 .socialEvents1").show();jQuery("#panel5 .socialEvents2").hide();jQuery(".lightbox").show();return false;});jQuery(".trigger6").click(function(){jQuery("#panel6").toggle("fast");jQuery(this).toggleClass("active");jQuery(".lightbox").show();return false;});jQuery(".trigger4").click(function(){jQuery("#panel4").toggle("fast");jQuery(this).toggleClass("active");jQuery("#panel4 .standarRooms").show();jQuery(".lightbox").show();return false;});jQuery(".trigger7").click(function(){jQuery("#panel7").toggle("fast");jQuery(this).toggleClass("active");jQuery(".lightbox").show();return false;});jQuery(".trigger8").click(function(){jQuery("#panel8").toggle("fast");jQuery(this).toggleClass("active");jQuery(".lightbox").show();return false;});jQuery(".cerrar1").click(function(){jQuery("#panel1").toggle("fast");jQuery(this).toggleClass("active");jQuery(".galeria_hotel .foto1").show();jQuery(".texto1").show();jQuery(".galeria_hotel .foto2").hide();jQuery("#texto2").hide();jQuery(".galeria_hotel .foto3").hide();jQuery("#texto3").hide();jQuery(".galeria_hotel .foto4").hide();jQuery("#texto4").hide();jQuery(".lightbox").hide();return false;});jQuery(".cerrar2").click(function(){jQuery("#panel2").toggle("fast");jQuery(this).toggleClass("active");jQuery(".lightbox").hide();return false;});jQuery(".cerrar3").click(function(){jQuery("#panel3").toggle("fast");jQuery(this).toggleClass("active");jQuery(".lightbox").hide();return false;});jQuery(".cerrar4").click(function(){jQuery("#panel4").toggle("fast");jQuery(this).toggleClass("active");jQuery(".lightbox").hide();return false;});jQuery(".cerrar5").click(function(){jQuery("#panel5").toggle("fast");jQuery(this).toggleClass("active");jQuery(".lightbox").hide();return false;});jQuery(".cerrar6").click(function(){jQuery("#panel6").toggle("fast");jQuery(this).toggleClass("active");jQuery(".lightbox").hide();return false;});jQuery(".cerrar7").click(function(){jQuery("#panel7").toggle("fast");jQuery(this).toggleClass("active");jQuery(".lightbox").fadeOut("slow");jQuery(".lightbox").hide();return false;});jQuery(".cerrar8").click(function(){jQuery("#panel8").toggle("fast");jQuery(this).toggleClass("active");jQuery(".lightbox").fadeOut("slow");jQuery(".lightbox").hide();return false;});jQuery('img.background').mouseover(function(){jQuery('.fondo ').hide("slow");jQuery('.fondo ul').hide("slow");jQuery("#top #btn1 ").animate({"paddingLeft":"0px"});jQuery("#top #btn2 ").animate({"paddingLeft":"0px"});return false;});jQuery("#top img#btn1").mouseover(function(){jQuery("#top #btn1 ").animate({"paddingLeft":"9px"});return false;});jQuery("#top img#btn2").mouseover(function(){jQuery('#top .fondo ').show("slow");jQuery('#top .fondo ul').show("slow");jQuery("#top #btn2 ").animate({"paddingLeft":"9px"});return false;});jQuery("#top ul li a").click(function(){jQuery('#top .fondo ul').hide("slow");jQuery('#top .fondo ').hide("slow");return false;});jQuery("#magia").click(function(){jQuery("#top").fadeOut("slow");jQuery("#idiomas").fadeOut("slow");jQuery(".reborn").fadeOut("slow");jQuery("#pie").fadeOut("slow");jQuery("#panel1").fadeOut("slow");jQuery("#fondoImagen").fadeOut("slow");jQuery("#page").fadeIn("slow");jQuery("#logo_gal").fadeIn("slow");jQuery("#acapulco_gal").fadeIn("slow");jQuery("img.background").fadeOut("slow");jQuery(".lightbox").fadeOut("slow");jQuery(".close2").hide();jQuery(".close").hide();jQuery("#gallery").css({display:"block"});return false;});jQuery("#gallery #close").click(function(){jQuery("#top").fadeIn("slow");jQuery("#idiomas").fadeIn("slow");jQuery(".reborn").fadeIn("slow");jQuery("#pie").fadeIn("slow");jQuery("#panel1").fadeIn("slow");jQuery("#fondoImagen").fadeIn("slow");jQuery("#page").fadeOut("slow");jQuery("#logo_gal").fadeOut("slow");jQuery("#acapulco_gal").fadeOut("slow");jQuery("img.background").fadeIn("slow");jQuery("#gallery").css({display:"none"});});jQuery("#galeria_FS").click(function(){jQuery("#top").fadeOut("slow");jQuery("#idiomas").fadeOut("slow");jQuery(".reborn").fadeOut("slow");jQuery("#pie").fadeOut("slow");jQuery("#panel1").fadeOut("slow");jQuery("#fondoImagen").fadeOut("slow");jQuery("#page").fadeIn("slow");jQuery("#logo_gal").fadeIn("slow");jQuery("#acapulco_gal").fadeIn("slow");jQuery("img.background").fadeOut("slow");jQuery("#gallery").css({display:"block"});jQuery("#close").fadeOut("slow");return false;});jQuery("#gallery #close2").click(function(){jQuery("#top").fadeIn("slow");jQuery("#idiomas").fadeIn("slow");jQuery(".reborn").fadeIn("slow");jQuery("#pie").fadeIn("slow");jQuery("#fondoImagen").fadeIn("slow");jQuery("#page").fadeOut("slow");jQuery("#logo_gal").fadeOut("slow");jQuery("#acapulco_gal").fadeOut("slow");jQuery("img.background").fadeIn("slow");jQuery("#gallery").css({display:"none"});jQuery("#close").fadeIn("slow");});});