/*
	The format of each link line is:
	Name of Organization|Description|full web address of link (includes http://)|Address (if required)|Telephone (if required)|Email (if required)
*/
var g0 = new Array();  // Groups and Associations
g0[0]="Cymdeithas y Cerddwyr - Ramblers' Association Wales|Ramblers Cymru is the representative body for walkers in Wales and its overall aim is to encourage walking and public understanding of the outdoors|http://www.ramblers.org.uk/wales|3 Coopers Yard,<br />Curran Road,<br />Cardiff,<br />CF10 5NB|029 20644308";
g0[1]= "The Ramblers' Association|Britain's biggest walking charity. They've been working for over 70 years to promote walking and to improve conditions for everyone who walks in England, Scotland and Wales. Whether you're an old hand or a complete beginner, they can help you get the best out of walking.|http://www.ramblers.org.uk";
g0[2]= "Cambrian Mountains Society|The Cambrian Mountains Society has been formed with the following objects:<br />1. To promote, for the benefit of local communities, and of the wider public, measures which will sustain or enhance the landscape, natural beauty, biodiversity, archaeology, scientific interest, and cultural heritage of the Cambrian Mountains;<br />2. To advance the education of the public in the landscape, natural beauty, biodiversity, archaeology, scientific nature, cultural heritage and geodiversity of the Cambrian Mountains.|http://www.cambrian-mountains.co.uk/society.htm|";
g0[3]= "Elenydd Wilderness Hostels Trust. Ymddiriedolaeth Hosteli Unigeddau'r Elenydd|The Trust was set up to save some much-loved youth hostels in the Elenydd for future generations.<br />The Elenydd is an area in the southern Cambrian Mountains of mid-Wales, between Llanwrtyd Wells and Tregaron. It is a wild and beautiful place, with silence broken only by a gurgling stream, the bleating of sheep or the call of a bird. It is a wonderful area for outdoor activities like walking, cycling and horseriding, an ideal place to escape from the pressures of the modern world.<br />Simple youth hostels have provided accommodation here for many years and have always been popular with walkers and cyclists. They are in isolated and stunning locations and have been run by volunteer wardens for many years.<br />The Youth Hostels Association closed the last three of these hostels in 2006, but they have managed to save two of them - Ty'n Cornel and Dolgoch. They are both converted farmhouses in the hills and are full of character. And you can help to keep them open by visiting them!| http://www.elenydd-hostels.co.uk";
g0[4]= "Nordic Walking|Nordic Walking is a great way to keep fit between rambles. By using specially designed poles and learning the correct technique you can exercise 90% of your muscles, burning more calories and raising your heart rate more than with normal walking.  Free poles available for loan. If you are interested in trying Nordic Walking, contact Deborah, a qualified volunteer instructor for Age Concern Cymru|||01570 421939|coshar@myway.com"; 
g0[5]="The Aberystwyth Group of the Ramblers&acute; Association|This group operates in the northern half of Ceredigion in Mid Wales.  It is part of the Ramblers&acute; Association  which represents the interests of walkers throughout Great Britain.|http://www.ceredigionramblers.org.uk/AberystwythGroup/";
g0[6]="Shared Earth Trust - Denmark Farm Conservation Centre|We have signposted footpaths around our 40 acre site which are open to the public every day (except Christmas day) – a trail guide is available on arrival in the car park. For any visiting walkers who wish to stay in the area, we also have a small Eco-campsite (details on the website).|http://www.shared-earth-trust.org.uk";

var l0 = new Array(); // Local Community
l0[0]="Lampeter Town|Lampeter is a small but busy market town in the Teifi Valley, home to the oldest <a href=\"http://www.lamp.ac.uk\">University in Wales</a>. During the summer, the famous Food Festival is held, along with a number of other events, such as the Rhys Thomas James Eisteddfod, and the Carnival.|http://www.lampeter.org";


function displayLink(aTable) {
	var i=0, aLine = new Array();
	while (i in aTable) {
		aLine = aTable[i].split("|");
		document.write("<h3 class=\"walks\">" + aLine[0] + "</h3><dl><dt>Description:</dt><dd>" + aLine[1] + "</dd>");
		if (aLine[2] != null && aLine[2] != "") {
		document.write("<dt>Web Address</dt><dd><a href = \"" + aLine[2] + "\">" + aLine[2] + "</a></dd>");
		}
		if (aLine[3] != null && aLine[3] != "") {
			document.write("<dt>Address:</dt><dd>" + aLine[3] + "</dd>");
		}
		if (aLine[4] != null && aLine[4] != "") {
			document.write("<dt>'Phone:</dt><dd>" + aLine[4] + "</dd>");
		}
		if (aLine[5] != null && aLine[5] != "") {
			document.write("<dt>E-mail:</dt><dd>" + aLine[5] + "</dd>");
		}
		document.write("</dl><br /><a  class=\"walks\" href=\"#\" name=\"top\">^ Top</a><br />");
		i++;
	}
}
