var MENU_ITEMS0 = [
	[wrap_root('Menu Compatibility'), null, null,
		[wrap_child('Supported Browsers'), null, null,
			[wrap_child('Win32 platform'), null, {'bl':140},
				[wrap_child('Internet Explorer 4.0+')],
				[wrap_child('Netscape 4.02+')],
				[wrap_child('Mozilla 0.9.5+')],
				[wrap_child('Opera 5.02+')]
			],
			[wrap_child('Macintosh platform'), null, {'bl':140},
				[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'), 'http://www.softcomplex.com/support.html']
	],
	[wrap_root('Docs & Info'), null, {'sw':125},
		[wrap_child('Documentation'), null, null],
		[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_root('Contact'), null, {'sw':100},
		[wrap_child('E-mail'), 'http://www.softcomplex.com/support.html'],
		[wrap_child('ICQ: 817108')],
		[wrap_child('Y! ID: softcomplex')],
		[wrap_child('AIM ID: softcomplex')]
	]
]

l0 = new Image(); l0.src = "img/m_lamp_0.gif";
l1 = new Image(); l1.src = "img/m_lamp_1.gif";
l2 = new Image(); l2.src = "img/m_lamp_2.gif";
l3 = new Image(); l3.src = "img/m_lamp2_0.gif";
l4 = new Image(); l4.src = "img/m_lamp2_1.gif";
l5 = new Image(); l5.src = "img/m_lamp2_2.gif";

function wrap_child (text) {
	var res=[];for (var i=0; i<3; i++)
		res[i]='<table border=0 cellspacing=0 cellpadding=0 width=100% height=36 style="filter:alpha(opacity:80);-moz-opacity:80%"><tr><td rowspan=2 valign=bottom align=right width=1><img src=img/m_lamp2_' + i + '.gif width=41 height=36></td><td height=35 width=100% bgcolor=#ffffff class=a' + i + '>' + text + '</td><td rowspan=2 valign=bottom width=1><img src=img/m_right.gif width=18 height=38></td></tr><tr><td background=img/m_bott.gif height=3><img src=/img/pixel.gif width=1 height=1></td></tr></table>'
	return res;
}

function wrap_root (text) {
	var res=[];for (var i=0; i<3; i++)
		res[i]='<table border=0 cellspacing=0 cellpadding=0 width=100% height=38><tr><td rowspan=2 valign=bottom align=right width=1><img src=img/m_lamp_' + i + '.gif width=41 height=36></td><td height=35 width=100% bgcolor=#ffffff class=a' + i + '>' + text + '</td><td rowspan=2 valign=bottom width=1><img src=img/m_right.gif width=18 height=38></td></tr><tr><td background=img/m_bott.gif height=3><img src=/img/pixel.gif width=1 height=1></td></tr></table>'
	return res;
}
