
		$(function(){
			$(".horMenu").buildMenu(
			{
				template:"menuVoices.html",
				menuWidth:200,
				openOnRight:false,
				menuSelector: ".menuContainer",
        		containment:"wrapper",
				iconPath:"jquery/mbmenu/ico/",
				hasImages:false,
				fadeInTime:100,
				fadeOutTime:300,
				adjustLeft:2,
				minZindex:"auto",
				adjustTop:0,
				submenuLeft:-1,
        		opacity:1,
				openOnClick:false,
				shadow:false,
				closeOnMouseOut:true,
				closeAfter:1000
			});

		});


		//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"));
		}

