function romania(){nascondi();document.getElementById("rilievi").style.visibility = "visible";  map.clearOverlays(); map.setCenter(new GLatLng(45.786679041363726, 24.56817626953125), 10);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(pointD, index) {  var icon = new GIcon(baseIcon); icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png";  var marker = new GMarker(pointD, icon);  GEvent.addListener(marker, "mouseover", function() {   marker.openInfoWindowHtml("<table width=200 height=90><tr><TD> <b>" + nomeD[index]);  });  return marker;}for (var i = 0; i < 1; i++) {  var puntoD = pointD[i];  map.addOverlay(createMarker(puntoD, i));}}var finestraD = new Array();finestraD[0] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=Sibiu&-max=5&-find="; function vaiD(number) {	if (number == null) {         alert("Questo documento non esiste!");         return;      }  var winOpts = "menubar=yes,status=yes,Toolbar=no,location=no,scrollbars=yes,resizable=yes,height=640,width=1100"      win1= window.open(finestraD[number], "Rilievi", winOpts);     win1.focus();}var sitoD = new Array();sitoD[0] = "http://rilievo.stereofot.it/romania/fotarch.html"; function sitD(number) {	if (number == null) {         alert("Questo documento non esiste!");         return;      }  var winOpts = "menubar=yes,status=yes,Toolbar=no,location=no,scrollbars=yes,resizable=yes,height=640,width=1100"      win1= window.open(sitoD[number], "Rilievi", winOpts);     win1.focus();}var mappaD = new Array();mappaD[0] = "satellite/mappe/cirta.html"; function mapD(number) {	if (number == null) {         alert("Questo documento non esiste!");         return;      }  var winOpts = "menubar=yes,status=yes,Toolbar=no,location=no,scrollbars=yes,resizable=yes,height=620,width=820"      win1= window.open(mappaD[number], "Mappe", winOpts);     win1.focus();} var pointD = new Array();pointD[0] = new GLatLng (45.791137871681485, 24.56813335418701) ;var nomeD = new Array();nomeD[0] = " <A HREF=javascript:vaiD(0)>Chiesa Cirta</B></A><BR><BR><span class=didascalia><A HREF=javascript:sitD(0)>sito web</A> <A HREF=javascript:mapD(0)>- mappa</A></span></td><td><img src=immagini/imgRO/cirta.png  border=1></td></tr></table>";function segnoD(number){ document.getElementById('rilievi').style.visibility = "hidden";  map.clearOverlays();map.setZoom(15);window.setTimeout(function() {  map.panTo(pointD[number]);}, 1000);  var marker = createMarker(pointD[number], nomeD[number]); var tabs = "<table width=200 height=90><tr><TD> <b>" + nomeD[number] ;// Place a marker in the center of the map and open the info window// automatically var marker = new GMarker(pointD[number]); map.addOverlay(marker);  marker.openInfoWindowHtml(tabs,3);map.setMapType(G_HYBRID_MAP);GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml("<table width=300 height=90><tr><TD nowrap class=testo> <b>" + nomeD[number] );  });}// Creates a marker whose info window displays the given numberfunction createMarker(pointD, number) {  var marker = new GMarker(pointD);  return marker;}
