function nichtsTun () {
  ; // nichts tun
}

function scrollMe (obj) {
  if (obj.scrollWidth > obj.offsetWidth) {
    var offset = 20;
  	var x = aktX - getObjToPageOffset(obj);
  	var width = obj.offsetWidth - offset;
  	var scrollMax = obj.scrollWidth - width;
  	var scrollNum = Math.round(((scrollMax / width) * x)) - offset;
  	if (scrollNum > scrollMax)
  	  scrollNum = scrollMax;
  	else if (scrollNum < 0)
  	  scrollNum = 0;
  	obj.scrollLeft = scrollNum;
  }
}

function getObjToPageOffset (obj, calls) {
  if (calls == undefined)
    calls = 0;
  if (calls <= 100 && obj.offsetLeft != undefined && obj.parentNode != undefined)
    if (!obj.attributes.noOffsetCalc)
      return obj.offsetLeft + getObjToPageOffset(obj.parentNode, calls+1);
    else
      return getObjToPageOffset(obj.parentNode, calls+1);
  else
    return 0;
}

