var MENU_ITEMS_XP = [
	[wrap_root('Menu AntiqIllum'), null, {'sw' : 110}, 
		[wrap_parent('Main'), null, null, 
			[wrap_child('Home'), 'http://www.antiqillum.com/'],
			[wrap_child('Welcome'), 'http://www.antiqillum.com/main/welcome/default.htm'],
			[wrap_child('Site Map'), 'http://www.antiqillum.com/main/sitemap.htm'],
			[wrap_child('General Editorial'), 'http://www.antiqillum.com/texts/generaled/generaled.htm'],
			[wrap_child('2nd Hand Book Stall'), 'http://www.antiqillum.com/texts/2_BS/new/index.htm'],
			[wrap_child('Ad Art'), 'http://www.antiqillum.com/main/art_index.htm'],
			[wrap_child('Links'), 'http://links.antiqillum.com/index.htm'],
			[wrap_child('Search'), 'http://www.antiqillum.com/glor/idxs/search.html'],
			[wrap_child('Contribute'), 'http://www.antiqillum.com/main/contribute.htm']
		],
		[wrap_parent('Texts'), null, null, 
			[wrap_child('New'), 'http://www.antiqillum.com/main/new.htm'],
			[wrap_child('Brethren of the Gift'), 'http://www.antiqillum.com/texts/bg/BGTitles.htm'],
			[wrap_child('Timeline'), 'http://www.antiqillum.com/texts/tl/timelinemainindex.htm'],
			[wrap_child('Crowleys Egg?'), 'http://www.antiqillum.com/texts/articles/Crowegg/crowegg001.htm'],
			[wrap_child('Readings'), 'http://www.antiqillum.com/texts/tl/RITAT01cont.htm'],
			[wrap_child('Archives'), 'http://www.antiqillum.com/main/archives.htm'],
			[wrap_child('Buy'), 'http://www.antiqillum.com/main/contribute.htm']
		],
		[wrap_parent('Images'), null, null,
			[wrap_child('New and Current'), 'http://www.antiqillum.com/texts/art_pages/thumb_pages/v_05_00.htm'],
			[wrap_child('Galleries'), 'http://www.antiqillum.com/main/art_pages.htm'],
			[wrap_child('Showcase'), 'http://www.antiqillum.com/showcases/default.htm'],
			[wrap_child('Fonts'), 'http://www.antiqillum.com/main/fonts.htm'],
			[wrap_child('FACMES'), 'http://www.antiqillum.com/texts/art_pages/thumb_pages/Father_ACME_Gallery.htm'],
			[wrap_child('Buy'), 'http://www.antiqillum.com/main/contribute.htm']
		],
		[wrap_parent('About'), null, null,
			[wrap_child('About Us'), 'http://www.antiqillum.com/main/about.htm'],
			[wrap_child('Acknowledgments'), 'http://www.antiqillum.com/main/acknowledgments.htm'],
			[wrap_child('Affiliates'), 'http://www.antiqillum.com/main/affiliates.htm'],
			[wrap_child('Here We Are'), 'http://www.antiqillum.com/main/hereweare.htm'],
			[wrap_child('Nephthys MacAleister'), 'http://www.antiqillum.com/main/nephthys.htm']
		],
		[wrap_child('E-mail the Management', 'email.gif'), 'mailto:antiqillum@yahoo.com?subject=For the Management']
	],
	[wrap_root('GLOR', 'd'), null, {'bw' : 120}, 
		[wrap_parent('Information'), null, {'sb' : 'About, Disclaimer, Search, Complete Contents Index', 'bl' : 121},
			[wrap_child('About'), 'http://www.antiqillum.com/main/about.htm', {'tt' : 'About Us', 'sb' : 'About'}],
			[wrap_child('Disclaimer'), 'http://www.antiqillum.com/glor/idxs/disclaimer.html', {'tt' : 'Do Read it', 'sb' : 'Disclaimer'}],
			[wrap_child('Search'), 'http://www.antiqillum.com/glor/idxs/search.html', {'tt' : 'Search the GLOR using Google', 'sb' : 'Search The Grey Lodge Occult Review'}],
			[wrap_child('GLOR idx'), 'http://www.antiqillum.com/glor/idxs/gloridx.html', {'tt' : 'GLOR Main IDX', 'sb' : 'Grey Lodge Occult Review IDX'}],
			[wrap_child('Contents Index'), 'http://www.antiqillum.com/glor/idxs/completeidx.html', {'tt' : 'An index over all things published in GLOR', 'sb' : 'Complete Index of Contents Published in GLOR'}]
		],
		[wrap_parent('Issues'), null, {'sb' : 'GLOR 11 is out!', 'bl' : 121},
			   [wrap_child('Issue 1'), 'http://www.antiqillum.com/glor/glor1.htm', {'tt' : '1', 'sb' : 'Issue 1'}],
			   [wrap_child('Issue 2'), 'http://www.antiqillum.com/glor/glor2.htm', {'tt' : '2', 'sb' : 'Issue 2'}],
			   [wrap_child('Issue 3'), 'http://www.antiqillum.com/glor/glor3.htm', {'tt' : '3', 'sb' : 'Issue 3'}],
			   [wrap_child('Issue 4'), 'http://www.antiqillum.com/glor/glor_004/glor_issue4.htm', {'tt' : '4', 'sb' : 'Issue 4'}],
			   [wrap_child('Issue 5'), 'http://www.antiqillum.com/glor/glor_005/glor_issue5.htm', {'tt' : '5', 'sb' : 'Issue 5'}],
			   [wrap_child('Issue 6'), 'http://www.antiqillum.com/glor/glor_006/glor_issue6.htm', {'tt' : '6', 'sb' : 'Issue 6'}],
			   [wrap_child('Issue 7'), 'http://www.antiqillum.com/glor/glor_007/glor_issue7.htm', {'tt' : '7', 'sb' : 'Issue 7'}],
			   [wrap_child('Issue 8'), 'http://www.antiqillum.com/glor/glor_008/glor_issue8.htm', {'tt' : '8', 'sb' : 'Issue 8'}],
			   [wrap_child('Issue 9'), 'http://www.antiqillum.com/glor/glor_009/glor_issue9.htm', {'tt' : '9', 'sb' : 'Issue 9'}],
			   [wrap_child('Issue 10'), 'http://www.antiqillum.com/glor/glor_010/glor_issue10.htm', {'tt' : '10', 'sb' : 'Issue 10'}],
			   [wrap_child('Issue 11'), 'http://www.antiqillum.com/glor/glor_011/glor_issue11.htm', {'tt' : '11', 'sb' : 'Issue 11'}],
			   [wrap_child('Issue 12'), 'http://www.antiqillum.com/glor/glor_012/glor_issue12.htm', {'tt' : '12', 'sb' : 'Issue 12'}]
		]
	],
	[wrap_root('Contact'), null, {'bw' : 150},
			[wrap_child('E-mail', 'email.gif'), 'mailto: glor@antiqillum.com?subject=GLOR Related'],
			[wrap_child('ICQ: Not Available', 'icq.gif'), null],
			[wrap_child('Y! ID: Not Available', 'yahoo.gif'), null],
			[wrap_child('AIM ID: Not Available', 'aol.gif'), null]
	]
]; 
var ii0 = new Image(); ii0.src = 'icons/arr.gif';
var ii1 = new Image(); ii1.src = 'icons/i.gif';
var ii2 = new Image(); ii2.src = 'icons/n7.gif';
var ii3 = new Image(); ii3.src = 'icons/m12.gif';
var ii4 = new Image(); ii4.src = 'icons/o.gif';
var ii5 = new Image(); ii5.src = 'icons/email.gif';
var ii6 = new Image(); ii6.src = 'icons/icq.gif';
var ii7 = new Image(); ii7.src = 'icons/yahoo.gif';
var ii8 = new Image(); ii8.src = 'icons/aol.gif';
var ii9 = new Image(); ii9.src = 'menu_files/pixel.gif';

function wrap_parent (text,icon) {
	return [['<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td bgcolor=#8C8B9D><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100% height=22><tr><td class=a0>&nbsp; ', text, '</td></tr></table></td><td><img src=icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#B8BBC9><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#B8BBC9><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_child (text,icon) {
	return [['<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td bgcolor=#8C8B9D><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=15', ' hspace=3></td><td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100% height=22><tr><td class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#B8BBC9><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#B8BBC9><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_root (text) {
	return [
	'<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=a0 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=a1 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=a1 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>'
	];
}