contextDisabled=true;     // Set this parameter to disable or enable right click, context menu at runtime.
contextObject="";          // This is the object the right click occured on, could be an image, link whatever was under the mouse at the point of right click.

function rclick(MenuName,obj)
{
	contextObject=event.srcElement;
	_gm=getMenuByName(MenuName);
	if(_gm!=null)
		popup(MenuName,1);
	return true;
}

