// JavaScript Document
//Begin dateline message
var c
//var speed = 700
function adv(txt)
	{
	rs = (255 * Math.random());	gs = (255 * Math.random());	bs = (255 * Math.random())
	rf = (255 * Math.random());	gf = (255 * Math.random());	bf = (255 * Math.random())
	hc = new Array ("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F")
	tl = txt.length
	ta = new Array (tl)
	c = 0
	rr = rf - rs; ri = rr / tl; rc = rs
	gr = gf - gs; gi = gr / tl; gc = gs
	br = bf - bs; bi = br / tl; bc = bs
	while( c < tl ) {
		ta[c] = txt.charAt(c)
		
		gh = hc[Math.floor(gc/10)] + hc[(gc%10)]
rh = hc[Math.floor(rc/10)] + hc[(rc%10)]
		bh = hc[Math.floor(bc/10)] + hc[(bc%10)]


			document.write("<font color='#" + rh + gh + bh + "'>" + ta[c])
		rc = Math.round(rc + ri)
		gc = Math.round(gc + gi)
		bc = Math.round(bc + bi)
		c = c +1
		}
	}
