
	var map;

	function makeMap() {
		if (GBrowserIsCompatible()) {
			var m = document.getElementById("google-map");

			// resize the map
			m.style.border = "1px solid #961d32";
			m.style.height = "448px";
			m.style.width  = "628px";

			// create the map
			map = new GMap(document.getElementById("google-map"));
			map.addControl(new GLargeMapControl());
			map.centerAndZoom(new GPoint(-1.08, 53.9595), 2);

			var point = new GPoint(-1.08, 53.9595);
			var mhtml = '';

			mhtml = '<div id="maggage">';
				mhtml += '<h4>Guest Walker &amp; Co Solicitors </h4>';
				mhtml += '<p>12a The Shambles<br/>York<br/>YO1 7LZ.<br/>t: 0800 587 2438</p>';
			mhtml += '</div>';

			var marker = createMarker(point, mhtml);
			map.addOverlay(marker);
			marker.openInfoWindowHtml(mhtml);
		}
		else
		{
			var m = document.getElementById("map");
			alert('Your Browser is not compatible with Google Maps');
		}
	}

	function createMarker(point,html) {
		// FF 1.5 fix
		// html = '<div style="white-space: nowrap;">' + html + '</div>';
		var marker = new GMarker(point);

		GEvent.addListener(marker, "click", function() {
			marker.openInfoWindowHtml(html);
		});

		return marker;
	}

