scrollAnimating = function(x,y){ var stepX = 10; var stepY = 10; var animFunc = function(x1,y1){ var newX = x1+stepX; var newY = y1+stepY; if(newX>x) newX = x; if(newY>y) newY = y; if(newX == x && newY == y) return false; window.scrollTo(newX,newY); window.setTimeout(function(){animFunc(newX,newY);},100); } animFunc(x,y); }

bild_01