function toggleGroup(type,id_percorso,id_visore,divieto) {
	markerGroups = eval('markerGroups_'+id_visore+'_'+id_percorso);
 	for (var i = 0; i < markerGroups[type].length; i++) {
	    var marker = markerGroups[type][i];
	    if (marker.isHidden()) {
	    	document.getElementById(divieto).style.display = "none";
	      marker.show();
	    } else {
	    	document.getElementById(divieto).style.display = "block";
	      marker.hide();
	    }
	} 
}

function zoomOut (i,id_visore) {
	id_visore.setMapType(G_PHYSICAL_MAP);
	//id_visore.setCenter(latlngbounds.getCenter(),(id_visore.getBoundsZoomLevel(latlngbounds)-1));	
	id_visore.setCenter(new GLatLng(41.777777,12.392578), 5);				
}

function mostra_visore_spalla(attivo, disattivo1, disattivo2) {
	document.getElementById(attivo).style.display = "block";
	document.getElementById(disattivo1).style.display = "none";
	document.getElementById(disattivo2).style.display = "none";
}
