rem: if (e.originalTarget.tagName == "IMG") { 
add: if (targetName == "img") { 
context: function izOnMouseClick(e){	if (e.which == nsIPrefBranchObj.getIntPref("triggerbutton")){		if (haveZoomed){			e.preventDefault();			e.stopPropagation();		} else {            // contextmenu on mousedown     		if (contextDisabled) {				document.popupNode = e.originalTarget;				izContext.showPopup(izContext.ownerDocument.documentElement, e.clientX, e.clientY, "context", "bottomleft", "topleft");			}  		}		cancelScrollZoom();  				gPanelContainer().removeEventListener("click",izOnMouseClick,true);	}	if (mousedown){		// Invoke varios mouse function when mouse is over an image only		if (e.originalTarget.tagName == "IMG") {			switch(e.which){			// Middle mouse button pressed while right button down, reset image			case nsIPrefBranchObj.getIntPref("imageresetbutton"):				e.preventDefault();				e.stopPropagation();				haveZoomed = true;				var oizImage = new izImage(e.originalTarget);				oizImage.setZoom(100);				reportStatus(oizImage);				break;			// Left mouse button pressed while right button down, fit image to screen			case nsIPrefBranchObj.getIntPref("imagefitbutton"):				e.preventDefault();				e.stopPropagation();				haveZoomed = true;				var oizImage = new izImage(e.originalTarget);				oizImage.fit(nsIPrefBranchObj.getBoolPref("autocenter"));				reportStatus(oizImage);				break;			}		} else {			gPanelContainer().removeEventListener("click",izOnMouseClick,true);		}	}}
meta: 4558	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4558/19910fb9609514aac4dbb1e795e4f5a3c662f6b6/overlay.js/clean/source/chrome/content/overlay.js