var MENU_ITEMS = [

	[wrap_root('Home'),'./',                                {'sw':75}],

	[wrap_root('Property To Let'),'PropertyToLet.asp',      {'sw':147}],

	[wrap_root('Wish List'),      'WishList.asp',           {'sw':100}],

	[wrap_root('About Us'),       'AboutUs.asp',            {'sw':100}],

	[wrap_root('Get In Touch'),     null,                   {'sw':122,'bw':120},
		[wrap_child_x('Contact Us'),    'ContactUs.asp', null],
		[wrap_child('Our Personnel'), 'Personnel.asp', null],
	],

	[wrap_root('Owners'),         'Owners.asp',             {'sw':89}],

//	[wrap_root('Buy-to-let'),     'BuyToLet.asp',           {'sw':96}],

	[wrap_root('Commercial'),     'CommercialProperty.asp', {'sw':120}],

	[wrap_root('For Sale'),       'PropertySales.asp',      {'sw':93}],

	[wrap_root_x('Resources'), null,                          {'sw':109,'bw':154},
		[wrap_child_x('About Edinburgh'),    'AboutEdinburgh.asp', null],
		[wrap_child('About The Lothians'), 'AboutTheLothians.asp', null],
		[wrap_child('Useful Links'),       'WebLinks.asp', null],
	],

];

// total width : 955

function wrap_root (text) {
	return [
'<table cellpadding=4 cellspacing=0 border=0 width=100% height=26><tr><td class=a0out>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
'<table cellpadding=4 cellspacing=0 border=0 width=100% height=26><tr><td class=a0over>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
'<table cellpadding=4 cellspacing=0 border=0 width=100% height=26><tr><td class=a0over>&nbsp; ' + text + ' &nbsp;</td></tr></table>'
	];
}

function wrap_root_x (text) { // this for the rightmost button
	return [
'<table cellpadding=4 cellspacing=0 border=0 width=100% height=26><tr><td class=a0out_x>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
'<table cellpadding=4 cellspacing=0 border=0 width=100% height=26><tr><td class=a0over_x>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
'<table cellpadding=4 cellspacing=0 border=0 width=100% height=26><tr><td class=a0over_x>&nbsp; ' + text + ' &nbsp;</td></tr></table>'
	];
}

function wrap_parent (text) {
	return [
	'<table cellpadding=4 cellspacing=0 border=0 width=100% height=22><tr><td class=a1out>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
	'<table cellpadding=4 cellspacing=0 border=0 width=100% height=22><tr><td class=a1over>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
	'<table cellpadding=4 cellspacing=0 border=0 width=100% height=22><tr><td class=a1over>&nbsp; ' + text + ' &nbsp;</td></tr></table>'
	];
}

function wrap_parent_x (text) { // this for the topmost button
	return [
	'<table cellpadding=4 cellspacing=0 border=0 width=100% height=22><tr><td class=a1out_x>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
	'<table cellpadding=4 cellspacing=0 border=0 width=100% height=22><tr><td class=a1over_x>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
	'<table cellpadding=4 cellspacing=0 border=0 width=100% height=22><tr><td class=a1over_x>&nbsp; ' + text + ' &nbsp;</td></tr></table>'
	];
}

function wrap_child (text) {
	return [
	'<table cellpadding=4 cellspacing=0 border=0 width=100% height=22><tr><td class=a2out>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
	'<table cellpadding=4 cellspacing=0 border=0 width=100% height=22><tr><td class=a2over>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
	'<table cellpadding=4 cellspacing=0 border=0 width=100% height=22><tr><td class=a2over>&nbsp; ' + text + ' &nbsp;</td></tr></table>'
	];
}

function wrap_child_x (text) { // this for the topmost button
	return [
	'<table cellpadding=4 cellspacing=0 border=0 width=100% height=22><tr><td class=a2out_x>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
	'<table cellpadding=4 cellspacing=0 border=0 width=100% height=22><tr><td class=a2over_x>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
	'<table cellpadding=4 cellspacing=0 border=0 width=100% height=22><tr><td class=a2over_x>&nbsp; ' + text + ' &nbsp;</td></tr></table>'
	];
}



