(function($){  
 $.fn.menuclick = function() {  
  
	var menu_item=$(this);

	menu_item=$(this);
	//	currentMenus=$(".current_menu_item");
	// this needs to be updated to get sibling menus
	// get the parent
	// get children with CMI class
	var ul_list=menu_item.parent().parent().parent();
	var currentSiblingMenus=ul_list.find('.current_menu_item'); // olny to list . link . then image 
	currentSiblingMenus.removeClass('current_menu_item');
	currentSiblingMenus.menuout();
	menu_item.addClass('current_menu_item');
 };  
})(jQuery);  

