function mapInitialize(placeSearch) {
    geocoder = new google.maps.Geocoder();
    var myLatlng = new google.maps.LatLng(0, 0);
    var myOptions = {
        zoom: 6,
        center: myLatlng,
        mapTypeId: google.maps.MapTypeId.ROADMAP
    }
    var map = new google.maps.Map(document.getElementById("map"), myOptions);
    geocoder.geocode({'address': placeSearch}, function(results, status) {
        if (status == 'OK') {
            if (results[0]) {
                map.fitBounds(results[0].geometry.viewport);
            } else {
                alert("No results found: " + placeSearch);
            }
        } else {
            alert("Geocoder failed due to: " + status);
        }
    });
}

