var MENU_ITEMS_XP = [
	[wrap_root('Home'), 'index.asp', {'sw' : 153}		
	],
	[wrap_root('About Us'), 'aboutus.htm', {'bw' : 153}
	],
	[wrap_root('Contact Us'), 'contactus.htm', {'bw' : 153}
	],
	[wrap_root('Wire Mesh', 'd'), 'wiremesh.htm', {'bw' : 153}, 
	    [wrap_child('Wire Mesh Home'), 'wiremesh.htm', {'sb' : 'Wire Mesh Home', 'bl' : 121}],
		[wrap_parent('Products'), 'wmprod.htm', {'sb' : 'Functionality demos', 'bl' : 121},
			[wrap_child('1 1/2" no 10. ga Sure Guard'), 'wmprod10.htm', {'tt' : 'Standard Duty', 'sb' : 'Multiple demo'}],
			[wrap_child('2" no 6 ga. Sure Guard'), 'wmprod6.htm', {'tt' : 'cross framed (horizontal menu bar, styles, relative positioning, rollovers)', 'sb' : 'Cross-framed demo'}],
			[wrap_child('Stairwell Partitions'), 'wmprodsw.htm', {'tt' : 'select-boxes overlapping (horizontal menu bar, styles, relative positioning, rollovers)', 'sb' : 'Select-boxes demo'}],
			[wrap_child('Railing In-Fills'), 'wmrailing.htm', {'tt' : 'transitions (horizontal menu bars, styles, rollovers, inner html, transitions, transparency)', 'sb' : 'Effects demo'}],
			[wrap_child('Ornamental Iron'), 'wmornament.htm', {'tt' : 'transitions (horizontal menu bars, styles, rollovers, inner html, transitions, transparency)', 'sb' : 'Effects demo'}],
			[wrap_child('Specialties Items'), 'wmspecial.htm', {'tt' : 'transitions (horizontal menu bars, styles, rollovers, inner html, transitions, transparency)', 'sb' : 'Effects demo'}],
			[wrap_child('Window Guards'), 'wmguard.htm', {'tt' : 'transitions (horizontal menu bars, styles, rollovers, inner html, transitions, transparency)', 'sb' : 'Effects demo'}]
		],
		[wrap_parent('Gallery'), 'wmgallery.htm', {'sb' : 'Gallery', 'bl' : 121},
			[wrap_child('Wire Mesh Partitions'), 'wmgallery.htm', {'tt' : 'Wire Mesh Partitions', 'sb' : 'Multiple demo'}],
			[wrap_child('Ornamental Iron'), 'wmgaloi.htm', {'tt' : 'Ornamental Iron', 'sb' : 'Multiple demo'}],
			[wrap_child('Railing Panels'), 'wmgalrp.htm', {'tt' : 'Railing Panels', 'sb' : 'Multiple demo'}],
			[wrap_child('Specialties'), 'wmgalsp.htm', {'tt' : 'Specialties', 'sb' : 'Multiple demo'}]
		]
	    
	],
		[wrap_root('Detention Equipment', 'd'), 'detention.htm', {'bw' : 153}, 
		[wrap_child('Specifications'), null, {'sb' : 'Specifications', 'bl' : 121}],
		[wrap_child('Catalog'), null, {'sb' : 'Catalog', 'bl' : 121}],
		[wrap_child('Hardware'), 'dhardware.htm', {'sb' : 'Hardware', 'bl' : 121}],
		[wrap_child('Parts/Services'), 'dparts.htm', {'sb' : 'Parts/Services', 'bl' : 121}],
		[wrap_child('Fabrication'), 'dfab.htm', {'sb' : 'Fabrication', 'bl' : 121}],
		[wrap_child('DEC'), 'ddec.htm', {'sb' : 'DEC', 'bl' : 121}]
		<!--,-->
		<!--[wrap_child('Gallery'), 'dgallery.htm', {'sb' : 'Gallery', 'bl' : 121}],-->
		<!--[wrap_child('Specials'), 'dspecials.htm', {'sb' : 'Specials', 'bl' : 121}]-->
		
		],
	
]; 
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=#EFEDDE><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=#CED1C3><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=#CED1C3><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=#EFEDDE><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=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=99% 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=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=99% 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>'
	];
}