// 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    -->
	
		 	 
		 // Capernaum Synagogue
	var point = new GPoint(35.575211, 32.88111);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/israel/capernaum.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/israel/images/thumbnails50/capernaum-synagogue-cc-jcwrenn.jpg'><b>Capernaum Synagogue</b></a><br><br>This magnificent synagogue made of white limestone was built between the 2nd and 5th centuries, but the precise date remains a subject of debate. It is possible that it was built over the ruins of the Capernaum synagogue in which Jesus preached.</div>","Capernaum - Synagogue");	 
			 
		 // Capernaum - House of St. Peter
	var point = new GPoint(35.57519, 32.880587);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/israel/capernaum.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/israel/images/thumbnails50/capernaum-church-c-hlp.jpg'><b>House of St. Peter</b></a><br><br>Here a modern (1990) Franciscan church stands on the site of the House of St. Peter in Capernaum, where Jesus lodged during his Galilee ministry, healed a paralytic, and healed Peter's mother-in-law. The unique spaceship-like church has a glass floor that allows pilgrims to view the ruins below - which archaeologists think may well be the actual house of Peter.</div>","Capernaum - House of St. Peter");
		 
		 // Jesus Boat
	var point = new GPoint(35.524936, 32.844476);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/israel/galilee-jesus-boat.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/israel/images/thumbnails50/jesus-boat2-c-zyzy.jpg'><b>Jesus Boat</b></a><br><br>In 1986, a wooden boat was pulled from the mud on the shores of the Sea of Galilee. It has been dated to the 1st century AD, making it a very exciting find that brings many Gospel stories to life. </div>","Kibbutz Ginosar - Jesus Boat");
	
		 // Magdala
	var point = new GPoint(35.51556, 32.825041);
	createMarker(point,"<div id=bubble><a href=''><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Magdala</b></a><br><br>This ruined Roman fishing village on the shores of the Galilee was the hometown of Mary Magdalene.</div>","Magdala");
		 
		 // Tabgha - Church of Loaves and Fishes
	var point = new GPoint(35.549408, 32.873532);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/israel/tabgha-church-of-loaves-and-fishes.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/israel/tabgha-church-of-loaves-and-fishes-photos/thumbs/stone2-c-zyzy.jpg'><b>Tabgha - Church of Loaves and Fishes</b></a><br><br>This modern church (1982) stands on the site of a 5th-century church commemorating the Feeding of the Five Thousand (Mark 6). A stone beneath the altar is traditionally held to be the place where Jesus placed the miraculous meal. The church is also notable for its preservation of the beautiful mosaic floor of the 5th-century church. Depicting flora and fauna of the Nile as well as the Sea of Galilee, this is the earliest known Christian figural pavement in all of Palestine. </div>","Tabgha - Church of Loaves &amp; Fishes");
	
		 
		 // Tabgha - Church of Primacy of Peter
	var point = new GPoint(35.550181, 32.871919);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/israel/tabgha-church-of-primacy-of-peter.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/israel/images/thumbnails50/church-of-primacy-peter-rock-steps-c-hlp.jpg'><b>Tabgha - Church of Primacy of Peter</b></a><br><br>This lakeside Franciscan chapel stands on the traditional site where Jesus told Peter to &quot;Feed my sheep&quot; after the miraculous catch of fish and breakfast on the shore. </div>","Tabgha - Church of Primacy of Peter");
		 
		 // Tabgha - Mount of Beatitudes
	var point = new GPoint(35.555792, 32.880858);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/israel/tabgha-mount-of-beatitudes.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/israel/mount-of-beatitudes-photos/thumbs/galilee-sermon-on-mount-site-galenfrysinger.jpg'><b>Mount of Beatitudes</b></a><br><br>On a small hill, a modern octagonal church commemorates the Sermon on the Mount. The cool and pleasant gardens and view over the Sea of Galilee make this an ideal place for contemplation.</div>","Tabgha - Mount of Beatitudes");
	
	
	// 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;
    }

	//]]>