 
if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu()
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;
var message="Unfortunately right-clicking has been disabled for these web pages.\nIf you have any questions about the coding for this page then please\ne-mail the webmaster at enquiries@sedgemoorheights.co.uk. Thank-you.";
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;

function getFilename() {
var spliturl = location.href.split("/");
return spliturl[spliturl.length-1]
} // copyright (c) Andy J Welton ("Fuzzy-Duck") 2003

thispage = getFilename();

entry1 = new Array();
	entry1['href'] = 'prices.htm';
	entry1['title'] = 'Details of prices and how to contact Sedgemoor Heights.';
	entry1['linktext'] = 'Prices&nbsp;&amp;&nbsp;Contact&nbsp;info';
entry2 = new Array();
	entry2['href'] = 'accommodation.htm';
	entry2['title'] = 'The range of accommodation choices available.';
	entry2['linktext'] = 'Accommodation';
entry3 = new Array();
	entry3['href'] = 'testimonials.htm';
	entry3['title'] = 'What other guests have said about Sedgemoor Heights.';
	entry3['linktext'] = 'Testimonials';
entry4 = new Array();
	entry4['href'] = 'directions.htm';
	entry4['title'] = 'How to get to Sedgemoor Heights.';
	entry4['linktext'] = 'Directions';
entry5 = new Array();
	entry5['href'] = 'attractions.htm';
	entry5['title'] = 'Tourist attractions in and near St. Austell.';
	entry5['linktext'] = 'Places to go';
entry6 = new Array();
	entry6['href'] = 'availability.htm';
	entry6['title'] = 'Availability at Sedgemoor Heights bed and breakfast.';
	entry6['linktext'] = 'Availability';
number_of_entries = 5 ;

function menu() {
var m=1 ;
document.writeln('<DIV ID="menu"><P CLASS="shadow">Sedgemoor Heights</P><P CLASS="shadover"><A HREF="index.htm" TITLE="Click to go back to the Sedgemoor Heights Homepage." onMouseOver="self.status=this.title;return true">Sedgemoor Heights</A></P>');
for (var i=1; m < number_of_entries; i++) {
var menuentry = eval("entry"+i);
if (menuentry['href'] != thispage) {
document.writeln('<DIV ID="m'+m+'"><P><A HREF="'+menuentry['href']+'" TITLE="'+menuentry['title']+'" onMouseOver="self.status=this.title;return true">'+menuentry['linktext']+'</A></P></DIV>');
m++}
}
document.writeln('</DIV>')
}
function footer() {
document.writeln('<DIV ID="footrite"><DIV ID="footleft"><DIV ID="footer"><P>&middot; ');
for (var i=1; i <= number_of_entries; i++) {
var menuentry = eval("entry"+i);
if (menuentry['href'] != thispage) {
document.writeln('<A HREF="'+menuentry['href']+'" TITLE="'+menuentry['title']+'" onMouseOver="self.status=this.title;return true">'+menuentry['linktext']+'</A>')
} else {
document.writeln(menuentry['linktext'])
}
if (i!=number_of_entries) {
document.writeln(' | ')
}
}
document.writeln(' &middot;</P><P>Site design, graphics and writing <A HREF="http://www.whatiscopyright.org" TITLE="www.whatiscopyright.org" target="_blank">copyright</A> &copy; 2002-03 <A HREF="mailto:info@sedgemoorheights.co.uk" TITLE="Click to e-mail Sedgemoor Heights." onMouseOver="self.status=this.title;return true">Sedgemoor Heights</A>. All Rights Reserved. See the <A HREF="disclaimer.htm" TITLE="Site terms." onMouseOver="self.status=\'Click for the site disclaimer.\';return true">disclaimer</A> for further details.</P></DIV></DIV></DIV>')
}