function addGMapOverlays(map) {
 var punti = new Array(); 
 var gtext = new Array();

map.setCenter( new GLatLng(43.716782164148654, 10.40000447769165), 15);

map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());

 punti [0]= new GLatLng (43.70838457141431, 10.398430824279785);
 punti [1]= new GLatLng (43.709036030813834, 10.398387908935546);
 punti [2]= new GLatLng (43.710695669191686, 10.39931058883667);
 punti [3]= new GLatLng (43.71210710118305, 10.39980411529541);
 punti [4]= new GLatLng (43.71527106970212, 10.401091575622558);
 punti [5]= new GLatLng (43.71541065270114, 10.401756763458252);
 punti [6]= new GLatLng (43.71613958085811, 10.401885509490966);
 punti [7]= new GLatLng (43.71649628715049, 10.402207374572754);
 punti [8]= new GLatLng (43.72037339248104, 10.403602123260498);
 punti [9]= new GLatLng (43.7212728450646, 10.40403127670288);
 punti [10]= new GLatLng (43.72206373186901, 10.401992797851562);
 punti [11]= new GLatLng (43.72297866632312, 10.396499633789062);
 punti [12]= new GLatLng (43.72394010781145, 10.395920276641845);
 punti [13]= new GLatLng (43.72345938899603, 10.395469665527343);
 punti [14]= new GLatLng (43.72339736048081, 10.394032001495361);
 punti [15]= new GLatLng (43.72307170972216, 10.392765998840332);
 punti [16]= new GLatLng (43.72150545991439, 10.397164821624755);
 punti [17]= new GLatLng (43.719675532036156, 10.400276184082031);
 punti [18]= new GLatLng (43.71930333647528, 10.40081262588501);
 punti [19]= new GLatLng (43.71524005121373, 10.396499633789062);
 punti [20]= new GLatLng (43.710990366528826, 10.397980213165283);
 punti [21]= new GLatLng (43.71468171567726, 10.392272472381591);
 punti [22]= new GLatLng (43.71162628742448, 10.407249927520752);
 punti [23]= new GLatLng (43.70840008243467, 10.410254001617431);
 punti [24]= new GLatLng (43.71046301237562, 10.412678718566894);
 punti [25]= new GLatLng (43.72555281372336, 10.39982557296753);
 punti [26]= new GLatLng (43.72079210484635, 10.407872200012207);
 punti [27]= new GLatLng (43.720637026533716, 10.392765998840332);
 punti [28]= new GLatLng (43.72116429115894, 10.389697551727295);
 punti [29]= new GLatLng (43.717473341338255, 10.398774147033691);


 
   var mypoly = new Array();
   mypoly[0] = new GLatLng(43.70838457141431, 10.398430824279785);
   mypoly[1] = new GLatLng(43.71063362746236, 10.398988723754882);
   mypoly[2] = new GLatLng(43.71413888447392, 10.400469303131103);
   mypoly[3]= new GLatLng(43.715441671101225, 10.401585102081298);
   mypoly[4]= new GLatLng(43.71649628715049, 10.402228832244873);
   mypoly[5]= new GLatLng(43.71823326135878, 10.40179967880249);
   mypoly[6]= new GLatLng(43.71972205631869, 10.401906967163086);
   mypoly[7]= new GLatLng(43.719768580565116, 10.40332317352295);
   mypoly[8]= new GLatLng(43.72090065942636, 10.403366088867187);
   mypoly[9]= new GLatLng(43.721257337375825, 10.403988361358642);
   mypoly[10]= new GLatLng(43.72150545991439, 10.402271747589111);
   mypoly[11]= new GLatLng(43.72195517939636, 10.402143001556396);
   mypoly[12]= new GLatLng(43.72310272415638, 10.397357940673828);
   mypoly[13]= new GLatLng(43.723567938743145, 10.39705753326416);
   mypoly[14]= new GLatLng(43.72372300946927, 10.39579153060913);
   mypoly[15]= new GLatLng(43.72314924577763, 10.396456718444824);
   mypoly[16]= new GLatLng(43.72287011550826, 10.396220684051513);
   mypoly[17]= new GLatLng(43.72304069527186, 10.39480447769165);
   mypoly[18]= new GLatLng(43.7231647529767, 10.393946170806884);
   mypoly[19]= new GLatLng(43.72294765182466, 10.392765998840332);
   mypoly[20]= new GLatLng(43.72240489550254, 10.396478176116943);
   mypoly[21]= new GLatLng(43.72003221727908, 10.397272109985351);
   mypoly[22]= new GLatLng(43.71950494269109, 10.399932861328125);
   mypoly[23]= new GLatLng(43.719179270774525, 10.400469303131103);
   mypoly[24]= new GLatLng(43.719163762543864, 10.399975776672363);
   mypoly[25]= new GLatLng(43.718186735920206, 10.39980411529541);
   mypoly[26]= new GLatLng(43.71781453111107, 10.400962829589843);
   mypoly[27]= new GLatLng(43.71748885000644, 10.40079116821289);
   mypoly[28]= new GLatLng(43.717085623329126, 10.401477813720703);
   mypoly[29]= new GLatLng(43.71705460578001, 10.401864051818847);
   mypoly[30]= new GLatLng(43.71570532685359, 10.401477813720703);
   mypoly[31]= new GLatLng(43.71579838154807, 10.398945808410644);
   mypoly[32]= new GLatLng(43.71510046781732, 10.396521091461181);
   mypoly[33]= new GLatLng(43.71468171567726, 10.395662784576416);
   mypoly[34]= new GLatLng(43.711005876874864, 10.39731502532959);
   mypoly[35]= new GLatLng(43.71078873166522, 10.398130416870117);
   mypoly[36]= new GLatLng(43.71029239680319, 10.398623943328857);
   mypoly[37]= new GLatLng(43.709036030813834, 10.398387908935546);
           
/*
 gpoly [1]= null;
 gpoly [2]= null;
 gpoly [3]= null;
 gpoly [4]= null;
 gpoly [5]= null;
 gpoly [6]= null;
 gpoly [7]= null;
 gpoly [8]= null;
 gpoly [9]= null;
 gpoly [10]= null;
 gpoly [11]= null;
 gpoly [12]= null;
 gpoly [13]= null;
 gpoly [14]= null;
 gpoly [15]= null;
 gpoly [16]= null;
 gpoly [17]= null;
 gpoly [18]= null;
 gpoly [19]= null;
 gpoly [20]= null;
 gpoly [21]= null;
 gpoly [22]= null;
 gpoly [23]= null;
 gpoly [24]= null;
 gpoly [25]= null;
 gpoly [26]= null;
 gpoly [27]= null;
 gpoly [28]= null;
 gpoly [29]= null;
*/

 gtext [0]='Stazione di Pisa / Rail Station';
 gtext [1]='Stazione di Pisa / Rail Station';
 gtext [2]='<p><b>Piazza Vittorio Emanuele</b></p>';
 gtext [3]='<p><b>Corso Italia</b></p><p>Il corso principale dello shopping a Pisa. L\'accesso &egrave; consentito solo ai pedoni.</p><p>The main street of Pisa, where you can do shopping.</p>';
 gtext [4]='<p>Sede del <b>Comune</b> (<a href="http://www.comune.pisa.it/" target="_blank">link</a>)</p>';
 gtext [5]='<p><b>Torre dell\'Orologio</b></p><p>Clock Tower</p><p>(<a href="http://www.comune.pisa.it/doc/webcam.htm" target="_blank">webcam</a>!)</p>';
 gtext [6]='<p><b>Ponte di Mezzo</b><p>Ponte che &egrave; il centro ideale della citt&agrave;. Qui si svolge la manifestazione detta &quot;Il gioco del Ponte&quot; dove le diverse contrade cittadine si sfidano</p><p>The bridge in the exact middle of the town; here Pisa\'s citizens play the game &quot"Il gioco del ponte (The Game of the Bridge)&quot;</p>';
 gtext [7]='<p><b>Piazza Garibaldi</b></p>';
 gtext [8]='<p><b>Piazza Santa Caterina</p>, con parco / with park</p>';
 gtext [9]='<p>Chiesa</p>';
 gtext [10]='<p><b>Bagni di Nerone</b></p><p>Resti di terme romane <img src="fotoMappa/bagninerone.jpg" align="left" width="160" height="120"/></p><p>Old monument</p><br /><br />';
 gtext [11]='<p>La Torre Pendente / The leaning Tower (vedi <a href="http://torre.duomo.pisa.it/" target="_blank">link</a>)<img src="fotoMappa/torre.jpg" align="left"  width="120" height="160"/></p>';
 gtext [12]='<p>Il cimitero ebraico</p><p>The Hebrew cemetary</p>';
 gtext [13]='<p>Il Duomo<img src="fotoMappa/duomo.jpg"  width="200" height="150" align="left" /></p>';
 gtext [14]='<p>Il Battistero / The baptistry(<a href="http://www.toscanaviva.com/Pisa/battistero.htm" target="_blank">link</a>)<img src="fotoMappa/battistero.jpg" width="200" height="263" align="left" /></p>';
 gtext [15]='<p>Porta sulle mura</p>';
 gtext [16]='<p>Chiesa / Church</p>';
 gtext [17]='<p>Il Palazzo della Carovana, sede della Normale di Pisa (<a href="http://www.sns.it/" target="_blank">pagina ufficiale / Official page</a>)</p>';
 gtext [18]='<p>Chiesa dei Cavalieri (vedi <a href="http://www.sirius.pisa.it/sscavalieri/" target="_blank">link</a>)</p>';
 gtext [19]='<p>Chiesa di Santa Maria della Spina<img src="fotoMappa/santaMaria.jpg" alt="Chiesa di Santa Maria della Spina, Pisa"  width="282" height="212" align="left" /></p>';
 gtext [20]='<p><b>Chiesa di San Antonio</b></p><p>Su una sua parete, per cento ottanta metri quadrati, c\'&egrave; un dipinto di Keith Haring, realizzato nel 1989 (intitolato "TUTTOMONDO"). Maggiori informazioni sono disponibili su questo <a href="http://www.intoscana.it/intoscana/viaggiare_in_toscana.jsp?intenzione=viaggiarein&id_categoria=12&id_sottocategoria=37&typeAsset=Gallery&tipologia=gallery&id=39174" target="_blank">link</a>.</p><p>In one of its walls there is a painting of Keith Haring, painted in the 1989 (named "TUTTOMONDO"). More informations are available at the linked site.</p>';
 gtext [21]='<p>Museo con le Navi Romane / a woderful museum of Roman ships (<a href="http://www.navipisa.it/" target="_blank">link</a>)</p>';
 gtext [22]='<p>Giardini Scotto / Scotto\'s Gardens<img src="fotoMappa/giardiniScotto.jpg" align="left"  width="254" height="191"/></p>';
 gtext [23]='<p><b>&quot;Le Piagge&quot;;</b></p><p>Qui molti pisani si dedicano a camminate e attivit&agrave; sportiva all aperto</p><p>Walking tours, sporting facilities in a nice park.</p>';
 gtext [24]='<p>Centro Congressi</p>';
 gtext [25]='<p>Stadio &quot;Romeo Anconetani&quot;</p>';
 gtext [26]='<p>Facolt&agrave; di Matematica</p>';
 gtext [27]='<p>Ospedale Santa Chiara / Hospital of Santa Chiara</p>';
 gtext [28]='<p>Facolt&agrave; di Ingegneria</p>';
 gtext [29]='<p>Sede principale Universit&agrave; di Pisa / Main palace of Pisa\'s University</p>';
	// Generate Overlays
       for (i=0; i<punti.length; i++){
            var marker = createMarker(punti[i],gtext[i]);
            map.addOverlay (marker);
            // Add Routes
       }
       map.addOverlay(new GPolyline(mypoly));

  }
  
 function createMarker(point, html) {
        var marker = new GMarker(point);
        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);
        });
      
        return marker;
 }