function menuStereofot() {if(document.getElementById("menuStereoFot").style.visibility == "hidden"){nascondi();document.getElementById("menuStereoFot").style.visibility = "visible";	} else{	document.getElementById("menuStereoFot").style.visibility = "hidden";	}		}	function menuInfo() {if(document.getElementById("menuInfo").style.visibility == "hidden"){nascondi();document.getElementById("menuInfo").style.visibility = "visible";} else{document.getElementById("menuInfo").style.visibility = "hidden";}}function nascondi() {document.getElementById('monumenti').style.visibility = "hidden";document.getElementById('territorio').style.visibility = "hidden";document.getElementById('servizi').style.visibility = "hidden";document.getElementById('vie').style.visibility = "hidden";document.getElementById('botteghe').style.visibility = "hidden";document.getElementById('porte').style.visibility = "hidden";document.getElementById("menuStereoFot").style.visibility = "hidden";document.getElementById("menuInfo").style.visibility = "hidden";	}function monumenti(){nascondi();document.getElementById('monumenti').style.visibility = "visible";  map.clearOverlays();map.setCenter(new GLatLng(41.80922837928007, 15.160961151123047), 15);map.setMapType(G_SATELLITE_MAP);// Create a base icon for all of our markers that specifies the// shadow, icon dimensions, etc.var baseIcon = new GIcon();baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";baseIcon.iconSize = new GSize(15, 20);baseIcon.shadowSize = new GSize(20, 20);baseIcon.iconAnchor = new GPoint(9, 20);baseIcon.infoWindowAnchor = new GPoint(9, 2);baseIcon.infoShadowAnchor = new GPoint(18, 25);// Creates a marker whose info window displays the letter corresponding// to the given index.function createMarker(pointA, index) {  var icon = new GIcon(baseIcon); icon.image = "http://labs.google.com/ridefinder/images/mm_20_green.png";  var marker = new GMarker(pointA, icon);  GEvent.addListener(marker, "mouseover", function() {   marker.openInfoWindowHtml("<table width=200 height=90><tr><TD> <b>" + nomeA[index]);  });  return marker;}for (var i = 1; i < 10; i++) {  var puntoA = pointA[i];  map.addOverlay(createMarker(puntoA, i));}}function territorio(){nascondi();document.getElementById('territorio').style.visibility = "visible";  map.clearOverlays();map.setCenter(new GLatLng(41.81891993477623, 15.19683837890625), 11);map.setMapType(G_HYBRID_MAP);// Create a base icon for all of our markers that specifies the// shadow, icon dimensions, etc.var baseIcon = new GIcon();baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";baseIcon.iconSize = new GSize(15, 20);baseIcon.shadowSize = new GSize(20, 20);baseIcon.iconAnchor = new GPoint(9, 20);baseIcon.infoWindowAnchor = new GPoint(9, 2);baseIcon.infoShadowAnchor = new GPoint(18, 25);// Creates a marker whose info window displays the letter corresponding// to the given index.function createMarker(pointB, index) {  var icon = new GIcon(baseIcon); icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png";  var marker = new GMarker(pointB, icon);  GEvent.addListener(marker, "mouseover", function() {   marker.openInfoWindowHtml("<table width=200 height=90><tr><TD> <b>" + nomeB[index]);  });  return marker;}for (var i = 0; i < 12; i++) {  var puntoB = pointB[i];  map.addOverlay(createMarker(puntoB, i));}}function servizi(){nascondi();document.getElementById('servizi').style.visibility = "visible";  map.clearOverlays();map.setCenter(new GLatLng(41.80922837928007, 15.160961151123047), 15);map.setMapType(G_HYBRID_MAP);// Create a base icon for all of our markers that specifies the// shadow, icon dimensions, etc.var baseIcon = new GIcon();baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";baseIcon.iconSize = new GSize(15, 20);baseIcon.shadowSize = new GSize(20, 20);baseIcon.iconAnchor = new GPoint(9, 20);baseIcon.infoWindowAnchor = new GPoint(9, 2);baseIcon.infoShadowAnchor = new GPoint(18, 25);// Creates a marker whose info window displays the letter corresponding// to the given index.function createMarker(point, index) {  var icon = new GIcon(baseIcon); icon.image = "http://labs.google.com/ridefinder/images/mm_20_yellow.png";  var marker = new GMarker(point, icon);  GEvent.addListener(marker, "mouseover", function() {   marker.openInfoWindowHtml("<table width=200 height=90><tr><TD> <b>" + nome[index]);  });  return marker;}for (var i = 0; i < 9; i++) {  var punto = point[i];  map.addOverlay(createMarker(punto, i));}}function vie(){nascondi();document.getElementById('vie').style.visibility = "visible";  map.clearOverlays();map.setCenter(new GLatLng(41.804925882225845, 15.158858299255371), 16);map.setMapType(G_HYBRID_MAP);// Create a base icon for all of our markers that specifies the// shadow, icon dimensions, etc.var baseIcon = new GIcon();baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";baseIcon.iconSize = new GSize(15, 20);baseIcon.shadowSize = new GSize(20, 20);baseIcon.iconAnchor = new GPoint(9, 20);baseIcon.infoWindowAnchor = new GPoint(9, 2);baseIcon.infoShadowAnchor = new GPoint(18, 25);// Creates a marker whose info window displays the letter corresponding// to the given index.function createMarker(pointC, index) {  var icon = new GIcon(baseIcon); icon.image = "http://labs.google.com/ridefinder/images/mm_20_green.png";  var marker = new GMarker(pointC, icon);  GEvent.addListener(marker, "mouseover", function() {   marker.openInfoWindowHtml("<table width=200 height=90><tr><TD> <b>" + nomeC[index]);  });  return marker;}for (var i = 0; i < 10; i++) {  var puntoC = pointC[i];  map.addOverlay(createMarker(puntoC, i));}}function botteghe(){nascondi();document.getElementById('botteghe').style.visibility = "visible";  map.clearOverlays();map.setCenter(new GLatLng(41.80419011030532, 15.158826112747192), 18);map.setMapType(G_SATELLITE_MAP);// Create a base icon for all of our markers that specifies the// shadow, icon dimensions, etc.var baseIcon = new GIcon();baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";baseIcon.iconSize = new GSize(20, 20);baseIcon.shadowSize = new GSize(30, 30);baseIcon.iconAnchor = new GPoint(9, 20);baseIcon.infoWindowAnchor = new GPoint(9, 2);baseIcon.infoShadowAnchor = new GPoint(18, 25);// Creates a marker whose info window displays the letter corresponding// to the given index.function createMarker(pointE, index) {  var icon = new GIcon(baseIcon); icon.image = "http://labs.google.com/ridefinder/images/mm_20_orange.png";  var marker = new GMarker(pointE, icon);  GEvent.addListener(marker, "mouseover", function() {   marker.openInfoWindowHtml("<table width=200 height=90><tr><TD> <b>" + nomeE[index]);  });  return marker;}for (var i = 0; i < 4; i++) {  var puntoE = pointE[i];  map.addOverlay(createMarker(puntoE, i));}}function porte(){nascondi();document.getElementById('porte').style.visibility = "visible";  map.clearOverlays();map.setCenter(new GLatLng(41.80355829941337, 15.158482789993286), 17);map.setMapType(G_SATELLITE_MAP);// Create a base icon for all of our markers that specifies the// shadow, icon dimensions, etc.var baseIcon = new GIcon();baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";baseIcon.iconSize = new GSize(20, 30);baseIcon.shadowSize = new GSize(20, 20);baseIcon.iconAnchor = new GPoint(9, 20);baseIcon.infoWindowAnchor = new GPoint(9, 2);baseIcon.infoShadowAnchor = new GPoint(18, 25);// Creates a marker whose info window displays the letter corresponding// to the given index.function createMarker(pointF, index) {  var icon = new GIcon(baseIcon); icon.image = "http://labs.google.com/ridefinder/images/mm_20_green.png";  var marker = new GMarker(pointF, icon);  GEvent.addListener(marker, "mouseover", function() {   marker.openInfoWindowHtml("<table width=250 height=90><tr><TD> <b>" + nomeF[index]);  });  return marker;}for (var i = 0; i < 7; i++) {  var puntoF = pointF[i];  map.addOverlay(createMarker(puntoF, i));}}