// 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    -->
	
		
		 // Regional Archaeological Museum
	var point = new GPoint(15.286628,37.076451);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/siracusa-regional-archaeological-museum.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/siracusa/thumbs/museum.jpg'><b>Regional Archaeological Museum</b></a><br><br>One of the most important archaeological museums in southern Italy, this ultramodern building houses Sicilian artifacts from the Greek, Roman, and early Christian eras.</div>","Archaeological Museum");
	
		 // Catacombs of St John
	var point = new GPoint(15.284842,37.076631);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/siracusa-catacombs-of-st-john.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/siracusa/thumbs/entrance-c-paradox.jpg'><b> Catacombs of St John</b></a><br><br>This extensive complex of early Christian tombs is entered through the ruins of a 12th-century Norman church. Some ancient frescoes can still be seen in the catacombs.</div>"," Catacombs of St John");
	
		 // Temple of Apollo
	var point = new GPoint(15.293028,37.063957);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/italy/siracusa-temple-of-apollo.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/italy/images/siracusa/thumbs/columns-cc-sinuhe1985.jpg'><b>Temple of Apollo</b></a><br><br>Dating from the 6th century BC, this is the oldest Doric temple in western Europe. It was subsequently used as a church and a mosque, and now lies in extensive ruins on the island of Ortygia.</div>","Temple of Apollo");
	
	
	
	// 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;
    }

	//]]>