var default1 = " GMI ";
var texto = "           ASESORIA INTEGRAL EN SISTEMAS DE COMPUTO      ";
var changeRate = 3000;
// 1000 = 1 segundo 
var messageNumber = 0;
var posicion = 0;
function changeStatus() 
{
   if (messageNumber == 0)
     {         
        window.status=default1;
        document.title=default1;
     }
   else if (messageNumber == 1)     
          {
             window.status=texto;
             document.title=texto;
             messageNumber = 0;
          }     
    messageNumber++;
    setTimeout("changeStatus();",changeRate); 
}

function mueve_texto()
{
      if (posicion < texto.length) 
         posicion ++;
      else
         posicion = 1;
      string_actual = texto.substring(posicion) + texto.substring(0,posicion)
      window.status = string_actual
      setTimeout("mueve_texto()",150)
}


//changeStatus(); 
mueve_texto();
