  /**
   * SCROLLER
   * modified base lib 
   * depends on prototype >= 1.5.0
   * @author  Markus Huber <maexchensbox.1@aon.at>
   * @since   27.01.2008
   * @version 0.6.0
   *
   *
   */
  var ContentRight = {
    x : 0,
    y : 0,
    getCoords : function()
    {
      if(ContentRight.x == 0 && ContentRight.y == 0) {
        coords = $('fContentRight').cumulativeOffset();
        ContentRight.x = coords[0];
        ContentRight.y = coords[1];
        $('scrollContent').style.left = ContentRight.x + 'px';
  	$('scrollContent').style.top = ContentRight.y + 'px';
  	$('scrollContentHelper').style.left = '0px';
  	$('scrollContent').style.visibility = 'visible';
  	//alert($('scrollContentHelper').style.left);
      }
    }
  }
   
  /**
   * function scroll
   *
   *
   *
   */
  var scroll = function (container, containerhelp, direction, speed) 
  {
    var layertop     = parseInt($(containerhelp).getStyle('top'));
    var scrollheight = ($(container).offsetHeight - $(containerhelp).offsetHeight);

    if(direction == "down" && layertop - 10 > scrollheight) {
      $(containerhelp).style.top = (layertop - speed) + "px";
    } else if(direction == "up" && layertop < -10 ) {
      $(containerhelp).style.top = (layertop + speed) + "px";
    }

    timer = setTimeout("scroll('" + container + "', '" + containerhelp + "', '" + direction + "', " + speed + ")", 10);
  }

 /**
  * function stopScroller
  */
  function scrollStop() {
    clearTimeout(timer);
  } 
