function init() {
	setupMenu();
	setupGaleriaPie();
}
function setupMenu() {
	dropdown('#menu ul.dropdown > li');
}
function animacionInicial() {
	$(window).load(function() {
		setTimeout(function() {
			$("#wrapper").removeClass("cargando");
			var $titulo = $("#titulo");
			$titulo.css({visibility:'visible'}).fadeOut(0).fadeIn(1000,function() {
				var $center = $("#center");
				$center.css({height:$center.height()+'px'});
				var $contenedor = $("#contenedor");
				var height = $contenedor.height();
				$contenedor.css({visibility:'visible',height:'0px'});
				$contenedor.animate({height:height+'px'},2000,'easeOutQuad',function() {
					$center.css({height:'auto'});
					$contenedor.css({height:'auto'});
					$objs = $("#galeria_pie ul li");
					$objs.fadeOut(0);
					$("#galeria_pie ul").css({visibility:'visible'});
					aparecer_con_fade($objs, 0, 600);
				});			 
			});
		},1000);
	});
}
function aparecer_con_fade($objs, i, time) {
	$objs.eq(i).fadeIn(time,function() {
		aparecer_con_fade($objs,i+1,time);
	});
}
function setupGaleriaPie() {
	scrollable_horizontal('#galeria_pie');
}
