$(document).ready(function (){
	
	/*-- rollover promos
	
	$(".promo1").mouseover(function (){
		$(".promo1-rollover").fadeIn("fast");	
	});
	
	$(".promo1-rollover").mouseout(function (){
		$(".promo1-rollover").fadeOut("slow");
	});
	
		$(".promo2").mouseover(function (){
		$(".promo2-rollover").fadeIn("fast");	
	});
	
	$(".promo2-rollover").mouseout(function (){
		$(".promo2-rollover").fadeOut("slow");
	});

	
	
	/*-- FADE LAYOUT	
	
	
	// $("div.foto").css({visibility: "hidden" });  // ESTO SE OCULTA EN CSS
	
	$(".layout").fadeIn("fast")
	
	--*/
	
	
	/*-- abrir header
	
	setTimeout(function() { $(".header-visita").animate({height:750},"slow"); }, 1000);
	setTimeout(function() { $(".header-visita iframe").animate({height:750},"slow"); }, 1000);
	
	
	--*/
	
	/*-- ocultar destacados
		
	$(".cont-home-open1").css({display: "none" });
	$(".cont-home-open2").css({display: "none" });
	$(".cont-home-open3").css({display: "none" });
	
	--*/
	
	
	$(".destacado1").click(function (){
		$(".cont-home-open1").fadeIn("slow");
		$(".cont-home-open1").animate({height:340},"slow");		
	});
	
	$(".bt-volver1").click(function (){
		$(".cont-home-open1").fadeOut("slow");
	});
	
	$(".destacado2").click(function (){
		$(".cont-home-open2").fadeIn("slow");							 
		$(".cont-home-open2").animate({height:340},"slow");
	});
	
	$(".bt-volver2").click(function (){
		$(".cont-home-open2").fadeOut("slow")
	});
	
	$(".destacado3").click(function (){
		$(".cont-home-open3").fadeIn("slow");							 
		$(".cont-home-open3").animate({height:340},"slow");
	});
	
	$(".bt-volver3").click(function (){
		$(".cont-home-open3").fadeOut("slow")
	});
	
	$(".bt-hitos").click(function (){
		$(".cont-hitos").animate({height:420},"slow");
	});
	
	$(".bt-cerrar-hitos").click(function (){
		$(".cont-hitos").animate({height:0},"slow");
	});
	
});
