var texto, longitud, velocidad, sentido
var mov = false
var movID = null

function Detener() {
    clearTimeout(movID)
    mov = false
}

function IniciaTexto(formulario) {
    Detener()
    texto="Grans vinyes - Grans vins / Grandes Viņedos - Grandes Vinos / Great vineyards - Great wines"
    texto=texto+"                                                                                   "

    longitud = texto.length
    mov = true
    DesplazaTexto()
}

function DesplazaTexto() {
    window.status = texto
    texto = texto.substring(1, longitud) + texto.charAt(0)
    movID = setTimeout( "DesplazaTexto()", 100)
}

