var scrolloffset = dojo.html.getScroll().offset; 
var scrolloffset = dojo.html.getScroll().offset; 
	this.onClick = function(/*Event*/e){		if (!this.currentMenu){ return; }		var scrolloffset = dojo.html.getScroll().offset;		// starting from the base menu, perform a hit test		// and exit when one succeeds		var m = this.currentMenu;		while (m){			if(dojo.html.overElement(m.domNode, e) || dojo.html.isDescendantOf(e.target, m.domNode)){				return;			}			m = m.currentSubpopup;		}		// Also, if user clicked the button that opened this menu, then		// that button will send the menu a close() command, so this code		// shouldn't try to close the menu.  Closing twice messes up animation.		if (this.currentButton && dojo.html.overElement(this.currentButton, e)){			return;		}		// the click didn't fall within the open menu tree		// so close it		this.currentMenu.closeAll(true);	};
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js