
function scrollObj(id, x, y, t)
{
  // id >> Id of the Object
  // x   >> Amount of px to roll in horizontal
  // y   >> Amount of px to roll in vertical
  // t   >> Interval of time between each increment
  obj = document.getElementById(id)
  if (obj.style)
  { bgPos = obj.style.backgroundPosition.split(' ');
    X     = parseInt(bgPos[0]);
    Y     = parseInt(bgPos[1]);
    obj.style.backgroundPosition = (X+x)+"px "+(Y+y)+"px";
  }

  setTimeout("scrollObj('"+id+"', "+x+", "+y+", "+t+")", t);

}

