rem: if ((e.target.tagName == "IMG") || (linuxImage != null) || (currentImage != null)) 
add: if ((e.target.tagName.toLowerCase() == "img") || (linuxImage != null) || (currentImage != null)) 
context: function ScrollImage(e){	var imageToScroll;	// Scroll wheel invoked while right button down, zoom target image	if ((window._content.document.location == currentURL) && (nsIPrefBranchObj.getBoolPref("usescroll"))) {		switch (nsIPrefBranchObj.getIntPref("scrollZoomMode")) {				// Mixed Mode (default)		case 0:			if ((e.target.tagName == "IMG") || (linuxImage != null) || (currentImage != null))			{				if (linuxImage != null) {					currentImage = linuxImage;				} else if (e.target.tagName == "IMG") {					currentImage = e.target;				}			} 			else 			{				currentImage = null;			}			imageToScroll = currentImage;			break;				// Only Scroll when mouse over image mode		case 1:			if ((e.target.tagName == "IMG") || (linuxImage != null))			{				if (linuxImage != null) {					imageToScroll = linuxImage;				} else if (e.target.tagName == "IMG") {					imageToScroll = e.target;				}							}			else			{				imageToScroll = null;			}			break;					// Only Scroll the image that was right mouse clicked mode		case 2:			if (currentImage != null)			{				imageToScroll = currentImage;			}			else			{					imageToScroll = null;			}			break;		default:			imageToScroll = null;			break;		}					if (imageToScroll != null)		{			e.preventDefault();			e.stopPropagation();			haveZoomed = true;			var oizImage = new izImage(imageToScroll);			if (((e.detail < 0) && !nsIPrefBranchObj.getBoolPref("reversescrollzoom")) ||				((e.detail > 0) && nsIPrefBranchObj.getBoolPref("reversescrollzoom")))				var zoomFactor = 1/(1+(nsIPrefBranchObj.getIntPref("scrollvalue")/100));			else				var zoomFactor = 1+(nsIPrefBranchObj.getIntPref("scrollvalue")/100);			oizImage.zoom(zoomFactor);			reportStatus(oizImage);		}			} else {		cancelScrollZoom();	}}
meta: 4558	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4558/19910fb9609514aac4dbb1e795e4f5a3c662f6b6/overlay.js/clean/source/chrome/content/overlay.js