scrollheight2 = 55 ;		//卷軸高
lineNum2 = 1; 
boardheight2=scrollheight2 * lineNum2;	//跑馬燈高
scrollTimeOut2 = 8;		//移動時間
scrollStopTime2 = 250	//停留時間 值愈小停留愈短

var doScroll2 = true			//是否要跑
scrollCountTime2 = 0;	//目前時間
offSet2 = scrollheight2;	//偏移量
startSetp2 = 0;

function ScrollBluezz2() {
	var thisSc2=document.getElementById('scArea2');
	thisSc2.scrollTop = 0
	setInterval("scrollUpBluezz2()",scrollTimeOut2)
}

function scrollUpBluezz2() {

	var thisSc2=document.getElementById('scArea2');
	if (doScroll2 == false) return	//不跑
	offSet2 ++ 

	if (offSet2 == scrollheight2 + 1) {
	  scrollCountTime2 ++ 
	  offSet2 -- 
	   if (scrollCountTime2 == scrollStopTime2) {
		 offSet2 = 0
		 scrollCountTime2 = 0
	   }
	 }else {
	  startSetp2 = thisSc2.scrollTop + (scrollheight2 * lineNum2);
	  thisSc2.scrollTop ++
	  if (startSetp2 == thisSc2.scrollTop + (scrollheight2 * lineNum2)) {
		thisSc2.scrollTop = scrollheight2 * (lineNum2-1)
		thisSc2.scrollTop ++ 
	  }
	 }
}

function stopScroll2() {
	doScroll2=false;
}

function startScroll2() {
	doScroll2=true;
}

