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(43.453398,10.375873), 15, G_HYBRID_MAP);
var marker = new GMarker(new GLatLng(43.453398,10.375873))
map.addOverlay(marker);
marker.openInfoWindowHtml("La Rosa del Tirreno
Via del Littoriale 547 - 57128 Quercianella (LI)");
gdir = new GDirections(map, document.getElementById("directions"));
}
}
function setDirections(fromAddress) {
locale="it";
gdir.load("from: " + fromAddress + " to: 43.453398,10.375873");
}