mensage=new Array();
mensage[0]="The best solutions in finance and management";
mensage[1]="The true challenge is create a great future for your organisation";
mensage[2]="For us each customer deserves the to be trusted and have the highest level of confidentiality";
mensage[3]="For us each customer is unique";
total=mensage.length;
x=Math.floor(Math.random() *(total));
var text=mensage[x];
//var text="content of text here";
var delay=50;
var currentChar=1;
var destination="[not defined]";

function type()
{
  if (document.getElementById)
  {
    var dest=document.getElementById(destination);
    if (dest)// && dest.innerHTML)
    {
      dest.innerHTML=text.substr(0, currentChar);
      //dest.innerHTML+=text[currentChar-1];
      currentChar++
      if (currentChar>text.length)
      {
        currentChar=1;
        setTimeout("type()", 5000);
      }
      else
      {
        setTimeout("type()", delay);
      }
    }
  }
}

function startTyping(textParam, delayParam, destinationParam)
{
  text=textParam;
  delay=delayParam;
  currentChar=1;
  destination=destinationParam;
  type();
}

