function getGoogleMapWithLocation(map_container, address, title , lat , lon ){
    if (GBrowserIsCompatible()) {
        var map = new GMap2(map_container);
        map.addControl(new GSmallMapControl());
        var geocoder = new GClientGeocoder();

        geocoder.getLatLng(address, function(point){
            if (!point) {
                alert("Adresa '" + address + "' nenalezena.");
            } else {
                map.setCenter(point, 15);
                if(title){
                    var marker = new GMarker(point);
                    map.addOverlay(marker);
                    marker.openInfoWindowHtml(title);
                }
            }
        });
    }
}

