function bari(){nascondi;document.getElementById("rilievi").style.visibility = "visible";  map.clearOverlays(); map.setCenter(new GLatLng(41.20345619205129, 16.87225341796875), 9);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 < 14; i++) {  var puntoB = pointB[i];  map.addOverlay(createMarker(puntoB, i));}}var finestraB = new Array();finestraB[0] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-find=";finestraB[1] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-skip=5&-find=";finestraB[2] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-skip=15&-find=";finestraB[3] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-skip=15&-find=";finestraB[4] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-skip=20&-find=";finestraB[5] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-skip=30&-find=";finestraB[6] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-skip=35&-find=";finestraB[7] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-skip=50&-find=";finestraB[8] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-skip=85&-find=";finestraB[9] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-skip=90&-find=";finestraB[10] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-skip=95&-find=";finestraB[11] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-skip=100&-find=";finestraB[12] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-skip=125&-find=";finestraB[13] = "http://rappresentazione.stereofot.it:591/StereoFot/FMPro?-db=stereofot.fp5&-format=formatist24.htm&-lay=scheda&provincia=BA&-max=5&-skip=125&-find="; function vaiB(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(finestraB[number], "Rilievi", winOpts);     win1.focus();} var pointB = new Array();pointB[0] = new GLatLng (40.87873731327488, 17.154539823532104) ;pointB[1] = new GLatLng (41.31959132214425, 16.280150413513184);pointB[2] = new GLatLng (41.319228721575136, 16.286528706550598);pointB[3] = new GLatLng (40.783758480222595, 17.246174812316895) ;pointB[4] = new GLatLng (41.128358678807196, 16.870579719543457);pointB[5] = new GLatLng (41.20119596224855, 16.48627281188965);pointB[6] = new GLatLng (41.128455655130765, 16.868863105773926) ;pointB[7] = new GLatLng (41.2325174037958, 16.26800537109375);pointB[8] = new GLatLng (41.10664853861346, 16.689391136169434);pointB[9] = new GLatLng (41.10664853861346, 16.689391136169434);pointB[10] = new GLatLng (41.10664853861346, 16.689391136169434) ;pointB[11] = new GLatLng (40.949063695696395, 17.30170726776123);pointB[12] = new GLatLng (41.11292145371102, 16.876652240753174);pointB[13] = new GLatLng (40.988580295428676, 17.014131546020508) ;var nomeB = new Array();nomeB[0] = " <A HREF=javascript:vaiB(0)>Castellana Grotte</B><BR>trullo</A></td><td><img src=immagini/imgBA/trullo.jpg  border=1></td></tr></table>";nomeB[1] = " <A HREF=javascript:vaiB(1)>Barletta</B><BR>ex-monastero</A> </td><td><img src=immagini/imgBA/BarlettaM.jpg  border=1></td></tr></table>";nomeB[2] = " <A HREF=javascript:vaiB(2)>Barletta</B><BR>Staua di Eraclio</A> </td><td><img src=immagini/imgBA/BarlettaE.jpg  border=1></td></tr></table>";nomeB[3] = " <A HREF=javascript:vaiB(3)>Alberobello</B><BR>masseria</A></td><td><img src=immagini/imgBA/Alberobello.jpg  border=1></td></tr></table>";nomeB[4] = " <A HREF=javascript:vaiB(4)>Bari</B><BR>Chiesa di Santa Teresa dei Maschi</A></td><td><img src=immagini/imgBA/BariST.jpg  border=1></td></tr></table>";nomeB[5] = " <A HREF=javascript:vaiB(5)>Bisceglie</B><BR>Dolmen della Chianca</A></td><td><img src=immagini/imgBA/Dolmen.jpg  border=1></td></tr></table>";nomeB[6] = " <A HREF=javascript:vaiB(6)>Bari</B><BR>Cattedrale</A> </td><td><img src=immagini/imgBA/BariC.jpg  border=1></td></tr></table>";nomeB[7] = " <A HREF=javascript:vaiB(7)>Andria</B><BR>Santa Maria dei Miracoli</A></td><td><img src=immagini/imgBA/AndriaSMM.jpg  border=1></td></tr></table>";nomeB[8] = " <A HREF=javascript:vaiB(8)>Bitonto</B><BR>Chiesa di S.Egidio</A> </td><td><img src=immagini/imgBA/BitontoSE.jpg  border=1></td></tr></table>";nomeB[9] = " <A HREF=javascript:vaiB(9)>Bitonto<BR>Chiesa di S.Leone</A> </td><td><img src=immagini/imgBA/BitontoSL.jpg  border=1></td></tr></table>";nomeB[10] = " <A HREF=javascript:vaiB(10)>Bitonto</B><BR>Chiesa di S.Pietro Nuovo</A> </td><td><img src=immagini/imgBA/BitontoSP.jpg  border=1></td></tr></table>";nomeB[11] = " <A HREF=javascript:vaiB(11)>Monopoli</B><BR>Chiesa di S.Leonardo</A> </td><td><img src=immagini/imgBA/MonopoliSL.jpg  border=1></td></tr></table>";nomeB[12] = " <A HREF=javascript:vaiB(12)>Bari</B><BR>Casa Madonna di Pompei</A> </td><td><img src=immagini/imgBA/BariMP.jpg  border=1></td></tr></table>";nomeB[13] = " <A HREF=javascript:vaiB(13)>Rutigliano</B><BR>Madonna di Palazzo</A> </td><td><img src=immagini/imgBA/RutiglianoMP.jpg  border=1></td></tr></table>";function segnoB(number){ document.getElementById('rilievi').style.visibility = "hidden";  map.clearOverlays();map.setZoom(16);window.setTimeout(function() {  map.panTo(pointB[number]);}, 1000);  var marker = createMarker(pointB[number], nomeB[number]); var tabs = "<table width=200 height=90><tr><TD> <b>" + nomeB[number] ;// Place a marker in the center of the map and open the info window// automatically var marker = new GMarker(pointB[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>" + nomeB[number] );  });}// Creates a marker whose info window displays the given numberfunction createMarker(pointB, number) {  var marker = new GMarker(pointB);  return marker;}
