// JavaScript Document
		theUpPath = "/images/upbuttons/"
		theDownPath = "/images/downbuttons/"
		theStaticPath = "/images/staticbuttons/"
		linkNameArray = new Array("homeLink", "accomodationLink", "activitiesLink", "amenitiesLink", "allaboutdoresLink", "servicesLink", "communitycouncilLink", "eatingoutLink", "localgroupsLink", "merchandiseLink", "newsLink", "opinionLink")
		linkImageNameArray = new Array("home.gif", "accomodation.gif", "activities.gif", "amenities.gif", "allaboutdores.gif","businessdirectory.gif", "communitycouncil.gif", "eatingout.gif", "localgroups.gif", "merchandise.gif", "news.gif", "opinion.gif")
		expectedContainerNameArray = new Array("mainpage.shtml", "accomodation", "activities", "amenities", "allaboutdores", "services", "communitycouncil", "eatingoutandpubs", "localgroups", "doresmerchandise", "events", "opinion")
		linkPathArray = new Array("/mainpage.shtml", "/accomodation/index.shtml", "/activities/index.shtml", "/amenities/index.shtml","/allaboutdores/index.shtml", "/services/index.shtml", "/communitycouncil/index.shtml", "/eatingoutandpubs/index.shtml", "/localgroups/index.shtml", "/doresmerchandise/index.shtml", "/events/index.shtml", "/opinion/index.shtml")
		
		function getContainerName() {
			if (document.URL) {
				re = /\//
				URLcomponents = location.pathname.split(re)
				container = URLcomponents[1]
			}
			else {
				container = "Nothing"
			}
			return container
		}
		
		function makeQuickPickString(linkIndex)
		{
			linkName = linkNameArray[linkIndex]
			linkImageName = linkImageNameArray[linkIndex]
			expectedContainerName = expectedContainerNameArray[linkIndex]
			
			prefixImgString = "<img name=\"" + linkName + "\" src=\""
			suffixImgString = " width=\"120\" height=\"23\"\/><\/a>"
			if (getContainerName() == expectedContainerName)
			{
				outputString = prefixImgString + theStaticPath + linkImageName + "\"" + suffixImgString
			}
			else
			{
				outputString = "<a href=\"" + linkPathArray[linkIndex] + "\" onmouseover=\"" + linkName +".src='" + theDownPath + linkImageName + "'\" onmouseout=\"" + linkName + ".src='" + theUpPath + linkImageName + "'\">" + prefixImgString + theUpPath + linkImageName + "\"" + suffixImgString + "<img src='" + theDownPath + linkImageName + "' class='hiddenPic'\/>"
			}
			return "<li>" + outputString + "<\/li>"	 
		}
		
