var MENU_ITEMS_XP = [
	[wrap_root('<img src="images/arrow.gif"> Home Page'), 'default.asp', null],
	[wrap_root('<img src="images/arrow.gif"> Lakehead Social Planning Council'), null, null,
		[wrap_child('Staff Directory and Contact Info'), 'content.asp?pg=contact-info', null],
		[wrap_child('About the LSPC and 211'), 'content.asp?pg=lspc-about', null],	
		[wrap_child('Help Support the LSPC'), 'content.asp?pg=lspc-donations', null],
		[wrap_child('Community Partnerships'), 'content.asp?pg=lspc-community-partnerships', null],
		[wrap_child('Prue Morton Resource Library'), 'content.asp?pg=lspc-prue-morton', null],
		[wrap_child('Volunteering Opportunities'), 'content.asp?pg=lspc-volunteer', null],
		[wrap_child('LSPC Board of Directors'), 'content.asp?pg=lspc-boardofdirectors', null],
		[wrap_child('Latest Newsletter'), 'pdfs/LSPCNews.pdf', null]
	],	
	[wrap_root('<img src="images/arrow.gif"> Community Information Database'), 'circ', null],	
	[wrap_root('<img src="images/arrow.gif"> 211 Ontario North'), 'http://www.211ontarionorth.ca', null],
	[wrap_root('<img src="images/arrow.gif"> Common Searches & Resources'), null, null,
		[wrap_child('Resources for Seniors'), null, null,
			[wrap_child('Seniors'), 'http://www.lspc.ca/circ/default.asp?pg=results.asp&SubjID=1903', null],
			[wrap_child('Seniors Housing'), 'http://www.lspc.ca/circ/default.asp?pg=results.asp&SubjID=1908', null],
		],
		[wrap_child('Health and Medical Resources'), null, null,
			[wrap_child('Community Health Centres'), 'http://www.lspc.ca/circ/default.asp?pg=results.asp&SubjID=449', null],		
			[wrap_child('Health Education'), 'http://www.lspc.ca/circ/default.asp?pg=results.asp&SubjID=986', null],	
			[wrap_child('Health Services'), 'http://www.lspc.ca/circ/default.asp?pg=results.asp&SubjID=993', null],				
			[wrap_child('Mental Health Services'), 'http://www.lspc.ca/circ/default.asp?pg=results.asp&SubjID=1375', null],							
			[wrap_child('Walk-In Medical Clinics'), 'http://www.lspc.ca/circ/default.asp?pg=results.asp&SubjID=2252', null]
		],
		[wrap_child('Where to Get Food in Thunder Bay'), null, null,
			[wrap_child('Stores that Deliver'), 'content.asp?pg=food-stores', null],
			[wrap_child('Food for Seniors'), 'content.asp?pg=food-seniors', null],
			[wrap_child('Stretching your Food Dollar'), 'content.asp?pg=food-dollar', null],
			[wrap_child('Emergency Food Programs'), 'content.asp?pg=food-programs', null],
			[wrap_child('Daily Meals'), 'content.asp?pg=food-daily', null],
			[wrap_child('Food for Moms and Babies'), 'content.asp?pg=food-moms', null]
		],
		[wrap_child('Toll Free Help Lines'), 'content.asp?pg=toll-free-help-lines', null]		
	],
	[wrap_root('<img src="images/arrow.gif"> Community Events Calendar'), 'circ/calendar', null],
	[wrap_root('<img src="images/arrow.gif"> Products & Services'), 'content.asp?pg=circ-products', null],
	[wrap_root('<img src="images/arrow.gif"> Past Projects & Initiatives'), null, null,	
		[wrap_root('<img src="images/arrow.gif"> Homelessness Initiative'), null, null,
			[wrap_child('About the Homelessness Initiative'), 'content.asp?pg=homeless-about', null],
			[wrap_child('Homelessness and Poverty Forum'), 'content.asp?pg=homeless-forum', null],
			[wrap_child('Homelessness Awareness Week'), 'content.asp?pg=homeless-week', null],
			[wrap_child('City of Thunder Bay Proclamation'), 'content.asp?pg=homeless-city', null]
		],
		[wrap_root('<img src="images/arrow.gif"> SEII Closing the Distance Project'), null, null,
			[wrap_child('Social Economic Inclusion Initiative'), 'content.asp?pg=seii-about', null],
			[wrap_child('SEII Thunder Bay - Phase II'), 'content.asp?pg=seii-phaseII', null],
			[wrap_child('What is Social Inclusion'), 'content.asp?pg=seii-social', null],
			[wrap_child('Closing the Distance'), 'content.asp?pg=seii-distance', null],
			[wrap_child('Social Inclusion and Education'), 'content.asp?pg=seii-education', null],
			[wrap_child('Racism and Aboriginal Youth'), 'content.asp?pg=seii-racism', null]			
		],
		[wrap_root('<img src="images/arrow.gif"> SEII Education Resource Package'), null, null,
			[wrap_child('Cover Page & Introduction'), 'content.asp?pg=seii-erp-start', null],
			[wrap_child('Education Resource Package 1'), 'content.asp?pg=seii-erp-main', null],
			[wrap_child('Education Resource Package 2'), 'content.asp?pg=seii-erp-main2', null],
			[wrap_child('Project Team & Credits'), 'content.asp?pg=seii-erp-credits', null]
		]
	],
	[wrap_root('<img src="images/arrow.gif"> Community Access Program (CAP)'), 'content.asp?pg=cap', null],
	[wrap_root('<img src="images/arrow.gif"> LSPC Board and Staff Website'), 'https://www.digitalboard.ca/lspc', null]	
];


function wrap_parent (text,icon) {
	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=menu_default >&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<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=menu_hover >&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<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=menu_clicked >&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>'
	];
}
function wrap_child (text,icon) {
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=menusub_default >&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
'<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=menusub_hover >&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
'<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=menusub_clicked >&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>'
];
}
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=menusub_default >&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
'<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=menusub_hover >&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
'<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=menusub_clicked >&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>'
];
}
