// items structure
// each item is the array of one or more properties:
// [text, link, settings, subitems ...]
// this sample structure demonstrates the use of HTML inside the menu items as well as wrapper functions
var MENU_ITEMS = [
['
', null, null,
[pupup('
| ' + text + ' |