var newslist=new Array();
var cnt=0;          // current news item
var curr = "";
var i=-1;           // current letter being typed

newslist[0]=new Array("","#")
newslist[1]=new Array("The temps that Carlton have provided us with are outstanding and the service is second to none!","#")
newslist[2]=new Array("The staff are committed to providing the best candidates for the position","#")
newslist[3]=new Array("The consultants are always willing to go the extra mile to accommodate the clients requirements","#")
function newsticker()
{
  // next character of current item
  if (i < newslist[cnt][0].length - 1)
  {
    i++;
    temp1 = newslist[cnt][0];
    temp1 = temp1.split('');
    curr = curr+temp1[i];
    temp2 = newslist[cnt][1];
    mtxt.innerHTML = "<a href='#' style='text-decoration:none; color: #00694B; font-family: Bradley Hand ITC; font-size: 14pt; line-height: 12pt;'><b>"+curr+"_</b></a>";
    setTimeout('newsticker()',100)
    return;
  }
  // new item
  i = -1; curr = "";
  if (cnt<newslist.length-1)
    cnt++;
  else
    cnt=0;
  setTimeout('newsticker()',3000)
}
