lSubMenuCommand = new DelSubMenuCommand( SubMenu );
		setCommand( button1, refreshMenuBarCommand );
		setCommand( button2, addSubMenuCommand );
		setCommand( button3, delSubMenuCommand );
	</script>


	<script type="text/javascript">
		var bindClick = function( button, func ){
			button.onclick = func;
		};
		var MenuBar = {
			refresh: function(){
				console.log( '刷新菜单界面' );
			}
		};
		var SubMenu = {
			add: function(){
				console.log( '增加子菜单' );
			},
			del: 