/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Mr J | http://www.huntingground.net/ */

scrollStep=1

timerUp=""
timerDown=""

function scrollDivDown(id){
  clearTimeout(timerDown) 
  document.getElementById(id).scrollTop+=scrollStep
  timerDown=setTimeout("scrollDivDown('"+id+"')",10)
}

function scrollDivUp(id){
  clearTimeout(timerUp)
  document.getElementById(id).scrollTop-=scrollStep
  timerUp=setTimeout("scrollDivUp('"+id+"')",10)
}

function stopMe(){
  clearTimeout(timerDown) 
  clearTimeout(timerUp)
}
