    function googleMapInit() {
      if (GBrowserIsCompatible()) {
        var mapBcn = null;
        var geocoderBcn = null;
        var addressBcn="Muntaner, 48, Barcelona, ES";
        var addressDescriptionBcn="Muntaner, 48-50, 3-2<br>08011 - Barcelona<br>Telf. 934 548 559 - Fax. 934 547 651<br>Mail: <a href=mailto:inout@inoutsl.com>inout@inoutsl.com</a>";
        mapBcn = new GMap2(document.getElementById("map_canvas_Barcelona"),{size:new GSize(560,300)});
        geocoderBcn = new GClientGeocoder();
        //map.setCenter(new GLatLng(0, 0), 16);
        showAddress(mapBcn, geocoderBcn, addressBcn, addressDescriptionBcn);
        mapBcn.addControl(new GSmallMapControl());

        mapMad = new GMap2(document.getElementById("map_canvas_Madrid"),{size:new GSize(560,300)});
        geocoderMad = new GClientGeocoder();
        //map.setCenter(new GLatLng(0, 0), 16);
        var address="Velazquez, 157, Madrid, ES";
        var addressDescription="Velazquez, 157, 1a Planta<br>28002 - Madrid<br>Telf. 902 10 96 86 - Fax. 915 245 819<br>Mail: <a href=mailto:inoutmadrid@inoutsl.com>inoutmadrid@inoutsl.com</a>";
        showAddress(mapMad, geocoderMad, address, addressDescription);
        mapMad.addControl(new GSmallMapControl());
      }
    }

    function showAddress(map, geocoder, address, addressDescription) {
      if (geocoder) {
        geocoder.getLatLng(
          address,
          function(point) {
            if (point) {
              map.setCenter(point, 16);
              var marker = new GMarker(point);
              map.addOverlay(marker);
              GEvent.addListener(marker, "click", function() {
                  marker.openInfoWindowHtml(addressDescription);
              });
              //marker.openInfoWindowHtml(addressDescription);
              //marker.openInfoWindowHtml('prueba');
            }
          }
        );
      }
    }

