var MENU_ITEMS_XP = [
	[wrap_img('home-button-on.gif', 'home-button-on.gif'), 'http://www.novingergroup.com/home.php', {'sw' : 77}], 
	[wrap_img('about-button-off.gif', 'about-button-on.gif'), '#', {'sw' : 87},
	  [wrap_parent('Past & Present'), 'http://www.novingergroup.com/about/about-Novinger-Group.php', {'sw' : 181, 'bw':140}],
		[wrap_parent('Organization'), 'http://www.novingergroup.com/about/organization.php', null], 
		[wrap_parent('Community Support'), 'http://www.novingergroup.com/about/community-support.php', {'sw' : 181, 'bw':140}]
		],
	[wrap_img('insuring-button-off.gif', 'insuring-button-on.gif'), 'http://www.novingergroup.com/insurance-bonding.php', {'sw' : 96}],
	[wrap_img('service-button-off.gif', 'service-button-on.gif'), 'http://www.novingergroup.com/services/', {'sw' : 87},
		[wrap_parent('Acoustical Ceilings & Walls'), 'http://www.novingergroup.com/services/acoustical-ceilings-walls.php', 'null'],
		[wrap_parent('Fitouts & Renovations'), 'http://www.novingergroup.com/services/custom-work.php', null],
		[wrap_parent('Drywall, Lath & Plaster'), 'http://www.novingergroup.com/services/drywall-lath-plaster.php', null], 
		[wrap_parent('Exterior Wall Panels'), 'http://www.novingergroup.com/services/exterior-wall-panels.php', {'sw' : 181, 'bw':140}],
		[wrap_parent('Spray Fireproofing'), 'http://www.novingergroup.com/services/spray-fireproofing.php', {'sw' : 181, 'bw':140}],
		[wrap_parent('Recycling'), 'http://www.novingergroup.com/services/recycling.php', null]
		],
	[wrap_img('project-button-off.gif', 'project-button-on.gif'), 'http://www.novingergroup.com/listman/listings/', {'sw' : 66}],
	[wrap_img('employment-button-off.gif', 'employment-button-on.gif'), 'http://www.novingergroup.com/employment.php', {'sw' : 181, 'bw':130},
		[wrap_parent('Opportunities'), 'http://www.novingergroup.com/employees/employee-opportunities.php', 'null'],
		[wrap_parent('Employee Spotlight'), 'http://www.novingergroup.com/employees/employee-spotlight.php', null]
		],
	[wrap_img('links-button-off.gif', 'links-button-on.gif'), 'http://www.novingergroup.com/links.php', {'sw' : 181, 'bw':130}],
	[wrap_img('contact-button-off.gif', 'contact-button-on.gif'), 'http://www.novingergroup.com/contact-Novinger-Group.php', {'sw' : 96}]
	]; 

function wrap_img(img_name, img_name_over) {
	if (!img_name_over)
		img_name_over = img_name;
	return	[
		'<img src="http://www.novingergroup.com/images/' + img_name + '" border="0">',
		'<img src="http://www.novingergroup.com/images/' + img_name_over + '" border="0">',
		'<img src="http://www.novingergroup.com/images/' + img_name_over + '" border="0">'
	];
}

function wrap_parent (text,icon) {
	return [
		['<table cellpadding=0 cellspacing=0 border=0  bgcolor=#ffffff width=100%><tr><td width=100%><table cellpadding=0 cellspacing=0  bgcolor=#BFD1EE border=0 width=100% height=27><tr><td class=a0>&nbsp; ', text, '</td><td bgcolor=#BFD1EE width="4">&nbsp;</td></tr></table></td></tr></table>'].join(''),
		['<table cellpadding=0 cellspacing=0 border=0 width=100% bgcolor=#ffffff><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=27 bgcolor=#ABC0E1><tr><td width=100% class=a0>&nbsp; ', text, '</td><td bgcolor=#ABC0E1>&nbsp;</td></tr></table></td></tr></table>'].join(''),
		['<table cellpadding=0 cellspacing=0 border=0 width=100% bgcolor=#ffffff><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=27 bgcolor=#ABC0E1><tr><td width=100% class=a0>&nbsp; ', text, '</td><td bgcolor=#ABC0E1>&nbsp;</td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_child (text,icon) {
	return [
		['<table cellpadding=0 cellspacing=0 bgcolor=#ffffff border=0 width=100%><tr><td width=100%><table  bgcolor=#BFD1EE cellpadding=0 cellspacing=0 border=0 width=100% height=30><tr><td class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
		['<table cellpadding=0 cellspacing=0 border=0 width=100% bgcolor=#ffffff><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=30 bgcolor=#ABC0E1><tr><td width=99% class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
		['<table cellpadding=0 cellspacing=0 border=0 width=100% bgcolor=#ffffff><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=30 bgcolor=#ABC0E1><tr><td width=99% class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join('')
	];
}
