function(){
				console.log( '删除子菜单' );
			}
		};
		bindClick( button1, MenuBar.refresh );

		bindClick( button2, SubMenu.add );
		bindClick( button3, SubMenu.del );

		var setCommand = function( button, func ){
			button.onclick = function(){
				func();
			}
		};
		var MenuBar = {
			refresh: function(){
				console.log( '刷新菜单界面' );
			}
		};
		var RefreshMenuBarCommand = function( receiver ){
			return function(){
				receiver.refresh();
			}
		};
		var refre