			function displayMap(){

				var point;
				var marker;
				var html;
				var map;

if (document.getElementById("map") != null){

				map = new GMap(document.getElementById("map"));

				map.addControl(new GSmallMapControl());

				html = "Cornerways Guest House"

				if (queryValue("map") != null){

					if (queryValue("map") == "1"){

						map.centerAndZoom(new GPoint(-2.927192, 54.894165), 12);

					}else{

						if (queryValue("map") == "2"){

							map.centerAndZoom(new GPoint(-2.927192, 54.894165),9);

						}else{

							if (queryValue("map") == "3"){

									point = new GPoint(-2.927192, 54.894165);
									marker = new GMarker(point);

									map.centerAndZoom(point, 4);
									map.addOverlay(marker);


							}else{
								if (queryValue("map") == "4"){

									point = new GPoint(-2.927192, 54.894165);
									marker = new GMarker(point);


									map.centerAndZoom(point, 2);
									map.addOverlay(marker);


								}else{
									map.centerAndZoom(new GPoint(-2.927192, 54.894165), 9);
								}

							}
						}
					}

				}else{

					map.centerAndZoom(new GPoint(-2.927192, 54.894165), 9);

				}

			}
}