function getGoogleMapWithLocation(map_container, address, title , lat , lon ){
    if (GBrowserIsCompatible()) {
        var map = new GMap2(map_container);

        var customUI = map.getDefaultUI();
        customUI.maptypes.hybrid = false;
        customUI.maptypes.physical = false;
        map.setUI(customUI);

        map.enableContinuousZoom();
        map.enableScrollWheelZoom();


        var geocoder = new GClientGeocoder();

        geocoder.getLatLng(address, function(point){
            if (!point) {
                alert("Adresa '" + address + "' nenalezena.");
            } else {
                map.setCenter(point, 15);

                var marker = new GMarker(point);
                map.addOverlay(marker);
                if(title){
                    //marker.bindInfoWindowHtml(title);
                    marker.openInfoWindowHtml(title);
                    
                }
            }
        });
    }
}

