var map;
var gdir;
var geocoder = null;
var addressMarker;
function initialize() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("mappadove"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(42.962525,11.04332), 15, G_HYBRID_MAP);
var marker = new GMarker(new GLatLng(42.962525,11.04332))
map.addOverlay(marker);
marker.openInfoWindowHtml("Maremmalta
Via Aurelia Nord, 98 - 58100 Grosseto (GR)");
gdir = new GDirections(map, document.getElementById("directions"));
}
}
function setDirections(fromAddress) {
locale="en";
gdir.load("from: " + fromAddress + " to: 42.962525,11.04332");
}