function wagt_map_1(azienda_nome,azienda_via,azienda_citta,azienda_cap) {
  if(GBrowserIsCompatible()) {
    if (!document.getElementById('wagt_map_1')) {return false;};
    
    var geocoder = new GClientGeocoder();
	var address_0 = {
	  street: azienda_via,
      city: azienda_citta,
      state: '',
      zip: '',
      country: 'italia',
      infowindow: 'default',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: #000;">'+azienda_nome+'</span>',
	  full: azienda_citta+','+azienda_via+','+azienda_cap,
      isdefault: true
    };
	
	geocoder.getLatLng (
      address_0.full,
      function(point) {
        if(point) {
		  var map = new GMap2(document.getElementById('wagt_map_1'));
		  map.enableContinuousZoom();
		  map.enableDoubleClickZoom();
		  map.addControl(new GSmallMapControl());
		  map.addControl(new GMapTypeControl());
          map.setCenter(point, 13);
          var marker = new GMarker(point, icon);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_0.infowindowtext);
          });
          map.addOverlay(marker);
          marker.openInfoWindowHtml(address_0.infowindowtext);
        } else {
			$('#wagt_map_1').hide(); 
		}
      }
    );
	
    
    var icon = new GIcon();
    var markerStyle = 'Google Traditional (flat)';
    var markerColor = 'Pacifica';
    icon.image = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.png';
    icon.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
    icon.iconSize = new GSize(34,35);
    icon.shadowSize = new GSize(34,35);
    icon.iconAnchor = new GPoint(9,23);
    icon.infoWindowAnchor = new GPoint(19,0);
    icon.printImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.gif';
    icon.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_mozprint.png';
    icon.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
    icon.transparent = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_transparent.png';
   }
}