function nav_ant() {
	document.getElementById("muro_ant").width = 15;
	document.getElementById("muro_ant").height = 14;
}
function nav_ant_out() {
	document.getElementById("muro_ant").width = 16;
	document.getElementById("muro_ant").height = 15;
}
function nav_pausa() {
	document.getElementById("muro_pausa").width = 15;
	document.getElementById("muro_pausa").height = 14;
}
function nav_pausa_out() {
	document.getElementById("muro_pausa").width = 16;
	document.getElementById("muro_pausa").height = 15;
}
function nav_sgte() {
	document.getElementById("muro_sgte").width = 15;
	document.getElementById("muro_sgte").height = 14;
}
function nav_sgte_out() {
	document.getElementById("muro_sgte").width = 16;
	document.getElementById("muro_sgte").height = 15;
}
function noticia(imagen,titulo,texto,enlace){
	noticiero.push({
				imagen:imagen,
				texto:texto,
				titulo:titulo,
				enlace:enlace
	});
}
function obj(x){
	return document.getElementById(x);
}
function mostrar(a){
	obj("imagen_muro").src=noticiero[a].imagen;
	obj("titulo_noticias_eventos").innerHTML=noticiero[a].titulo;
	obj("detalle_noticias_eventos").innerHTML=noticiero[a].texto;
	obj("enlace_muro").href=noticiero[a].enlace;
	obj("enlace_muro1").href=noticiero[a].enlace;
	obj("enlace_muro2").href=noticiero[a].enlace;
	obj("indice").innerHTML=a+1;
}
function cambiar(incr){
	b = (noticiero.length>b+incr)?b+incr:0;
	if(b==-1){b=noticiero.length-1;}
	mostrar(b);
}
function inicio(){
	not=setInterval("cambiar(1)",espera*1000);
}
