var map;
var geocoder;

function addAddressToMap(response) {    
  if (!response || response.Status.code != 200) {
    //alert("Sorry, we were unable to geocode that address");
  } else {
    place = response.Placemark[0];
    point = new GLatLng(place.Point.coordinates[1],
                        place.Point.coordinates[0]);
    marker = new GMarker(point);
    map.addOverlay(marker);
    map.setCenter(point, 10);
    //marker.openInfoWindowHtml(place.address + '<br>' + '<b>Country code:</b> ' + place.AddressDetails.Country.CountryNameCode);
  }
}

function showLocation(address) {
  geocoder.getLocations(address, addAddressToMap);
}

var RecaptchaOptions = { theme : 'clean' };
