
var url = document.location;	//  used for email a friend
//  navitems first field specs 3 mouse states as: [navitem ('*', 'mout'), navitem ('*', 'mover'), navitem ('*', 'mdown')] caption goes in '*'
// also requires class definitions for infobubl, mout, mover & mdown
var MENU_ITEMS = [
	[[navitem ('home', 'mout'), navitem ('home', 'mover'), navitem ('home', 'mdown')],  'index.php',,
			[infobubl('Blue Summit Cottages home page and site map - includes viewing of arriving, cottage features and food hampers.')]
	],
	[[navitem ('cottages', 'mout'), navitem ('cottages', 'mover'), navitem ('cottages', 'mdown')],'cottages.php',,
		['<span class="whitebkgr">Cockatiel</span>', 'cockatiel.php',,
			[infobubl('Cockatiel Cottage embraces a space of peace, calm and relaxation; the disabled access welcomes all guests effortlessly.')]],
		['<span class="whitebkgr">King Parrot</span>', 'kingparrot.php',,
			[infobubl('Vibrant shades of red create a revitalising and invigorating space to enjoy our nature whilst recharging ones batteries.')]],
		['<span class="whitebkgr">Black Cockatoo</span>', 'cockatoo.php',,
			[infobubl('Comforting shades of chocolate throughout Black Cockatoo create a comforting and nurturing space - without the calories.')]]
	],
//	[[navitem ('packages', 'mout'), navitem ('packages', 'mover'), navitem ('packages', 'mdown')],  'package.php' ,,
//		[infobubl('Blue Summit Cottages Packages offer something')]
//	],
//	[[navitem ('extras', 'mout'), navitem ('extras', 'mover'), navitem ('extras', 'mdown')],  'extras.php' ,,
//		[infobubl('Some of the added extras we offer to make your stay at Blue Summit Cottages even more revitalising and enjoyable')]
//	],
	[[navitem ('packages', 'mout'), navitem ('packages', 'mover'), navitem ('packages', 'mdown')],  'packages.php',,
		[infobubl('Details of the packages we are currently offering.')]
	],
	[[navitem ('rates &amp; extras', 'mout'), navitem ('rates &amp; extras', 'mover'), navitem ('rates &amp; extras', 'mdown')],  'rates.php',,
		[infobubl('Accommodation Rates, Additional delights to enhance your stay and our Conditions for your stay at Blue Summit Cottages.')]
	],
	[[navitem ('food hampers', 'mout'), navitem ('food hampers', 'mover'), navitem ('food hampers', 'mdown')],  'food_hampers.php',,
		[infobubl('Some examples of the food hampers available .')]
	],
	[[navitem ('bookings &amp;<br> enquiries', 'mout'), navitem ('bookings &amp;<br> enquiries', 'mover'), navitem ('bookings &amp;<br> enquiries', 'mdown')],  'enquiry.php',,
		[infobubl('Please use this form to make a reservation or discuss your requirements.....')]
	],
	[[navitem ('directions', 'mout'), navitem ('directions', 'mover'), navitem ('directions', 'mdown')],  'directions.php?buttons=goback',,
		[infobubl('How to get to Blue Summit Cottages including the option to print out a map with precise driving directions')]
	],
	[[navitem ('contacts', 'mout'), navitem ('contacts', 'mover'), navitem ('contacts', 'mdown')],  'contacts.php',,
		[infobubl('Blue Summit Cottages contact details for phone, mail, email .... whatever you prefer.')]
	],
//	[[navitem ('feedback', 'mout'), navitem ('feedback', 'mover'), navitem ('feedback', 'mdown')],  'feedback.php',,
//		[infobubl('Guests\' feedback - what some of our guests have said about their stay at SpaViews - these comments are typical of the feedback we continually receive.')]
//	],
//	[[navitem ('email-a-friend', 'mout'), navitem ('email-a-friend', 'mover'), navitem ('email-a-friend', 'mdown')],  'spreadtheword.php?pageurl=' + url,, 
//			[infobubl('You can email a friend or a colleague about this page. <p>A new window will open explaining how it works and asking for the information required to send the email. <p>We do not keep a record of any of this information in any shape or form. <p>')]
//	]
];

function navitem ( text , state) {
	return '<table background="' +  'img/bscnavbtn_' + state + '.gif" height=45 width=140 cellpadding=0 cellspacing=0 border="0"><tr><td align=right valign=middle ><span class="' + state + '">' +  text + '</span></td></tr></table>';
}
function infobubl (text) {
	return '<table height="10"width=220 cellpadding="5" cellspacing="0" border="2" bordercolor="#0000ee" bordercolordark="#0000cc" bordercolorlight="#0000ff"><tr><td width="216" class="infobubl">' + text + '</td></tr></table>';
}