HideMenu(active); 
Hide(active); 
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 = 10;		elementmenu.style.left = posx+'px';		elementmenu.style.top = posy+'px';		elementmenu.style.visibility = 'visible';		if (!document.all || window.opera) {			elementmenu.style.overflow = 'auto';		}		active = id;		MenuEvent(active);	}}
9569	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9569/feb79a266837befd93952d51210dec25e498c0d6/menu.js/buggy/viscacha08/templates/menu.js