function getGoogleMapsCoordinates(table, id, address) {
	geocoder = new GClientGeocoder();
	
	var status = 0;
	
	/* alert(address); */
	
	geocoder.getLatLng(address, function(point) {
	if (!point) {
		alert('no point: ' + address);
		
	} else {
		var lat = point.y;
		var lng = point.x;
					
		status = 1;
		
		var data = '&table=' + table + '&id=' + id + '&lat=' + lat + '&lng=' + lng;
		/* alert(data); */
		
		$.ajax({
		   url: "/_actions/setGoogleMapsCoordinates.php",
		   type: "POST",
		   data: data,
		   
		   success: function(response) {
		   	/* alert('ok: ' + response); */
		   	
		   },
		   
		   complete: function(){
		   	
		   }
		});
	}
	});
	
	/* $('#test').html(id + '_' + address + '_' + status); */
}
