// 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    -->
	
		 
		 // Acropolis Museum
	var point = new GPoint(23.728436, 37.968565);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/greece/athens-acropolis-museum.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/greece/images/thumbs/athens-acropolis-museum-cc-sygyzy-flickr.jpg'><b>Acropolis Museum</b></a><br><br>This is the location of the new Acropolis Museum. This museum contains many beautiful sculptures found on the Acropolis, including the original Carytids from the Erechtheion.</div>","Acropolis Museum");
		 	 
		 // Agora
	var point = new GPoint(23.723667, 37.974278);
	createMarker(point,"<div id=bubble><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/greece/images/thumbs/athens-agora-cc-wallyg.jpg'><b>Agora</b><br><br>The commercial heart of ancient Athens.</div>","Agora");
		 	 
		 // Areopagus Hill
	var point = new GPoint(23.722132, 37.97246);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/greece/athens-areopagus-mars-hill.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/greece/images/thumbs/athens-areopagus-hlp.jpg'><b>Areopagus Hill</b></a><br><br>This bald marble hill approached by slippery marble steps was once home to the Athenian council and court, where St. Paul spoke on the behalf of the Unknown God.</div>","Areopagus Hill");
	
		 // Benaki Museum
	var point = new GPoint(23.74035, 37.976147);
	createMarker(point,"<div id=bubble><a href=''><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Benaki Museum</b></a><br><br>Founded in 1931, this museum contains an excellent and ecletic collection of Greek art and artifacts. The exhibits span over 5,000 years, from the Neolithic era to the 20th century.</div>","Benaki Museum");
	
	// Byzantine Museum
	var point = new GPoint(23.74447, 37.975124);
	createMarker(point,"<div id=bubble><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Byzantine Museum</b><br><br>A collection of Byzantine art (especially icons) and artifacts.</div>","Byzantine Museum");
	
		 // Erechtheion
	var point = new GPoint(23.726456, 37.972096);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/greece/athens-erechtheion-temple.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/greece/images/thumbs/athens-caryatids-ap.jpg'><b>Erechtheion</b></a><br><br>The ancient Athenians honored this lovely temple as the tomb of Erechtheus, a legendary king of Athens. It also stands on the site of a divine battle between Poseidon and Athena over who the city would be named after.</div>","Erechtheion");
		
		// Fethiye Mosque
	var point = new GPoint(23.726596, 37.974464);
	createMarker(point,"<div id=bubble><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Fethiye Mosque</b><br><br>This mosque was built by the Turks in the late 15th century to mark Mehmet the Conquerer's visit to Athens.</div>","Fethiye Mosque");
	
		// Herodeion
	var point = new GPoint(23.724568, 37.970844);
	createMarker(point,"<div id=bubble><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Herodeion</b><br><br>An ancient theater south of the Acropolis.</div>","Herodeion");
		  	 
		 // Jewish Museum
	var point = new GPoint(23.733687, 37.972295);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/greece/athens-jewish-museum-of-greece.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/greece/images/thumbs/athens-jewish-museum-c-nyloo.jpg'><b>Jewish Museum</b></a><br><br>This museum displays articles of Jewish daily life and religious ceremony, including children's toys and special Passover china. There is also an impressive reconstruction of the Patras synagogue.</div>","Jewish Museum");
		 
		 // Kerameikos
	var point = new GPoint(23.717766, 37.978473);
	createMarker(point,"<div id=bubble><a href=''><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Kerameikos</b></a><br><br>This ancient cemetary has been a burial ground since the 12th century BC. It includes numerous ancient tombs and the Sanctuary of Hekate, the goddess of the underworld.</div>","Kerameikos");
	
		 // Mikri Mitropoli
	var point = new GPoint(23.729997, 37.975022);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/greece/athens-panagia-gorgoepikoos-mikri-mitropoli.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/greece/images/thumbs/athens-mikri-cc-feuillu.jpg'><b>Mikri Mitropoli</b></a><br><br>Once the cathedral of Athens, this tiny church is dedicated to the Virgin Who Answers Prayers Quickly. Fragments of classical artifacts are built into the walls.</div>","Mikri Mitropoli");
	
		  // Mitropoli
	var point = new GPoint(23.730088, 37.975259);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/greece/athens-mitropoli-cathedral.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/greece/images/thumbs/athens-cathedral-monk-cc-feuillu.jpg'><b>Mitropoli (Cathedral)</b></a><br><br>This 19th-century cathedral is not nearly as attractive on the outside as the Mikri Mitropoli next to it, but it is grand in scale and beautifully decorated inside.</div>","Mitropoli");
		 
		 // Museum of Cycladic Art
	var point = new GPoint(23.742785, 37.975589);
	createMarker(point,"<div id=bubble><a href=''><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Museum of Cycladic Art</b></a><br><br>Opened in 1986, this fine museum is housed in an elegant Neo-Classical building. It contains a vast collection of art from the Cycladic islands, characterized by a stylized simplicity that looks very modern. The earliest exhibits date from 5,000 years ago.</div>","Museum of Cycladic Art");
	
	 // National Archaeological Museum
	var point = new GPoint(23.732593, 37.98901);
	createMarker(point,"<div id=bubble><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>National Archaeological Museum</b><br><br></div>","National Archaeological Museum");
	
		 // Pantanassa Church
	var point = new GPoint(23.726107, 37.976464);
	createMarker(point,"<div id=bubble><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Pantanassa Church</b><br><br>This church was part of the monastery that gave the Monastiraki area its name. Also known as the Church of the Dormition of the Virgin, it dates from the 10th century.</div>","Pantanassa Church");
				 
		 // Parthenon
	var point = new GPoint(23.726671, 37.971504);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/greece/athens-parthenon.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/greece/images/thumbs/athens-parthenon-moonrise-c-sacredsites.jpg'><b>Parthenon</b></a><br><br>The famous Temple of Athena Parthenos, built in 440 BC, crowns the Acropolis. It was a major sacred site and is considered one of the finest examples of Greek architecture anywhere.</div>","Parthenon");
		  
		  // Propylaea
	var point = new GPoint(23.724847, 37.971707);
	createMarker(point,"<div id=bubble><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Propylaea</b><br><br>The ancient gateway to the Acropolis.</div>","Propylaea");
	
	 // Stoa of Attalos
	var point = new GPoint(23.724182, 37.975073);
	createMarker(point,"<div id=bubble><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Stoa of Attalos</b><br><br>This ancient stoa was fully reconstructed in the 1950s and now contains the Agora Museum.</div>","Stoa of Attalos");
	
		 // Temple of Athena Nike
	var point = new GPoint(23.725078, 37.971551);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/greece/athens-temple-of-athena-nike.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/greece/images/thumbs/athens-athena-nike-stoa-cc.jpg'><b>Temple of Athena Nike</b></a><br><br>An elegant and beautifully proportioned little Ionic temple built in 424 BC.</div>","Temple of Athena Nike");
		 
		 // Temple of Hephaistos
	var point = new GPoint(23.721435, 37.975589);
	createMarker(point,"<div id=bubble><a href=''><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Temple of Hephaistos</b></a><br><br>Temple to the god of volcanoes and metalworking.</div>","Temple of Hephaistos");
	
		 
		 // Temple of the Olympian Zeus
	var point = new GPoint(23.733521, 37.969322);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/greece/athens-temple-of-olympian-zeus.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/greece/images/thumbs/athens-temple-of-olympian-close-wp-gfdl.jpg'><b>Temple of the Olympian Zeus</b></a><br><br>Completed by Hadrian after centuries of construction, this was one of the largest temples in the ancient world.</div>","Temple of Olympian Zeus");
	
	// Theater of Dionysus
	var point = new GPoint(23.727797, 37.970328);
	createMarker(point,"<div id=bubble><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Theater of Dionysus</b><br><br>An ancient theater, still used for concerts and performances.</div>","Theater of Dionysus");
	
	 // Tower of the Winds
	var point = new GPoint(23.72703, 37.974189);
	createMarker(point,"<div id=bubble><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Tower of the Winds</b><br><br>This 2nd-century BC structure was a combined weather vane and water clock. In the 18th century, it was used as a monastery by the Sufi Whirling Dervishes.</div>","Tower of the Winds");
	
	 // Tzistarakis Mosque
	var point = new GPoint(23.725989, 37.975957);
	createMarker(point,"<div id=bubble><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Tzistarakis Mosque</b><br><br>This old mosque in Monastiraki now houses the Kyriazopoulos Folk Ceramic Museum, which is part of the Museum of Greek Folk Art.</div>","Tzistarakis Mosque");
	
	// Create small marker icon
var icon = new GIcon();
icon.image = "http://labs.google.com/ridefinder/images/mm_20_white.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);


		
	
	 // put the assembled sidebar_html contents into the sidebar div
   // document.getElementById("sidebar").innerHTML = sidebar_html;
    }

	//]]>