$(document).ready(
  function(){
	$("#news").newsTicker();
	
	$("#contenido").css("top","-513px");
	$("#accesoareas").css("height","0px");
	$("#accesonews").css("height","0px");
	$("#Legal_Adv").css("display","none");
	$("#Intro_Escape").css("display","block");
	$("#contenido_flash").css("display","block");
  }
);

$(document).oneTime("10s", "hide", function(){
	hideFlash();
});

this.hideFlash = function(){
	$("#contenido_flash").css("display","none");
	$("#Legal_Adv").css("display","block");
	$("#Intro_Escape").css("display","none");
	$("#contenido").css("top","0px");
	
	var areasheight = $("#accesoareas").css("height");
	if (areasheight=="0px") {
		$("#accesoareas").animate({"height": "+=60px"}, "slow");
		$("#accesonews").animate({"height": "+=60px"}, "slow");
	}
	$(document).stopTime("hide");
};