
    $(function(){

      $(".vertMenu").buildMenu(
      {
        template:"menuVoices.html",
        menuWidth:200,
        openOnRight:true,
        menuSelector: ".menuContainer",
        iconPath:"jquery/mbmenu/ico/",
        hasImages:true,
        fadeInTime:0,
        fadeOutTime:0,
        adjustLeft:0,
        adjustTop:0,
		submenuLeft:-1,
        opacity:1,
        openOnClick:false,
        minZindex:200,
        shadow:false,
        hoverIntent:0,
        submenuHoverIntent:0,
        closeOnMouseOut:true
      });



    }
            );

    //this function get the id of the element that fires the context menu.
    function testForContextMenu(el){
      if (!el) el= $.mbMenu.lastContextMenuEl;
      alert("the ID of the element is:   "+$(el).attr("id"));
    }


