scrollVar=0;
  stopScrol=false;
  var movedownvar=''
  var maxAltezzaTesto=0;
   var maxAltezzaDiv=0;
  test='';
/*  alert(scroll_text.offsetHeight)*/

  function move_up() {
 
  
  
 	
	if(scrollVar<(maxAltezzaTesto-maxAltezzaDiv)){
		stopScrol=false;
   		scrollVar+=1;
   		test=document.getElementById('scroll_clipper').scrollTop = scrollVar;
		
 	 	if(!stopScrol)
  			{movedownvar=setTimeout("move_up()",30)
			}
		}else{stop_scrol();}
  }
  
  
   function move_down() {

  if(scrollVar>0) 
	  {
	  scrollVar-=1;
	  stopScrol=false;
	  document.getElementById('scroll_clipper').scrollTop = scrollVar;
	  }
  if(!stopScrol){movedownvar=setTimeout("move_down()",30)}
  }
function stop_scrol()
{
clearTimeout(movedownvar)
stopScrol=true;
}
function start_scroll()
{
scrollVar=0;
document.getElementById('scroll_clipper').scrollTop = scrollVar;
maxAltezzaTesto=document.getElementById('testoCentrale').offsetHeight;
maxAltezzaDiv=document.getElementById('scroll_clipper').offsetHeight;

}

