	
	function loadGoogleMap() {
		//<![CDATA[

		// Check to see if this browser can run the Google API
		if (GBrowserIsCompatible()) {

			var gmarkers = [];
			var htmls = [];
			var to_htmls = [];
			var from_htmls = [];

			// A function to create the marker and set up the event window
			function createMarker( point, pc, h2 ) {
				var marker = new GMarker(point);
				var pc1 = pc;
				var h21 = h2;

				// The info window version with the "to here" form open
				html = 	'<div id="bubble">' +
							'<h2>' + h21 + '</h2>' + 
							'<label for="postcode">' +
								'For travel directions, enter your postcode and click "Get Directions".' +
							'</label>' +
							'<form action="http://maps.google.co.uk/maps" method="get">' +
								'<input type="text" size="12" name="saddr" id="postcode" value="" /> ' +
								'<input value="Get Directions" type="submit" id="directionSubmit" />' +
								'<input type="hidden" id="daddr" name="daddr" value="' +pc1+ '" />' +
							'</form>' +
						'</div>';
				
				
				GEvent.addListener(marker, "click", function() {
					marker.openInfoWindowHtml(html);
				});
				
				gmarkers[0] = marker;
				htmls[0] = html;
				return marker;
			}

			// Display the map, with some controls and set the initial location 
			var map = new GMap2(document.getElementById("map") );
			map.addControl(new GLargeMapControl());
			map.addControl(new GMapTypeControl());
			
			map.setCenter(new GLatLng( 53.8125227, -1.53198066 ), 14);

			
			
			
			
			var point = new GLatLng( 53.8163001498648, -1.53194291549875 );
			var markerCEC = new GMarker( point );
			GEvent.addListener( markerCEC, 
								'click', 
								function() {
									markerCEC.openInfoWindowHtml( 
										'<div id="bubble">' +
											'<h2>Chapeltown Enterprise Centre</h2>' + 
											'<label for="postcode">' +
												'For travel directions, enter your postcode and click "Get Directions".' +
											'</label>' +
											'<form action="http://maps.google.co.uk/maps" method="get">' +
												'<input type="text" size="12" name="saddr" id="postcode" value="" /> ' +
												'<input value="Get Directions" type="submit" id="directionSubmit" />' +
												'<input type="hidden" id="daddr" name="daddr" value="LS7 3DX" />' +
											'</form>' +
										'</div>'
									);} );
			map.addOverlay(markerCEC);
			
			
			
			
			
			//CEC - LS7 3DX
		//	var point1 = new GLatLng( 53.8163001498648, -1.53194291549875 );
			//var marker1 = createMarker(point1, "LS7 3DX", "Chapeltown Enterprise Centre");
			//map.addOverlay(marker1);
			
			//UBC - LS7 1AB
			//var point2 = new GLatLng( 53.8087451822706, -1.53201839719598 );
			//var marker2 = createMarker(point2, "LS7 1AB", "Unity Business Centre");
			//map.addOverlay(marker2);
			
			
			var point = new GLatLng( 53.8087451822706, -1.53201839719598 );
			var markerUBC = new GMarker( point );
			GEvent.addListener( markerUBC, 
								'click', 
								function() {
									markerUBC.openInfoWindowHtml( 
										'<div id="bubble">' +
											'<h2>Unity Business Centre</h2>' + 
											'<label for="postcode">' +
												'For travel directions, enter your postcode and click "Get Directions".' +
											'</label>' +
											'<form action="http://maps.google.co.uk/maps" method="get">' +
												'<input type="text" size="12" name="saddr" id="postcode" value="" /> ' +
												'<input value="Get Directions" type="submit" id="directionSubmit" />' +
												'<input type="hidden" id="daddr" name="daddr" value="LS7 1AB" />' +
											'</form>' +
										'</div>'
									);} );
			map.addOverlay(markerUBC);
			
			
			
			
			var point = new GLatLng( 53.8126078996963, -1.5357199864983 );
			var markerLMC = new GMarker( point );
			GEvent.addListener( markerLMC, 
								'click', 
								function() {
									markerLMC.openInfoWindowHtml( 
										'<div id="bubble">' +
											'<h2>Leeds Media Centre</h2>' + 
											'<label for="postcode">' +
												'For travel directions, enter your postcode and click "Get Directions".' +
											'</label>' +
											'<form action="http://maps.google.co.uk/maps" method="get">' +
												'<input type="text" size="12" name="saddr" id="postcode" value="" /> ' +
												'<input value="Get Directions" type="submit" id="directionSubmit" />' +
												'<input type="hidden" id="daddr" name="daddr" value="LS7 3HZ" />' +
											'</form>' +
										'</div>'
									);} );
			map.addOverlay(markerLMC);

		} else {
		
		}
	
	}//EOM loadGoogleMap