<!--
tick = 80;			 // timer tick
scrollerWidth = "92"             // Width of entire scroller.
scrollerHeight = "220"           // Height of Scroller.

// Ensure the width of the scroller is divisible by 2. This allows smooth flowing of the scrolled content
function scroll() { 
  tableObj = document.getElementById("table"); 
  obj = document.getElementById("div1");   
  objHeight=getOffset(tableObj,"height");
  HalfHeight=Math.floor(objHeight/2);
  newHeight = (HalfHeight*2)+2;
  obj.style.width=newHeight
  moveLayer(obj, newHeight);
}

function moveLayer(obj, width) { 
  maxLeft = (0-(width/2)+2)/2
  if (obj.style.top=="") { obj.style.top=0; }
  if (parseInt(obj.style.top)<(0-(width/2)+6)){
      obj.style.top = 0
  } else {
      obj.style.top = parseInt(obj.style.top)-1
  }
  timer = setTimeout ("moveLayer(obj, "+width+");", tick); 
}

// Get width and height of layer
function getOffset(obj, dim) {
    oHeight = obj.offsetHeight
    return oHeight
}

function stopScroller() {
  clearTimeout(timer)  
}
-->
