/**
* Code is copyright (c) 2010 Thinkings - http://www.thinkings.nl
* Google Maps code is copyright (c) 2010 Google Inc - http://www.google.com
*/
function initGoogleMap(target_id, address_string) {
    
    function GaNaarLocatie(longlat_string) {
        if(!longlat_string) {
            
        } else {
            var MBIcon = new GIcon(G_DEFAULT_ICON);
            MBIcon.image = "http://mb.thinkings.nl/img/mapsicon.png";
            var markerOptions = { icon:MBIcon };            
            
            map.setCenter(longlat_string, 13);
            map.addOverlay(new GMarker(longlat_string));
            map.addControl(new GLargeMapControl3D  );
        }        
    }
    
    var map = new GMap2(document.getElementById(target_id));
    map.enableScrollWheelZoom();
     
    var LongLat = new GClientGeocoder();
    LongLat.setBaseCountryCode('NL');
    LongLat.getLatLng(address_string, GaNaarLocatie); 
}