function ir_home() {
$("#inside").delay(1000).animate({left: "0px"}, "fast")
}
function ir_empresa() {
$("#inside").delay(1000).animate({left: "-955px"}, "fast")
}
function ir_productos() {
$("#inside").delay(1000).animate({left: "-1910px"}, "fast")
}
function ir_servicios() {
$("#inside").delay(1000).animate({left: "-2865px"}, "fast")
}
function ir_noticias() {
$("#inside").delay(1000).animate({left: "-3820px"}, "fast")
}
function ir_contacto() {
$("#inside").delay(1000).animate({left: "-4775px"}, "fast")
}
function ir_galeria() {
$("#inside").delay(1000).animate({left: "-5730px"}, "fast")
}



function empresa_ir_emp() {
$("#empresa_contenido").animate({top: "0px"}, "fast")
}
function empresa_ir_his() {
$("#empresa_contenido").animate({top: "-410px"}, "fast")
}
function empresa_ir_lin() {
$("#empresa_contenido").animate({top: "-820px"}, "fast")
}
function empresa_ir_mar() {
$("#empresa_contenido").animate({top: "-1230px"}, "fast")
}
function empresa_ir_cli() {
$("#empresa_contenido").animate({top: "-1640px"}, "fast")
}


function empresa_up() {
$("#up_down").animate({top: "0px"}, "fast")
}
function empresa_down() {
$("#up_down").animate({top: "-400px"}, "fast")
}

/* Using multiple unit types within one animation. */

$("button").click(function(){
	
$("#solapa")
.fadeIn(200)
.delay(2000)
.fadeOut(500)

	//////////##### BOTONERA #####/////////////////
$("#contenedor_btn")
.fadeOut(0)
.delay(2500)
.fadeIn(1000)

$("#botonera")
.animate({ width: "0px", left: "100%" }, 500)
.delay(1500)
.animate({ width: "100%", left: "0" }, 500)

	//////////##### FRANJA INFERIOR #####/////////////////
$("#contenedor_franja")
.fadeOut(0)
.delay(2500)
.fadeIn(1000)

$("#franja_inferior")
.animate({ width: "0px" }, 500)
.delay(1500)
.animate({ width: "100%" }, 500)

	//////////##### CAROUSEL #####/////////////////
$("#carousel1")
.fadeOut(500)
.delay(2500)
.fadeIn(1000)

$("#carousel")
.animate({ height: "0px" }, 500)
.delay(1500)
.animate({ height: "265px" }, 500)

	//////////##### CONTENIDO #####/////////////////
$("#contenido")
.delay(500)
.animate({ top: "-925px" }, 500)
.delay(500)
.animate({ top: "0" }, 500)

});

