var tickertapeform
tt_speed=100
tt_len=100
tt_space="                                                                                                        "
tt_tid=0;
tt_message=".";
tt_c= -tt_len;

function move() {
	cend=Math.min(tt_c+tt_len,tt_message.length)
	if (tt_c <0)
		cstart=0;
	else
		cstart=tt_c;
	if (tt_c < 0)
		tt_f.scroll.value=tt_space.substring(0,-tt_c) + tt_message.substring(cstart,cend)
	else
		tt_f.scroll.value=tt_message.substring(cstart,cend)
		tt_c = tt_c +1;
	if (tt_c == tt_message.length ) tt_c = -tt_len;
		tt_tid=window.setTimeout("move()",tt_speed);
}

function tt_start(x) {
	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) {
	tt_message=m
	document.write('<FORM name=tickertapeform><input name=scroll style="width:740px" value=""></FORM>')
	tt_start(document.tickertapeform);
}