function showHome(HomeID)
	{
		document.getElementById('Home' + HomeID).style.display = 'block';
	}
	
	function hideHome(HomeID)
	{
		document.getElementById('Home' + HomeID).style.display = 'none';
	}
	
	function showFeature(Feature, popup, e)
	{
		if(popup == 3){
			var posx = 0;
			var posy = 0;
			if (!e) var e = window.event;
			if (e.pageX || e.pageY) 	{
				posx = e.pageX;
				posy = e.pageY;
			}
			else if (e.clientX || e.clientY) 	{
				posx = e.clientX + document.body.scrollLeft
					+ document.documentElement.scrollLeft;
				posy = e.clientY + document.body.scrollTop
					+ document.documentElement.scrollTop;
			}
			
			document.getElementById('featureshelper3').style.left = posx + "px";
			document.getElementById('featureshelper3').style.top = (posy-15) + "px";
		}
		switch(Feature)
		{
			case 'pets':
				document.getElementById('featureshelper'+popup).innerHTML = '<img src="images/sym_pets.jpg" align="left" style="margin-right:5px;">This icon shows whether the selected care home allows you to have your own pets whilst you stay there...';
				break;
			case 'garden':
				document.getElementById('featureshelper'+popup).innerHTML = '<img src="images/sym_garden.jpg" align="left" style="margin-right:5px;">This icon shows whether the selected care home has its own private garden for your use...';
				break;
			case 'access':
				document.getElementById('featureshelper'+popup).innerHTML = '<img src="images/sym_access.jpg" align="left" style="margin-right:5px;">This icon shows whether the selected care home has special disabled access facilities such as ramps, lifts etc...';
				break;
			case 'diets':
				document.getElementById('featureshelper'+popup).innerHTML = '<img src="images/sym_diets.jpg" align="left" style="margin-right:5px;">This icon shows whether the selected care home can cater for your special food or dietary needs...';
				break;
			case 'languages':
				document.getElementById('featureshelper'+popup).innerHTML = '<img src="images/sym_languages.jpg" align="left" style="margin-right:5px;">This icon shows whether the selected care home has staff that can speak more than one langauge...';
				break;
			case 'placeofworship':
				document.getElementById('featureshelper'+popup).innerHTML = '<img src="images/sym_placeofworship.jpg" align="left" style="margin-right:5px;">This icon shows whether the selected care home has a special place for worship...';
				break;
			case 'activities':
				document.getElementById('featureshelper'+popup).innerHTML = '<img src="images/sym_activities.jpg" align="left" style="margin-right:5px;">This icon shows whether the selected care home arranges day trips, and other activities...';
				break;
			case "caretype":
				document.getElementById('featureshelper'+popup).innerHTML = 'This is the type of care that is required. Care Home Only selects care homes that do not provide direct nursing to the patient / resident. Care Home with nursing selects care homes that cater for my specialist needs that require direct nursing. Home Care selects home care agencies around your area that can provide care whilst still residing within own property.';
				break;
			case "specialcare":
				document.getElementById('featureshelper'+popup).innerHTML = 'This is the specific reason or illness that require you to have care. If this is not known yet then please select all types..';
				break;
			case "careduration":
				document.getElementById('featureshelper'+popup).innerHTML = 'This is the amount of time that care is required for. This can vary from a short term stay to a permanent residency..';
				break;
			case "roomtype":
				document.getElementById('featureshelper'+popup).innerHTML = 'This allows you to select whether you require a shared room with or without en-suite facilities..';
				break;
			case "closedcare":
				document.getElementById('featureshelper'+popup).innerHTML = 'A Close Care Unit is a seperate part of the care home where more intensive care or closer supervision may take place.';
				break;
				
			default:
				// do nothing;
		}
		
		document.getElementById('featureshelper'+popup).style.display = 'block';

	}
	
	function hideFeatures(popup)
	{
		document.getElementById('featureshelper'+popup).style.display = 'none';
	}