	var htmlstr = "",
	flag=true,
	imgflag=true, 
	mouse=1, 
	speed=1, 
	wait=5000, 
	temp=0, 
	height=16, 
	amount=16;
	var ctnt=new Array(), ctnt_i=new Array(), startPanel=0, n_panel=0, i=0, j=0, count=1, k=-1;

	function startText() {
		if (ctnt.length == 1) {
			insertText(0);
		} else if (ctnt.length > 1) {
			for (i=0; i<ctnt.length; i++) insertText(i);
			window.setTimeout("scroll()",wait);
		}
	}

	function scroll() {
		if (mouse && flag) {
			for (i=0;i<ctnt.length;i++) {
				if (temp == 0 && imgflag) {
					for (j=0;j<ctnt_i.length;j++) {
						tmp = document.getElementById('img_area'+j).style;
						if (count % ctnt_i.length == j) {
							tmp.display = '';
						} else {
							tmp.display = 'none';
						}
					}
					imgflag=false;
					count++;
				}
				temp++;
				tmp = document.getElementById('scroll_area'+i).style;
				tmp.top = parseInt(tmp.top)-speed;
				if (parseInt(tmp.top) <= height*(-1)) {
					tmp.top = height*(ctnt.length-1);
				}
				if (temp>(amount-1)*ctnt.length) {
					flag=false;
					temp=0;
					window.setTimeout("flag=true;temp=0;imgflag=true;",wait);
				}
			}
		}
		window.setTimeout("scroll()",1);
	}
	function insertText(i) {
		htmlstr='<div style="left:0px; width:750px; height=16 text-align:left; position:absolute; top:'+(height*i+1)+'px" id="scroll_area'+i+'">\n';
		htmlstr+=ctnt[i]+'\n'+'</div>\n';
		document.write(htmlstr);
	}
