var MENU_ITEMS0 = [
	[wrap_root('Home'), 'index.asp' ],
	[wrap_root('Membership'), 'membership.asp' ],
	[wrap_root('Events Diary'), 'events.asp' ],
	[wrap_root('2010 AGM'), '2010agm.asp' ],
	[wrap_root('History'), null, null, 
		[wrap_parent('Of Fuchsias'), 'historyoffuchsias.asp'  ],
		[wrap_parent('Of The BFS'), 'historybfs.asp' ],
	],
	
	[wrap_root('Steward Training'), 'stewardtraining.asp' ],
	[wrap_root('Hints & Tips'), 'hints.asp' ],
	[wrap_root('Help & Advice'), 'helpandadvice.asp' ],
	[wrap_root('BFS Seedling Register'), 'seedling2.asp' ],
	[wrap_root('Speakers'), 'speakers.asp' ],
	[wrap_root('Affiliated Societies'), 'affiliates.asp', ],
	[wrap_root('Links'), null, null, 
		[wrap_parent('Societies & Others'), 'Links_Societies.asp' ],
		[wrap_parent('Nurseries'), 'Links_Nurseries.asp' ],			   	   			   
			   ],

	[wrap_root('Fuchsia News'), null, null, 
		[wrap_parent('January 2009'), 'textfiles/FuchsiaNewsJan09.pdf' ],
		[wrap_parent('Spring 2009'), 'textfiles/FuchsiaNewsSpring2009.pdf' ],
		[wrap_parent('July 2009'), 'textfiles/FuchsiaNewsjuly09.pdf' ],
		[wrap_parent('Autumn 2009'), 'textfiles/FuchsiaNewsautumn09.pdf' ],
		[wrap_parent('Winter 2009'), 'textfiles/FuchsiaNewswinter09.pdf' ],
		[wrap_parent('Spring 2010'), 'textfiles/FuchsiaNewsspring2010.pdf' ],
		[wrap_parent('Summer 2010'), 'textfiles/FuchsiaNewsSummer2010.pdf' ],
		[wrap_parent('Autumn 2010'), 'textfiles/FuchsiaNewsAutumn2010.pdf' ],
		[wrap_parent('Winter 2010'), 'textfiles/FuchsiaNewsWinter2010.pdf' ],
		[wrap_parent('Spring 2011'), 'textfiles/FuchsiaNewsspring2011.pdf' ],
		[wrap_parent('Autumn 2011'), 'textfiles/FuchsiaNewsAutumn2011.pdf' ],
		
	],

	[wrap_root('Juniors'), null, null,
		[wrap_parent('Competition'), 'Juniors.asp' ],
		[wrap_parent('Training'), 'TrainingNG.asp' ],			   	   			   
			   ],

	[wrap_root('Items For Sale'), null, null, 
		[wrap_parent('Badges, Books etc'), 'SaleBadges.asp' ],			   	   			   
			   ],

	[wrap_root('Show Bench Lists'), null, null,
		[wrap_parent('Hardy'), 'hardy.asp'  ],
		[wrap_parent('Species'), 'species.asp'  ],
		[wrap_parent('Triphylla'), 'triphylla.asp'  ],
	],
	[wrap_root('Picture Gallery'), 'gallery.asp' ],
	[wrap_root('Fuchsia Lore Club'), 'fuchsialore.asp' ],
	[wrap_root('FAQ&#39;s &amp; Contact Us'), 'contactus.asp' ]
	
	];
 


function wrap_parent (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>'
	];
}

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>'
	];
}
