<!-- Ticker Tape
//-- derived from script by Cameron Gregory & Bill Welliver
//-- change by maos - changed to a continous text printout / text separated by a white-space area of size tt_len * " " ( about tt_len/2 M )

var tickertapeform
tt_speed=350
tt_len=90
tt_space="                                                                                                                                                                             "
tt_tid = 0;
tt_message="."
tt_c= 0;

function move() {

  cend=Math.min(tt_c+tt_len*2,tt_message.length)

  cstart=tt_c;

  text = tt_message.substring(cstart,cend);
  tt_f.scroll.value=text + tt_message.substring(0,tt_message.length - text.length) 

  tt_c = tt_c +1;

  if (tt_c == tt_message.length ) tt_c = 0;
  tt_tid=window.setTimeout("move()",tt_speed);
}

function tt_start(x,speed) {
  tt_f=x
  tt_tid=window.setTimeout("move()",tt_speed);
}


function tt_cleartid() {
  window.clearTimeout(tt_tid);
}

// for some reason on some pages this crashes netscape
function ticker(m,l,s) {
  tt_message=m
  tt_len=l
  tt_speed=s
  
  space = " "
  for(i=l;i>0;i--){
     space = space + " "
  }
  
  tt_message = space + tt_message
  
  document.write('<FORM name=tickertapeform><input name=scroll size=')
  document.write(l)
  document.write(' value=""></FORM>')
  tt_start(document.tickertapeform,tt_speed);
}

// end-->


