// JavaScript Document



    // addAddressToMap() is called when the geocoder returns an
    // answer.  It adds a marker to the map with an open info window
    // showing the nicely formatted version of the address and the country code.
 var island =",  Las Palmas, Spain";
  function showAddresstown(address) {
    geocoder.getLatLng(address  + island,function(point) {
        if (!point) {alert(address + " not found");}
			   else {
					 var markertown = new GMarker(point);
					 map.addOverlay(markertown);
					 markertown.openInfoWindowHtml("<h3><span class='iwstyle'>" + address + "</span></h3>",{maxWidth:50});
                    } 
				  }  
				    );
  }


	  
   function showAddress(address) {
    geocoder.getLatLng(address,function(point) {
        if (!point) {alert(address + " not found");}
			   else {
					 map.setCenter(point, 17);
					 map.setMapType(G_NORMAL_MAP); 
					 var marker = new GMarker(point);
					 map.addOverlay(marker);
					 marker.openInfoWindowHtml("<h3><span class='iwstyle'>" + address + "</span></h3>",{maxWidth:150});
                    } 
				  }  
				    );
					          }
