noticias_cuantos=0;
noticias_texto= new Array;
noticias_fecha= new Array;
noticias_url= new Array;
noticias_subtitulo= new Array;
noticias_target= new Array;
noticias_ind=0;

function noticias_add(strFecha,strTexto, strUrl,strSubtitulo,strTarget)
{
  noticias_texto    [noticias_cuantos]=strTexto;
  noticias_url      [noticias_cuantos]=strUrl;
  noticias_subtitulo[noticias_cuantos]=strSubtitulo;
  noticias_target   [noticias_cuantos]=strTarget;
  noticias_fecha    [noticias_cuantos]=strFecha;
  noticias_cuantos++;
}


function noticias_mostrar()
{
  document.write("<table width=100% height=150px><tr><td valign=top align=left><div height=100 id='slide_noticias'></div></td></tr></table>");
  timerID  = setTimeout("noticias_change()", 0);
}

function noticias_change()
{
  pepo="<a href='"+noticias_url[noticias_ind]+"' "+noticias_target+"'><b>"+noticias_fecha[noticias_ind]+"</b>: "+noticias_texto[noticias_ind]+"</a><p class=cani>"+noticias_subtitulo[noticias_ind];
  if (document.all)
       /* Requiere que los IDs sean únicos en la página y que no coincidan con el atributo NAME de otros elementos. DOM de JScript, IE.*/
      document.all["slide_noticias"].innerHTML=pepo;
  else if (document.getElementById) 
       /* Para navegadores que soporten el DOM W3C. Firefox. */
       document.getElementById("slide_noticias").innerHTML=pepo;;

  noticias_ind++;
  if (noticias_ind==noticias_texto.length) noticias_ind=0;
  timerID  = setTimeout("noticias_change()", 5000);
  
  
  
}
