function noti_start() {
	var noticiasSupported = false;
	noticias_ancho = document.getElementById("noticias").style.width;
	var img = "<img src='imagenes/vacio.gif' width='"+noticias_ancho+"' height='0'>";
	if (navigator.userAgent.indexOf("Firefox")!=-1 || navigator.userAgent.indexOf("Safari")!=-1) {
		document.getElementById("noticias").innerHTML = "<TABLE  cellspacing='0' cellpadding='0' width='100%'><TR><TD nowrap='nowrap'>"+img+"<SPAN style='"+noticias_estilo+"' ID='cuerpo' width='100%'>&nbsp;</SPAN>"+img+"</TD></TR></TABLE>";
		noticiasSupported = true;
	}
	if (navigator.userAgent.indexOf("MSIE")!=-1 && navigator.userAgent.indexOf("Opera")==-1) {
		document.getElementById("noticias").innerHTML = "<DIV nowrap='nowrap' style='width:100%;'>"+img+"<SPAN style='"+noticias_estilo+"' ID='cuerpo' width='100%'></SPAN>"+img+"</DIV>";
		noticiasSupported = true;
	}
	if(!noticiasSupported) document.getElementById("noticias").outerHTML = ""; else {
		document.getElementById("noticias").scrollLeft = 0;
		document.getElementById("cuerpo").innerHTML = contenido;
		document.getElementById("noticias").style.display="block";
		noti_mover();
	}
}
function noti_mover() {
	if(!enpausa) document.getElementById("noticias").scrollLeft += velocidad * (false ? -1 : 1);
	if(document.getElementById("noticias").scrollLeft >= document.getElementById("noticias").scrollWidth - document.getElementById("noticias").offsetWidth) document.getElementById("noticias").scrollLeft = 0;
	window.setTimeout("noti_mover()", 30);
}

velocidad = 2;
noticias_estilo = "font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:12px; color:#444444";
enpausa = false;

contenido = document.getElementById("noticias").innerHTML;
noti_start();
