			var posY = 0;
			var tarY = 0;
			var handlePosY = 0;
			var step = 50;
			var pressInterval = 100;
			var moveInterval = 50;
			var decrease = 0.2;
			var isUpBtnPress = false;
			var isDownBtnPress = false;
			var timerScrollUp = null;
			var timerScrollDown = null;
			var timerScrollMove = null;
			var container ="contentContainor";
			var wrapper ="contentBody";
			var isHandleDragging = false;
			var scrollBar = "scrollBar";
			var scrollUpbtn = "scUp";
			var scrollUpbtnHeight = 15;
			var scrollDownbtn = "scDown";
			var scrollDownbtnHeight = 15;
			var scrollBarTop = 198;
			var scrollBarLeft = 755;
			var scrollHandleHeight = 12;
			var scrollBarHeight = 558;
			var scrollBarBackHeight = scrollBarHeight-scrollUpbtnHeight-scrollDownbtnHeight;

			function scrollUp(){
				if(isUpBtnPress){
					tarY+=step;
					if(tarY>0) tarY = 0;
					timerScrollUp = window.setTimeout(scrollUp,pressInterval);
					if(timerScrollMove ==null){
						scrollMove();
					}
				}
			}

			function scrollDown(){
				if(isDownBtnPress){
					tarY-=step;
					if(tarY<Element.getHeight(wrapper)-Element.getHeight(container)) tarY =Element.getHeight(wrapper)-Element.getHeight(container);
					timerScrollDown = window.setTimeout(scrollDown,pressInterval);
					if(timerScrollMove ==null){
						scrollMove();
					}
				}
			}

			function pressBtn(n){ //n=0:up n=1:down
				if(n==0){
					isUpBtnPress = true;
					scrollUp();
				}
				if(n==1){
					isDownBtnPress = true;
					scrollDown();
				}
			}

			function releaseBtn(){
				isUpBtnPress = false;
				isDownBtnPress = false;
				clearTimeout(timerScrollUp);
				clearTimeout(timerScrollDown);
			}


			function scrollMove(){
				if(Element.getHeight(wrapper)<Element.getHeight(container)){
					posY += (tarY-posY)*decrease;
					document.getElementById(container).style.marginTop = posY+'px';
					if(Math.abs(tarY-posY)>0.5){
						timerScrollMove = window.setTimeout(scrollMove,moveInterval);
						if(!isHandleDragging){
							handlePosY = (-1*posY/(Element.getHeight(container)-Element.getHeight(wrapper)))*(scrollBarBackHeight-scrollHandleHeight);
							//$("result").innerHTML =handlePosY;
							$("scHandle").style.top = handlePosY+'px'
						}
					}else{
						posY = tarY;
						document.getElementById(container).style.marginTop = posY+'px';
						timerScrollMove = null;
					}
				}
			}


			function initSc(){
				if(Element.getHeight(container)<=Element.getHeight(wrapper)){
					$(scrollBar).style.display = 'none';
				}
				else{
			
					Event.observe($("scHandle"),"mousedown",scDragStart,false);
					Event.observe($("scHandle"),"mouseup",scDragEnd,false);
					Event.observe(window.document,"mouseup",scDragEnd,false);
					Event.observe(window.document,"mousemove",dispValue,false);
					$("scBack").style.height = scrollBarBackHeight+'px';
				}
			}
			
			function scDragStart(){
				isHandleDragging = true;
			}
			function scDragEnd(){
				isHandleDragging = false;
			}

			function dispValue(event){
				if(isHandleDragging){
						handlePosY = Event.pointerY(event)-scrollBarTop-Element.getHeight(scrollUpbtn)-scrollHandleHeight/2;
						if(handlePosY<0)handlePosY=0;
						if(handlePosY>scrollBarBackHeight-scrollHandleHeight)handlePosY=scrollBarBackHeight-scrollHandleHeight;
						tarY = -1*(Element.getHeight(container) - Element.getHeight(wrapper))* handlePosY/(scrollBarBackHeight-scrollHandleHeight);
						if(timerScrollMove ==null){
							scrollMove();
						}
						$("result").innerHTML = handlePosY/(scrollBarBackHeight-scrollHandleHeight);
						$("scHandle").style.top = handlePosY+'px';
				}
			}

