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("menuInfo").style.visibility="hidden";document.getElementById("chiese").style.visibility="hidden";document.getElementById("centri").style.visibility="hidden";document.getElementById("territorio").style.visibility="hidden";document.getElementById("tradizioni").style.visibility="hidden";document.getElementById("rifugi").style.visibility = "hidden";document.getElementById("alberghi").style.visibility = "hidden";document.getElementById("residence").style.visibility="hidden";document.getElementById("ristoranti").style.visibility = "hidden";document.getElementById("sport").style.visibility = "hidden";document.getElementById("servizi").style.visibility = "hidden";document.getElementById("menuStereoFot").style.visibility = "hidden";document.getElementById("piste").style.visibility = "hidden";//document.getElementById("mappa").style.visibility="hidden";//document.getElementById("arrivo").style.visibility="hidden";//document.getElementById("pulsantearrivo").value = "come arrivare";	}		function chiese(){nascondi();document.getElementById("chiese").style.visibility = "visible";  map.clearOverlays();map.setCenter(new GLatLng(46.449567225364746, 12.042303085327148), 14);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=100><tr><TD class=didascaliaN>" + nomeA[index]);  });  return marker;}for (var i = 0; i < 5; i++) {  var puntoA = pointA[i];  map.addOverlay(createMarker(puntoA, i));}}function centri(){nascondi();document.getElementById("centri").style.visibility = "visible";  map.clearOverlays();map.setCenter(new GLatLng(46.44909412950152, 12.051229476928711), 14);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=100><tr><TD class=didascaliaN>" + nomeB[index]);  });  return marker;}for (var i = 0; i < 5; i++) {  var puntoB = pointB[i];  map.addOverlay(createMarker(puntoB, i));}}function territorio(){nascondi();document.getElementById("territorio").style.visibility = "visible";document.getElementById("kmzPassi").style.visibility = "visible";  map.clearOverlays();map.setCenter(new GLatLng(46.48090067260593, 11.975784301757812), 11);map.setMapType(G_HYBRID_MAP);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);function createMarker(pointC, index) {  var icon = new GIcon(baseIcon); icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png";  var marker = new GMarker(pointC, icon);  GEvent.addListener(marker, "mouseover", function() {   marker.openInfoWindowHtml("<table width=200 height=100><tr><TD class=didascaliaN>" + nomeC[index]);  });  return marker;}for (var i = 4; i < 55; i++) {  var puntoC = pointC[i];  map.addOverlay(createMarker(puntoC, i));}}function alberghi(){nascondi();document.getElementById("alberghi").style.visibility = "visible";  map.clearOverlays();map.setCenter(new GLatLng(46.44179019074872, 12.061572074890137), 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(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=100><tr><TD class=didascaliaN>" + nomeE[index]);  });  return marker;}for (var i = 0; i < 13; i++) {  var puntoE = pointE[i];  map.addOverlay(createMarker(puntoE, i));}}function rifugi(){nascondi();document.getElementById("rifugi").style.visibility="visible";  map.clearOverlays();map.setCenter(new GLatLng(46.431468381150815, 12.061443328857422), 13);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=100><tr><TD class=didascaliaN>" + nome[index]);  });  return marker;}for (var i = 0; i < 10; i++) {  var punto = point[i];  map.addOverlay(createMarker(punto, i));}}function residence(){nascondi();document.getElementById("residence").style.visibility="visible";  map.clearOverlays();map.setCenter(new GLatLng(46.44208591579233, 12.063846588134766), 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(pointF, index) {  var icon = new GIcon(baseIcon);  icon.image = "http://labs.google.com/ridefinder/images/mm_20_yellow.png";  var marker = new GMarker(pointF, icon);  GEvent.addListener(marker, "mouseover", function() {   marker.openInfoWindowHtml("<table width=200 height=100><tr><TD class=didascaliaN>" + nomeF[index]);  });  return marker;}for (var i = 0; i < 11; i++) {  var puntoF = pointF[i];  map.addOverlay(createMarker(puntoF, i));}}function ristoranti(){nascondi();document.getElementById("ristoranti").style.visibility = "visible";  map.clearOverlays();map.setCenter(new GLatLng(46.44974463525406, 12.044792175292969), 14);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(pointG, index) {  var icon = new GIcon(baseIcon);  icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png";  var marker = new GMarker(pointG, icon);  GEvent.addListener(marker, "mouseover", function() {   marker.openInfoWindowHtml("<table width=200 height=100><tr><TD class=didascaliaN>" + nomeG[index]);  });  return marker;}for (var i = 0; i < 5; i++) {  var puntoG= pointG[i];  map.addOverlay(createMarker(puntoG, i));}}function sport(){nascondi();document.getElementById("sport").style.visibility = "visible";  map.clearOverlays();map.setCenter(new GLatLng(46.44152403683704, 12.059769630432129), 15);map.setMapType(G_HYBRID_MAP);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(pointL, index) {  var icon = new GIcon(baseIcon);  icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png";  var marker = new GMarker(pointL, icon);  GEvent.addListener(marker, "mouseover", function() {   marker.openInfoWindowHtml("<table width=200 height=100><tr><TD class=didascaliaN>" + nomeH[index]);  });  return marker;}for (var i = 0; i < 7; i++) {  var puntoH= pointH[i];  map.addOverlay(createMarker(puntoH, i));}}function servizi(){nascondi();document.getElementById("servizi").style.visibility = "visible";  map.clearOverlays();map.setCenter(new GLatLng(46.449685498688495, 12.039041519165039), 14);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(pointI, index) {  var icon = new GIcon(baseIcon);  icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png";  var marker = new GMarker(pointI, icon);  GEvent.addListener(marker, "mouseover", function() {   marker.openInfoWindowHtml("<table width=200 height=100><tr><TD class=didascaliaN>" + nomeI[index]);  });  return marker;}for (var i = 0; i < 21; i++) {  var puntoI= pointI[i];  map.addOverlay(createMarker(puntoI, i));}}function tradizioni(){nascondi();document.getElementById("tradizioni").style.visibility = "visible";}function passi(){nascondi();document.getElementById("servizi").style.visibility = "hidden";  map.clearOverlays();  map.setCenter(new GLatLng(46.53170525134736, 11.811332702636719), 12);  map.setMapType(G_HYBRID_MAP);  var geoXml =  new GGeoXml("http://stereofot.it/selva/dati/Dolomiti_4passi.kml");   map.addOverlay(geoXml);}function piste(){nascondi();document.getElementById("piste").style.visibility = "visible";document.getElementById("kmzCivetta").style.visibility="visible"; map.clearOverlays();  map.setCenter(new GLatLng(46.408392512405314, 12.071399688720703), 13);  map.setMapType(G_HYBRID_MAP);  var geoXml =  new GGeoXml("http://stereofot.it/selva/dati/Civetta_Sci.kml");   map.addOverlay(geoXml);}