speed=100
len=150
space="                                                                                                                                                                               "
tid = 0;
message="TickerTape in JavaScript .. by Cameron Gregory .. visit my home page at http://www.bloke.com/ .."
c= -len;

function move() {
  cend=Math.min(c+len,message.length)
  if (c <0)
    cstart=0
  else
    cstart=c
  if (c < 0)
    window.status = space.substring(0,-c) + message.substring(cstart,cend)
  else
    window.status = message.substring(cstart,cend)
  c = c +1;
  if (c == message.length ) c = -len;
  tid=window.setTimeout("move()",speed);
}

function start() {
  tid=window.setTimeout("move()",speed);
}

// for some reason on some pages this crashes netscape
function statusticker(m,s)
{
message=m
speed=s
start();
}

// for some reason on some pages this crashes netscape
function statusticker(m)
{
message=m
speed=100
start();
}
