rem: { var existingY = window.scrollY ? window.scrollY : (document.body.scrollTop ? document.body.scrollTop : document.documentElement.scrollTop);  
add: { 
context: 	this.open = function(e)		{			var existingY = window.scrollY ? window.scrollY : (document.body.scrollTop ? document.body.scrollTop : document.documentElement.scrollTop);			var date = new Date();			date = date.getTime();			this.div.style.visibility = "hidden";			this.div.style.position = "absolute";						if (navigator.userAgent.indexOf("Safari")==-1) {				this.coordX = e.clientX;				this.coordY = e.clientY;			} else {				this.coordX = e.clientX - 305;// - (top.innerWidth - self.innerWidth);				this.coordY = top.innerHeight - e.clientY;			}			var existingY = window.scrollY ? window.scrollY : (document.body.scrollTop ? document.body.scrollTop : document.documentElement.scrollTop);			var targetY = existingY + this.coordY - 50;			this.panelX = this.coordX + this.browserWidth;			this.panelY = this.coordY + 25;			this.div.style.left = this.coordX + "px";			this.div.style.top  = this.coordY + "px";						Browser = this;			this.frame.src = this.framepath + "browser.html?time=" + date;			this.div.style.MozOpacity = this.fade/100;			this.div.style.opacity = this.fade/100;			this.div.style.filter = 'alpha(opacity=' + this.fade + ')';			this.div.style.display = "block";			this.div.style.visibility = "visible";			var x,y;			var test1 = document.body.scrollHeight;			var test2 = document.body.offsetHeight			if (test1 > test2)			{				x = document.body.scrollWidth;				y = document.body.scrollHeight;			}			else			{				x = document.body.offsetWidth;				y = document.body.offsetHeight;			}			document.getElementById(this.blanket).style.display		= "block";			document.getElementById(this.blanket).style.height		= y + 50 + "px";			document.getElementById(this.blanket).style.width		= x + 50 + "px";			document.getElementById(this.blanket).style.visibility	= "visible";			document.body.style.overflow = "hidden";			this.fade = 0;			this.fadein();			window.scrollTo(0, targetY);		}//end open()
meta: 5635	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5635/ab4cfdd15c5722cc972bb91f2de090d3d06db407/thesaurus_browser.js/buggy/packages/lexicon/metadata_fields/metadata_field_thesaurus/files/thesaurus_browser.js