/* Please do not delete these credit lines, but all the others you can change. This is a small script which does open a box with a message in it. Easily put in this script in your <body> section.That's all what you have to do. Now every visitor who visits your page sees that box.  If you have some questions contact me at mayestro@2xs.de */
// 1999 by Christian Maier 1999   http://www.beste-links.de.cx

var max=0;
function textlist()
{
max=textlist.arguments.length; for (i=0; i<max; i++) this[i]=textlist.arguments[i];
}
tl=new textlist
(
	"query logs",
	"query log files",
	"search log files",
	"log file analysis",
	"log analysis",
	"log queries",
	"natural log",
	"natural logging",
	"natural log cabin",
	"log cabin",
	"cedar log cabin",
	"cedar log",
	"sycamore log",
	"search log",
	"sendmail log",
	"mail log analysis",
	"logfile",
	"log fire",
	"yule log",
	"your log",
	"your log file",
	"your query log",
	"your query",
	"query log"
);

//var x=0; pos=0; y=-1; z=0;
var x=Math.floor(Math.random()*max);
var pos=0; y=-1; z=0;
var l=tl[0].length;
var ql=document.getElementById('qlog');
function textticker()
{
	document.tickform.tickfield.value=tl[x].substring(0,pos)+"_";
	if(pos++==l)
	{
		pos=0;
		setTimeout("textticker()",1000);
		y=x++;
		z++;
		if(x==max)
		{
			x=0;
		};
		l=tl[x].length;
	} else
	{
		if(pos==1)
		{
			if(y!=-1)
				//qlog.innerHTML=tl[y]+"<br>"+qlog.innerHTML;
				ql.innerHTML=timeStamp()+"   "+tl[y]+"<br>"+ql.innerHTML.substring(0,2000);
		};
		setTimeout("textticker()",100);
	}

}

function timeStamp()
{
	var dt = new Date();
	var s = dt.getSeconds();
	var m = dt.getMinutes();
	var h = dt.getHours();
	if (s<10)
		s = "0"+s;
	if (m<10)
		m = "0"+m;
	if (h<10)
		h = "0"+h;
	return h+":"+m+":"+s;
}

//textticker();
