rem: var posx = buttonleft 
add: var posx = buttonleft; 
context: function ShowMenu(id) {	if(active != 0) {		if (id == active) {			HideMenu(active)    	}		else {			HideMenu(active)			ShowMenu(id)		}	}	else {		var elementbutton = FetchElement("menu_"+id)		var buttonleft = GetLeft(elementbutton)		var buttontop = GetTop(elementbutton)		var buttonwidth = elementbutton.offsetWidth		var buttonheight = elementbutton.offsetHeight		var elementmenu = FetchElement("popup_"+id)		var menuwidth = elementmenu.offsetWidth		if((buttonleft+menuwidth) >= document.body.clientWidth) {			var posx = buttonleft + buttonwidth - menuwidth		}		else {			var posx = buttonleft		}		var posy = buttontop + buttonheight			elementmenu.style.zIndex = 1		elementmenu.style.left = posx+'px'		elementmenu.style.top = posy+'px'		elementmenu.style.visibility = 'visible'		active = id		MenuEvent(active)	}}
meta: 9569	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9569/ad2d4c49d576e33eb5f75e6d027ba1fe85a04c59/menu.js/clean/viscacha/templates/menu.js