function terremoto(){nascondi();document.getElementById("rilievi").style.visibility = "visible";   map.clearOverlays();map.setCenter(new GLatLng(40.85744791303121, 15.9906005859375), 9);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(pointA, index) {  var icon = new GIcon(baseIcon); icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.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 = 0; i < 30; i++) {  var puntoA = pointA[i];  map.addOverlay(createMarker(puntoA, i));}}var finestraA = new Array();finestraA[0] = "";finestraA[1] = "";finestraA[2] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Pescopagano&-max=5&-find=";finestraA[3] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Pescopagano&-max=5&-skip=5&-find=";finestraA[4] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Pescopagano&-max=5&-skip=10&-find=";finestraA[5] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Pescopagano&-max=5&-skip=20&-find=";finestraA[6] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=S.%20Fele&-max=5&-find=";finestraA[7] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Bella&-max=5&-find=";finestraA[8] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Muro%20Lucano&-max=5&-find=";finestraA[9] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Muro%20Lucano&-max=5&-skip=5&-find=";finestraA[10] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Balvano&-max=5&-find=";finestraA[11] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Tito&-max=5&-find=";finestraA[12] = " http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Pignola&-max=5&-find=";finestraA[13] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Pignola&-max=5&-skip=30&-find=";finestraA[14] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Pignola&-max=5&-skip=25&-find=";finestraA[15] = "";finestraA[16] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Trivigno&-max=5&-find=";finestraA[17] = " http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Tricarico&-max=5&-skip=10&-find=";finestraA[18] = " http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Tricarico&-max=5&-find=";finestraA[19] = "";finestraA[20] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Pietragalla&-max=5&-find=";finestraA[21] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Acerenza&-max=5&-find=";finestraA[22] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Ripacandida&-max=5&-find=";finestraA[23] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Grassano&-max=5&-find=";finestraA[24] = "";finestraA[25] = "";finestraA[26] = "";finestraA[27] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Montescaglioso&-max=5&-find=";finestraA[28] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Maschito&-max=5&-find=";finestraA[29] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&luogo=Venosa&-max=5&-skip=5&-find="; function vaiA(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(finestraA[number], "Rilievi", winOpts);     win1.focus();} var pointA = new Array();pointA[0] = new GLatLng (40.927829349277154, 15.176732540130615) ;pointA[1] = new GLatLng (40.87737447749072, 15.188448429107666);//PescopaganopointA[2] = new GLatLng (40.830834656035016, 15.403711795806885);pointA[3] = new GLatLng (40.83577827397769, 15.39881944656372);pointA[4] = new GLatLng (40.83600555789301, 15.39858341217041);pointA[5] = new GLatLng (40.83203609462971, 15.39557933807373);pointA[6] = new GLatLng (40.81822635589172, 15.538959503173828);pointA[7] = new GLatLng (40.757058760043925, 15.5366849899292);pointA[8] = new GLatLng (40.7537428908686, 15.487546920776367);pointA[9] = new GLatLng (40.753547834590336, 15.487890243530273);pointA[10] = new GLatLng (40.65117010735366, 15.512164235115051);pointA[11] = new GLatLng (40.58238545018073, 15.675076246261597);//PignolapointA[12] = new GLatLng (40.752523779741054, 15.483813285827637);pointA[13] = new GLatLng (40.575361295519784, 15.788244009017944);pointA[14] = new GLatLng (40.572725010026744, 15.786972641944885);pointA[15] = new GLatLng (40.50714304517334, 15.815978050231934);pointA[16] = new GLatLng (40.57968832720776, 15.988626480102539);//TricaricopointA[17] = new GLatLng (40.61805709111454, 16.149001121520996);pointA[18] = new GLatLng (40.62076081005284, 16.146790981292725);pointA[19] = new GLatLng (40.73145400909696, 15.923159122467041);pointA[20] = new GLatLng (40.74748454993713, 15.880951881408691);pointA[21] = new GLatLng (40.79686877766466, 15.940711498260498);pointA[22] = new GLatLng (40.91095047083101, 15.723366737365723);pointA[23] = new GLatLng (40.63214454645504, 16.28178119659424);pointA[24] = new GLatLng (40.60193022997035, 16.38411283493042);pointA[25] = new GLatLng (40.52730511181691, 16.319074630737305);pointA[26] = new GLatLng (40.66770011207232, 16.60607099533081);pointA[27] = new GLatLng (40.55364042191904, 16.66604518890381)pointA[28] = new GLatLng (40.9052096972736, 15.829238891601562);pointA[29] = new GLatLng (40.96178482317488, 15.819926261901855);var nomeA = new Array();nomeA[0] = "  Sant'Angelo dei Lombardi<BR>Chiesa Madre </B> <BR>rilievi del 1980</td><td></td></tr></table>";nomeA[1] = " Lioni <BR>Chiesa Madre</B> <BR>rilievi del 1980</td><td></td></tr></table>";//PescopaganonomeA[2] = " <A HREF=javascript:vaiA(2)>Pescopagano</B><BR>Chiesetta della SS.Incoronata</A> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/PescopaganoI.jpg'  border=1></td></tr></table>";nomeA[3] = " <A HREF=javascript:vaiA(3)>Pescopagano</B><BR>Chiesa Madre</A>  <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/PescopaganoM.jpg'  border=1></td></tr></table>";nomeA[4] = " <A HREF=javascript:vaiA(4)>Pescopagano</B><BR>Chiesa di S.Lorenzo </B> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/PescopaganoSL.jpg'  border=1></td></tr></table>";nomeA[5] = " <A HREF=javascript:vaiA(5)>Pescopagano</B><BR>Chiesetta di S.Vito </B> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/PescopaganoSV.jpg'  border=1></td></tr></table>";nomeA[6] = " <A HREF=javascript:vaiA(6)>San Fele</B><BR>Chiesa Madre</A> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/SFele.jpg'  border=1></td></tr></table>";nomeA[7] = " <A HREF=javascript:vaiA(7)>Bella</B></A> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/Bella.jpg'  border=1></td></tr></table>";nomeA[8] = " <A HREF=javascript:vaiA(8)>Muro Lucano</B><BR>Chiesa Madre</A> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/MuroLucanoM.jpg'  border=1></td></tr></table>";nomeA[9] = " <A HREF=javascript:vaiA(9)>Muro Lucanov<BR>Castello</A> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/C.jpg'  border=1></td></tr></table>";nomeA[10] = " <A HREF=javascript:vaiA(10)>Balvano</B><BR>Chiesa Madre</A> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/Balvano.jpg'  border=1></td></tr></table>";nomeA[11] = " <A HREF=javascript:vaiA(11)>Tito</B><BR>Chiesa Madre</A> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/Tito.jpg'  border=1></td></tr></table>";//PignolanomeA[12] = " <A HREF=javascript:vaiA(12)>Pescopagano</B><BR>Chiesa del Pantano</A> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/PantanoP.jpg'  border=1></td></tr></table>";nomeA[13] = " <A HREF=javascript:vaiA(13)></B><BR>Chiesa Madre</A> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/PignolaM.jpg'  border=1></td></tr></table>";nomeA[14] = " <A HREF=javascript:vaiA(14)></B><BR>Torre dell'orologio</A> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/PignolaT.jpg'  border=1></td></tr></table>";nomeA[15] = " <A HREF=javascript:vaiA(15)>Abriola </B><BR>chiesa Madre</A> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/abriola.jpg'  border=1> </td></tr></table>";nomeA[16] = " <A HREF=javascript:vaiA(16)>Trivigno</A></B><BR> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/Trivigno.jpg'  border=1></td></tr></table>";//TricariconomeA[17] = " <A HREF=javascript:vaiA(17)>Tricarico<BR>chiesa di S.Francesco</A> </B><BR><BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/TricaricoSF.jpg'  border=1></td></tr></table>";nomeA[18] = " <A HREF=javascript:vaiA(18)>Tricarico<BR>Convento di S.Chiara</A> </B><BR><BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/TricaricoC.jpg'  border=1></td></tr></table>";nomeA[19] = " Cancellara<BR>Chiesa Madre</B> <BR>rilievi del 1980</td><td></td></tr></table>";nomeA[20] = " <A HREF=javascript:vaiA(20)>Pietragalla<BR>Palazzo ducale</A></B><BR> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/pietragalla.jpg'  border=1></td></tr></table>";nomeA[21] = " <A HREF=javascript:vaiA(21)>Acerenza<BR>Cattedrale</A> </B><BR><BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/Acerenza.jpg'  border=1></td></tr></table>";nomeA[22] = " <A HREF=javascript:vaiA(22)>Ripacandida</A></B><BR> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/Ripacandida.jpg'  border=1></td></tr></table>";nomeA[23] = " <A HREF=javascript:vaiA(23)>Grassano</B><BR>Campanile- Ferri - Materi_- Calia- Ruggeri</A> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/Grassano.jpg'  border=1></td></tr></table>";nomeA[24] = " Grottole </B><BR>Chiesa di Ruta <BR>rilievi del 1980</td><td> </td></tr></table>";nomeA[25] = " Salandra </B> <BR>rilievi del 1980</td><td> </td></tr></table>";nomeA[26] = " Matera </B> <BR>rilievi del 1980</td><td> </td></tr></table>";nomeA[27] = " <A HREF=javascript:vaiA(27)>Montescaglioso<BR>Chiesa Madre</A></B><BR> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/Montescalioso.jpg'  border=1></td></tr></table>";nomeA[28] = " <A HREF=javascript:vaiA(28)>Maschito<BR>Chiesa Madre</A></B><BR> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/maschito.jpg'  border=1></td></tr></table>";nomeA[29] = " <A HREF=javascript:vaiA(28)>Venosa<BR>Chiesa del Purgatorio</A></B><BR> <BR>rilievi del 1980</td><td><img src='immagini/imgTerremoto/maschito.jpg'  border=1></td></tr></table>";function segnoA(number) {document.getElementById('rilievi').style.visibility = "hidden";  map.clearOverlays();map.setZoom(16);window.setTimeout(function() {  map.panTo(pointA[number]);}, 1000);  var marker = createMarker(pointA[number], nomeA[number]); var tabs = "<table width=200 height=90><tr><TD> <b>" + nomeA[number] ;// Place a marker in the center of the map and open the info window// automatically var marker = new GMarker(pointA[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>" + nomeA[number] );  });}// Creates a marker whose info window displays the given numberfunction createMarker(pointA, number) {  var marker = new GMarker(pointA);  return marker;}
