<!--
	marqueetable = document.getElementById("marquee");
	scrollheight = 20;    //滚动高度
	scrollline = 1;    //滚动内容的行数
	scrolltimeout = 12;    //滚动刷新的时间(毫秒)
	//    滚动停留时检测的次数,
	//    scrollstoptimes * scrolltimeout 为实际的停留时间
	scrollstoptimes = 200;
	/* 初始化滚动设置(无需修改) */
	marqueetable.scrollTop = 0;
	stopscroll1 = false;
	startmarqueetop = 0;
	offsettop = scrollheight;
	marqueestoptime = 0;
	marqueetable.innerHTML += marqueetable.innerHTML;
	
	with (marqueetable) {
		style.width = 250;
		style.height = scrollheight + "px";
		style.overflowX = "hidden";
		style.overflowY = "hidden";
		noWrap = true;
		onmouseover = new Function("stopscroll1 = true;");
		onmouseout = new Function("stopscroll1 = false");
	}
	function setmarqueetime() {
		marqueetable.scrollTop = 0;
		setInterval("marqueeup()", scrolltimeout);    //设置滚动的时间
	}
	function marqueeup() {
		if (stopscroll1 == true) return;
		offsettop += 1;
		if (offsettop == scrollheight + 1) {
			marqueestoptime += 1;
			offsettop -= 1;
			if (marqueestoptime == scrollstoptimes) {    //停留的时间
				offsettop = 0;
				marqueestoptime = 0;
			}
		}
		else {
			startmarqueetop = marqueetable.scrollTop;
			marqueetable.scrollTop += 1;// = marqueetable.scrollTop.toString.replace("px","") + 1;
			if (startmarqueetop == marqueetable.scrollTop) {
				marqueetable.scrollTop = scrollheight * (scrollline - 1);
				marqueetable.scrollTop += 1;
			}
		}
	}
	setmarqueetime();
//-->