// ancho
var marqueewidth="130px";
// alto
var marqueeheight="130px";
// velocidad
var speed=2;
// contenido del scroll
var marqueecontents=txtNoticias;

document.write('<marquee style="text-align: justify;" direction="up" scrollAmount='+speed+' width="'+marqueewidth+'" height="'+marqueeheight+'">'+marqueecontents+'</marquee>');

function regenerate(){
window.location.reload();
}
function noticias(){
if (document.layers){
setTimeout("window.onresize=regenerate",450);
intializemarquee();
}
}
function intializemarquee(){
document.cmarquee01.document.cmarquee02.document.write(marqueecontents);
document.cmarquee01.document.cmarquee02.document.close();
thelength=document.cmarquee01.document.cmarquee02.document.height;
scrollit();
}
function scrollit(){
if (document.cmarquee01.document.cmarquee02.top>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.top-=speed;
setTimeout("scrollit()",100);
}
else{
document.cmarquee01.document.cmarquee02.top=marqueeheight;
scrollit();
}
}
//window.onload=noticias


