jQuery(function(){
	jQuery(".maMenu").buildMenu({
        menuWidth: 150,
		menuTop: -5,
        openOnRight: false,
        menuSelector: ".menuContainer",
        hasImages: false,
        fadeInTime: 0,
        fadeOutTime: 200,
        adjustLeft: 2,
        minZindex: "auto",
        adjustTop: 10,
        opacity: 1,
        shadow: true,
        openOnClick: false,
        closeOnMouseOut: true,
        closeAfter: 700
      });
});

//this function gets the id of the element that fires up the context menu
function testForContextMenu(el){
  if (!el) el= jQuery.mbMenu.lastContextMenuEl;
  alert("the ID of the element is:   "+jQuery(el).attr("id"));
}


