<!--
/*
  Funciones para Scroll
  26/01/06
*/

function mostrar(){ 
  if (document.all){ 
    ieslider1.style.top=sheight 
    iemarquee(ieslider1) 
  } 
  else if (document.layers){ 
    document.ns4slider.document.capa1.top=sheight 
    document.ns4slider.document.capa1.visibility='show' 
    ns4marquee(document.ns4slider.document.capa1) 
  } 
  else if (document.getElementById&&!document.all){ 
    document.getElementById('ns6slider1').style.top=sheight 
    ns6marquee(document.getElementById('ns6slider1')) 
  } 
} 

function iemarquee(whichdiv){ 
  iediv=eval(whichdiv) 
  if (iediv.style.pixelTop>0&&iediv.style.pixelTop<=svelocidad){ 
    iediv.style.pixelTop=0
    setTimeout("iemarquee(iediv)",100)
  }
  if (iediv.style.pixelTop>=sheight*-1){
    iediv.style.pixelTop-=svelocidad
    setTimeout("iemarquee(iediv)",100)
  }
  else{
    iediv.style.pixelTop=sheight
    iediv.innerHTML=lineatexto[i]
  if (i==lineatexto.length-1)
    i=0
  else 
    i++ 
  }
 }

function ns6marquee(whichdiv){ 
  ns6div=eval(whichdiv) 
  if (parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=svelocidad){ 
  ns6div.style.top=0 
  setTimeout("ns6marquee(ns6div)",100) 
  }
  if (parseInt(ns6div.style.top)>=sheight*-1){ 
    ns6div.style.top=parseInt(ns6div.style.top)-svelocidad 
    setTimeout("ns6marquee(ns6div)",100) 
  }
  else{
    ns6div.style.top=sheight
    ns6div.innerHTML=lineatexto[i] 
  if (i==lineatexto.length-1) 
    i=0
  else
   i++
  }
}

var lineatexto=new Array(); 
//-->
  