direct1 = new Array();
	direct1['title'] = 'Directions from St.&nbsp;Austell Railway/Bus Station';
	direct1['description'] = '<p>The house is a 10-minute walk from the train and bus stations. Turn right as you leave the station and walk through the car park. Turn left by the green footbridge and walk down the hill, passing the vets on the right. At the bottom of this street you will see the parish church directly ahead of you. Turn right. Walk through the pedestrianised <STRONG>Fore Street</STRONG>. Pass Woolworths and WH Smith on your left.&nbsp; At the end of the pedestrianised street bear right and follow the main road up the hill (past Klix photo shop on your right).&nbsp; You are now on <strong>Bodmin Road</strong>.&nbsp; Pass the public car park and St.&nbsp;John&#8217;s church on your right.&nbsp; We are 200 yards further up the hill on the right hand side - look out for the Sedgemoor Heights Bed &amp; Breakfast sign.&nbsp; The house is yellow and set back from the main road up a hill.</p>';
direct2 = new Array();
	direct2['title'] = 'By car from the A30';
	direct2['description'] = '<p>Follow the A30 and take the turning onto the A391, sign-posted <em>St.&nbsp;Austell</em>.&nbsp; Follow the A391, through Bugle and Stenalees, until you reach the roundabout.&nbsp; Take the second exit sign-posted <em>Carthew</em>, the <em>Clay Museum</em>, B3274.<SPAN CLASS="note">[Ignore the sign to St. Austell at this point.]</SPAN><BR>Follow the B3274. Pass the Clay Museum on the right. After approximately 1 mile you go under a viaduct, entering St Austell. Our house is approx. 300 yards further along on the left. Look out for a stone wall and the Sedgemoor Heights sign.<BR>Turn left into the drive, reverse into the car park you can.</p>';
direct3 = new Array();
	direct3['title'] = 'By car from the A390 travelling west';
	direct3['description'] = '<P>Follow the A390 until you reach the double roundabout with McDonald&#8217;s on the left. Move into the right hand lane and turn right, following the sign to <EM>St. Austell town centre</EM>.<BR>Follow the road up hill to the next roundabout.&nbsp; Take the first exit left.&nbsp; Follow the road past the multi-storey car park on the right.&nbsp; At the next T-junction, with the shop <em>Sports World</em> in front of you, turn right.&nbsp; The road bends sharply to the left, follow the road round, passing St&nbsp;John&#8217;s church on the right.<br />Sedgemoor Heights is on the right hand side about 300 yards after the sharp bend, look out for the Sedgemoor Heights sign.&nbsp; We are the big yellow house set back from the road on a hill.&nbsp; Turn right into the drive in front of the property, or reverse in if you can.</p>';
direct4 = new Array();
	direct4['title'] = 'By car from the A390 travelling east';
	direct4['description'] = '<P>Follow the A390 from Truro towards St Austell. As you approach St Austell, you will go down and then up a steep hill at St Mewan (you will pass a school on your left). As you decend the other side of this hill, turn left, sign-posted <EM>Town Centre</EM> and <EM>Newquay</EM>. You will immediately meet a set of traffic lights, go straight on. <BR>At the next set of traffic lights, continue straight on. <BR>As the road bends sharply left, follow it round, passing St&nbsp;John&#8217;s church and a short-stay car park on your right.<br />Sedgemoor Heights is on the right hand side about 300 yards after the sharp bend, look out for the Sedgemoor Heights sign.&nbsp; We are the big yellow house set back from the road on a hill.&nbsp; Turn right into the drive in front of the property, or reverse in if you can.</p>';
no_of_directions = 4 ;

function directions() {
for (var i=1; i <= no_of_directions; i++) {
var direction = eval("direct"+i);
document.writeln('<H3>'+direction['title']+'</H3>'+direction['description'])
// '<P><A HREF="javascript:openPrintWindow('+i+')" TITLE="Click to display the directions, together with an appropiate map, ready for printing." onMouseOver="self.status=this.title;return true">Print the above directions (not yet implemented)</A></P>')
}
}

function openPrintWindow(directnum) {
if (window.directwin && !(window.directwin.closed)) window.directwin.close();
directwin=window.open('','directwin','height=600,innerHeight=600,width=700,innerWidth=700,left=150,screenX=150,top=0,screenY=0,scrollbars=yes');
var direction = eval("direct"+directnum);
window.directwin.document.writeln('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1"><META NAME="Author" Content="Andy J Welton (the one and ONLY Fuzzy-Duck)"><TITLE>How to get to Sedgemoor Heights '+direction['title']+'</TITLE><SCRIPT LANGUAGE="JavaScript" SRC="noclick.js"></SCRIPT><LINK REL="stylesheet" TYPE="text/css" HREF="popupwin.css"></HEAD><BODY>');
window.directwin.document.writeln('<P>hello! this is map number '+directnum+'</P><H3>'+direction['title']+'</H3>'+direction['description']+'</BODY></HTML>');
}