rem: var topScroll = document.documentElement.scrollTop; var leftScroll = document.documentElement.scrollLeft; var innerHeight = document.documentElement.clientHeight; var innerWidth = document.documentElement.clientWidth; 
add: var topScroll = this.documentElement.scrollTop; var leftScroll = this.documentElement.scrollLeft; var innerHeight = this.documentElement.clientHeight; var innerWidth = this.documentElement.clientWidth; 
context: function Display_adjustScrollBars(e) {        var scrY=0;        var scrX=0;		var topScroll = document.documentElement.scrollTop;		var leftScroll = document.documentElement.scrollLeft;		var innerHeight = document.documentElement.clientHeight;		var innerWidth = document.documentElement.clientWidth;		        if (e.clientY > innerHeight-this.scrollJump) {            if (e.clientY + topScroll < this.pageHeight - (this.scrollJump + 40)) {                scrY=this.scrollJump;                window.scroll(leftScroll,topScroll + scrY);                this.y-=scrY;            }        }else if (e.clientY < this.scrollJump) {            if (topScroll < this.scrollJump) {                scrY = topScroll;            }else {                scrY=this.scrollJump;            }            window.scroll(leftScroll,topScroll - scrY);            this.y+=scrY;        }        if (e.clientX > innerWidth-this.scrollJump) {            if (e.clientX + leftScroll < this.pageWidth - (this.scrollJump + 40)) {                scrX=this.scrollJump;                window.scroll(leftScroll + scrX,topScroll);                this.x-=scrX;            }        }else if (e.clientX < this.scrollJump) {            if (leftScroll < this.scrollJump) {                scrX = leftScroll;            }else {                scrX=this.scrollJump;            }            window.scroll(leftScroll - scrX,topScroll);            this.x+=scrX;        }}
meta: 5314	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5314/4f8489300f50896d88c9f8c17e76ebdb30cd4d26/Display.js/buggy/www/extras/assetManager/Display.js