	var addressesObj = {
		"addresses" : [					
			{'address' : '1130 Lincoln Way #6 Auburn, CA 95603'}
		]
	};
	
  function doGMap(dataObj) {
  	if (GBrowserIsCompatible()) {
  		var geocoder = new GClientGeocoder();
  		for (var i = 0; i < dataObj.addresses.length; i++) {
  			geocoder.getLocations(dataObj.addresses[i].address, function(response) {
  				if (!response || response.Status.code != 200) {
  					//alert("Sorry, we were unable to geocode that address");
  				} else {
  					var place = response.Placemark[0];
  					var point = new GLatLng(place.Point.coordinates[1], place.Point.coordinates[0]);
  					//var marker = new GMarker(point, icon);
  					var marker = new GMarker(point);
  					map = new GMap2(document.getElementById('location_map'));
  					map.addControl(new GSmallMapControl());
  					map.addControl(new GMapTypeControl());
  					map.setCenter(new GLatLng(37.4419, -122.1419), 13);
  					//map.setMapType(G_HYBRID_MAP);
  					map.addOverlay(marker);
  					map.setCenter(new GLatLng(place.Point.coordinates[1], place.Point.coordinates[0]), 16);
  				}
  			});
  		}
  	}
  }
  
  function makeGMap() {
  	doGMap(addressesObj);
  }
