scrollheight = 20 ;		//b
lineNum = 1; 
boardheight=scrollheight * lineNum;	//]O
scrollwidth=500;		//]Oe
scrollTimeOut = 10;		//ʮɶ
scrollStopTime = 300	//dɶ ȷUpdUu

doScroll = true			//O_n]
scrollCountTime = 0;	//ثeɶ
offSet = scrollheight;	//q
startSetp = 0;

function ScrollBluezz() {
	var thisSc=document.getElementById('scArea');
	thisSc.style.width = scrollwidth+"px";
	thisSc.style.height = boardheight+"px";
	thisSc.style.overflowX = "hidden";
	thisSc.style.overflowY = "hidden";
	thisSc.scrollTop = 0
	setInterval("scrollUpBluezz()",scrollTimeOut)
}

function scrollUpBluezz() {
	var thisSc=document.getElementById('scArea');
	if (doScroll == false) return	//]
	offSet ++ 
	if (offSet == scrollheight + 1) {
	  scrollCountTime ++ 
	  offSet -- 
	   if (scrollCountTime == scrollStopTime) {
		 offSet = 0
		 scrollCountTime = 0
	   }
	 }else {
	  startSetp = thisSc.scrollTop + (scrollheight * lineNum);
	  thisSc.scrollTop ++
	  if (startSetp == thisSc.scrollTop + (scrollheight * lineNum)) {
		thisSc.scrollTop = scrollheight * (lineNum-1)
		thisSc.scrollTop ++ 
	  }
	 }
}
