// Java Document

 //<![CDATA[
 
 // Begin Javascript
var gmarkers = [];
var htmls = [];
function myclick(i) {
gmarkers[i].openInfoWindowHtml(htmls[i]);
}
    function onLoad() {
      // Map Overlays
      //
      
	  // This function picks up the click and opens the corresponding info window
// Creates one a small marker at the given point
function createMarker(point, attributeHTMLString, name) {
  var marker = new GMarker(point, icon);
  map.addOverlay(marker);
  GEvent.addListener(marker, "click", function() {
    marker.openInfoWindowHtml(attributeHTMLString);
  });
  // save the info we need to use later for the sidebar
  gmarkers[i] = marker;
  htmls[i] = attributeHTMLString;
  // add a line to the sidebar html
  sidebar_html += '<a href="javascript:myclick(' + i + ')">' + name + '</a><br>';
        i++;
        return marker;
}



      // Create small marker icon
var icon = new GIcon();
icon.image = "http://labs.google.com/ridefinder/images/mm_20_blue.png";
icon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
icon.iconSize = new GSize(12, 20);
icon.shadowSize = new GSize(22, 20);
icon.iconAnchor = new GPoint(6, 20);
icon.infoWindowAnchor = new GPoint(5, 1);

<!--    begin pulling data    -->
		
		 	 // Amalfi Cathedral
	var point = new GPoint(14.60333,40.634579);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/amalfi-cathedral.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Amalfi Cathedral</b></a><br><br>Built in the early 1200s, the cathedral features a dramatic location atop a steep flight of stairs, an Arab-influenced exterior, and the relics of St. Andrew the Apostle in its crypt. Next door is an older basilica (now a small museum) and the fascinating Cloister of Paradise, both containing medieval murals.</div>","Amalfi Cathedral");
	
		 // Assisi
	var point = new GPoint(12.612519, 43.07149);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/assisi.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/assisi-pictures/thumbs/basilica-lightmatter.jpg'><b>Assisi</b></a><br><br>Assisi is most famous as the birthplace of St. Francis, the patron saint of Italy one of the most popular Catholic saints in the world, and the founder of the Franciscan order.</div>","Assisi");
		 
		 // Florence
	var point = new GPoint(11.25824, 43.772333);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/florence.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/thumbnails50/florence-Santa_Maria_del_Fiore-wp-75.jpg'><b>Florence</b></a><br><br>The birthplace of the Renaissance abounds in sacred art and religious buildings. Among the most famous are the Duomo with its dome by Brunelleschi, the Baptistery with its elaborate bronze doors by Ghiberti, and Michelangelo's David.</div>","Florence");
		 
		 		 
		 // Loreto
	var point = new GPoint(13.6094, 43.439023);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/loreto-holy-house.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Holy House of Loreto</b></a><br><br>The Holy House of Loreto is one of the most revered Marian shrines in the world. Since medieval times, the Holy House has been believed to be the very home in which the Virgin Mary lived, conceived and raised the young Jesus. A large basilica has been built around the small shrine, and the sacred site attracts as many as 4 million Catholic pilgrims and visitors each year. </div>","Holy House of Loreto");
		
		 
		 // Milan
	var point = new GPoint(9.188004, 45.467354);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/milan.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/thumbnails50/milan-duomo-ca.jpg'><b>Milan</b></a><br><br>Leonardo's Last Supper and other great works of art are in Milan, as well as a spectacular Baroque Duomo, the finest of its kind. There are also a wide variety of lovely churches, a synagogue and some ancient Christian sites.</div>","Milan");
		 
		 // Montecassino
	var point = new GPoint(13.813999, 41.490626);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/monte-cassino-monastery.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/thumbnails50/monte-cassino-postcard-paradox.jpg'><b>Montecassino</b></a><br><br>This small town about 80 miles south of Rome is the home of the  monastery and relics of St. Benedict (480-543), the patron saint of Europe and the founder of western monasticism. </div>","Montecassino");
	
			 		 
		 // Monte Sant'Angelo
	var point = new GPoint(15.961761, 41.710855);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/monte-sant-angelo.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/thumbnails50/monte-sant-angelo-grotto-cc-roby-ferrari.jpg'><b>Monte Sant'Angelo</b></a><br><br>The Sanctuary of St. Michael the Archangel (Santuario di San Michele Arcangelo) is a sacred cave and popular Catholic shrine near San Giovanni Rotundo. Here the Archangel Michael is said to have appeared in 490, 492 and 1656 and to offer protection and answered prayer to anyone who comes to the sacred grotto. </div>","Monte Sant'Angelo");
	 
		 // Paestum
	var point = new GPoint(15.005382,40.419345);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/paestum.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/paestum-pictures/thumbs/temple-of-ceres-trees-cc-nunavut.jpg'><b>Paestum</b></a><br><br>Located near sandy beaches in a region known for its delicious mozzarella di bufula, Paestum includes three well-preserved Doric Greek temples, ruins of ancient houses and a museum of artifacts. Best of all, the site is off the beaten tourist path and is often deserted.</div>","Paestum");
	
		 // Palermo
	var point = new GPoint(13.364182, 38.119973);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/palermo.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/thumbnails50/palermo-duomo2-c-paradox.jpg'><b>Palermo</b></a><br><br>This Sicilian city has been ruled by Carthaginians, Romans, Arabs, Normans and Spaniards, and its architecture reflects its varied history. Here you can visit lovely churches, creepy catacombs and an excellent archaeological museum.</div>","Palermo");
		 
		 // Parma Cathedral
	var point = new GPoint(10.331322,44.803268);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/parma-duomo.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Parma Cathedral</b></a><br><br>A 12th-century Romanesque cathedral filled with frescoes and Renaissance art.</div>","Parma Cathedral");
	
			 
		 // Ravenna
	var point = new GPoint(12.201347, 44.419559);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/ravenna.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/thumbnails50/san-vitale-justinian-nc.jpg'><b>Ravenna</b></a><br><br>Most people visit this central Italian city for its Byzantine mosaics — rightly so, for they are the finest outside Istanbul. The town itself is also a pleasant attraction, with old streets, many historic churches, fine shops and peaceful squares.</div>","Ravenna");
	
			 
		 // Rome
	var point = new GPoint(12.485962, 41.899466);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/rome.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/thumbnails50/st-peters-c-qtl.jpg'><b>Rome and Vatican City</b></a><br><br>The Eternal City has been an important political center and holy city since ancient times. Rome's long and rich history make it ideal for exploring the holy places of a wide variety of religious traditions, as well as the most important Catholic sites.</div>","Rome");
		 
		 // San Giovanni Rotondo
	var point = new GPoint(15.705063, 41.708244);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/san-giovanni-rotondo-padre-pio-shrine.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/thumbnails50/san-giovanni-new-sanctuary-exterior-cc-koolinus.jpg'><b>San Giovanni Rotondo</b></a><br><br>This small town in eastern Italy centers around the shrine of St. Padre Pio, a Capuchin friar, mystic and miracle worker who died here in 1968 and was canonized in 2002.</div>","San Giovanni Rotondo");
	
	// Sant'Antimo Abbey
	var point = new GPoint(11.515582,42.999704);
	createMarker(point,"<div id=bubble><a href=''><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Abbey of Sant\'Antimo</b></a><br><br></div>","Sant\'Antimo Abbey");
			 	 
		 // Sicily
	var point = new GPoint(14.150391, 37.592472);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/sicily.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/thumbnails50/siracusa-morning-view-c-paradox.jpg'><b>Sicily</b></a><br><br>Strategically poised between Europe and Africa yet belonging to neither, this island has been inhabited by the cultures of half the civilized world. Here you can explore ancient Greek temples and superb Baroque cathedrals all in one day.</div>","Sicily");
	
		 // Siena
	var point = new GPoint(11.328793, 43.321244);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/siena.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/thumbnails50/san-domenico-75.jpg'><b>Siena</b></a><br><br>This Tuscan city known as the manageable Florence is home to the shrine of St. Catherine of Siena, lots of great churches and one of the most impressive cathedrals in Italy.</div>","Siena");
	
	// Subiaco
	var point = new GPoint(13.118159,41.916976);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/subiaco-san-benedetto'><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>San Benedetto Monastery</b></a><br><br></div>","Subiaco: San Benedetto");
		 
		 // Syracuse
	var point = new GPoint(15.284729, 37.071341);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/syracuse.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/thumbnails50/siracusa-great-theater-wt-c-Daniel-Cowan.jpg'><b>Syracuse (Siracusa)</b></a><br><br>Of all the ancient Greek cities that flourished on the coast of Sicily, Syracuse was the most important. A formidable competitor of Athens, in its 4th-century-BC heyday it dared take on Carthage and even Rome.</div>","Syracuse");
	
		 
		 // Venice
	var point = new GPoint(12.33957, 45.434464);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/venice-st-marks-basilica.htm'><img style='border-color:#666666' border='1' hspace='8' align='left' src='http://www.sacred-destinations.com/italy/venice-san-marco-pictures/thumbs/facade-pd-arglist.jpg'><b>Venice</b></a><br><br>Venice is a unique cityscape of well-worn buildings that seem to float on water and front steps that descend into the lapping waters. Positioned at the crossroads of the Byzantine and Roman worlds, Venice has acquired a unique heritage of art, architecture and culture. </div>","Venice");
		 
		
	
	 // put the assembled sidebar_html contents into the sidebar div
    //document.getElementById("sidebar").innerHTML = sidebar_html;
    }

	//]]>