[
	// text, tooltip, action
	{ id: "new", type: "buttonSelect", img: "new.gif", text: "New", title: "Tooltip here", action: "myFunction",
		// userdata for select item
		userdata: {
			my_data_name: "my_data_value",
			more_info: "new_value"
		},
		// listed options
		options: [
			{ type: "button", id: "new_text", text: "Text Document", img: "text_document.gif", action: "myFunction",
				// userdata for listed option
				userdata: {
					list_option_data: "list_option_value",
					option_info: "option_value"
				}
			},
			{ type: "button", id: "new_excel", text: "Stylesheet", img: "stylesheet.gif", action: "myFunction" },
			{ type: "button", id: "new_db", text: "Database", img: "database.gif", action: "myFunction", enabled: false },
			{ type: "button", id: "new_pp", text: "Presentation", img: "presentation.gif",  action: "myFunction", enabled: false },
			{ type: "separator" },
			{ type: "button", id: "new_other", text: "Other", img: "other.gif", action: "myFunction" }
		]
	},
	// icon only
	{ id: "save", type: "buttonSelect", img: "save.gif", openAll: true, renderSelect: false,
		options: [
			{ type: "button", id: "save_all", text: "Save all" },
			{ type: "button", id: "save_current", text: "Save current" }
		]
	},
	{ type: "separator" },
	// disabled
	{ id: "print", type: "buttonSelect", imgdis: "print_dis.gif", title: "Tooltip here", enabled: false },
	{ id: "copy", type: "buttonSelect", imgdis: "copy_dis.gif", enabled: false },
	// hidden
	{ id: "paste", type: "buttonSelect", img: "paste.gif", hidden: true },
	{ type: "separator" },
	// select mode
	{ id: "edit", type: "buttonSelect", img: "new.gif", text: "Select", mode: "select", selected: "edit_paste", width: 80,
		options: [
			{ type: "button", id: "edit_cut", text: "Cut", img: "cut.gif" },
			{ type: "button", id: "edit_copy", text: "Copy", img: "copy.gif" },
			{ type: "button", id: "edit_paste", text: "Paste", img: "paste.gif" }
		]
	}
]
