var states = ['mout', 'mover', 'mdown'],
MENU_ITEMS0 = [
	[wrap_root('Menu Compatibility'), null, null, 
		[wrap_child('Supported Browsers'), null, null,
			[wrap_child('Win32 platform'), null, null, 
				[wrap_child('Internet Explorer 4.0+')],
				[wrap_child('Netscape 4.02+')],
				[wrap_child('Mozilla 0.9.7')],
				[wrap_child('Opera 5.02+')]
			],
			[wrap_child('Macintosh platform'), null, null,
				[wrap_child('Internet Explorer 5.0+')],
				[wrap_child('Netscape 4.7+')]
			]
		],
		[wrap_child('Unsupported Browsers'), null, null,
			[wrap_child('Lynx')],
			[wrap_child('Hot Java')]
		],
		[wrap_child('Report test results'), 'mailto:feedback@softcomplex.com?subject=test%20results%20for%20Tigra Menu%20Gold']
	],
	[wrap_root('Docs & Info', 1), null, {'sw':106, 'bw':120},
		[wrap_child('Documentation'), null, {'bw':160},
			[wrap_child('Description'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#description'],
			[wrap_child('Features'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#features'],
			[wrap_child('Files'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#files'],
			[wrap_child('Building menu hierarchy'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#items', null,
				[wrap_child('Item caption'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#items_caption'],
				[wrap_child('Item link'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#items_link'],
				[wrap_child('Submenu block items'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#items_subitems']
			],
			[wrap_child('Menu level scope settings'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#level_scope', {'bw':143},
				[wrap_child('Sizes and offsets'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#sizes'],
				[wrap_child('Block orientation'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#orient'],
				[wrap_child('Outer table'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#table'],
				[wrap_child('Wise block positioning'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#wise'],
				[wrap_child('Transition effects'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#trans'],
				[wrap_child('Setting styles'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#styles']
			],
			[wrap_child('Item scope settings'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#item_scope'],
			[wrap_child('Using inner html'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#innerhtml', null,
				[wrap_child('Writing wrappers'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#innerhtml_wrappers']
			],
			[wrap_child('Styles vs. inner html'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#stvsih'],
			[wrap_child('Initialization'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#construct', null,
				[wrap_child('Hiding forms'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#construct_forms'],
				[wrap_child('Symbolic name'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#construct_name'],
				[wrap_child('Page without frames'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#construct_sframe'],
				[wrap_child('Page with frames'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#construct_mframe']
			],
			[wrap_child('Terms and Conditions'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#violations', {'bw':220},
				[wrap_child('Regular License'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#regular_license'],
				[wrap_child('Developer License'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#developer_license'],
				[wrap_child('Discounts'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#discounts'],
				[wrap_child('Usage'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#usage'],
				[wrap_child('Technical Support'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#support'],
				[wrap_child('Violations of Terms and Conditions'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#violations']
			],
			[wrap_child('Links and References'), 'http://www.softcomplex.com/products/tigra_menu_gold/docs/#links_and_references']
		],
		[wrap_child('Forums'), 'http://www.softcomplex.com/forum/forumdisplay.php?fid=51', null],
		[wrap_child('Product page'), 'http://www.softcomplex.com/products/tigra_menu_gold/', null],
		[wrap_child('Welcome page'), '../']
	],
	[wrap_root('Contact', 1), null, {'sw':64, 'bl': -70, 'bw':'134'},
		[wrap_child('E-mail'), 'mailto: support@softcomplex.com?subject=Tigra Menu GOLD question'],
		[wrap_child('ICQ: 31599891')],
		[wrap_child('Y! ID: softcomplex')],
		[wrap_child('AIM ID: softcomplex')]
	]
]

function wrap_child (text) {
	return '&nbsp;&nbsp;' + text + '&nbsp;&nbsp;';
}

function wrap_root (text, c) {
	var res = [];
	for (var i in states)
		res[i] = '<table cellpadding=0 cellspacing=0 border=0 width=100%><tr>' + (c ? '<td><font color=white>|</font></td>' : '') + '<td valign=middle align=center class=m0' + states[i] + 'i width=100% height=18>&nbsp;&nbsp;' + text + '&nbsp;&nbsp;</td></tr></table>'
	return res;
}