// 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_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);

      // 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    -->
	
	


// Aachen
	var point = new GPoint(6.084023, 50.775767);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/aachen.htm'><img style='border-color:#666666' border='1' hspace='7' align='left' src='http://www.sacred-destinations.com/germany/images/thumbnails50/aachen-cathedral-252.jpg'><b>Aachen</b></a><br><br>Thanks to its association with Charlemagne and historic cathedral with a remarkable collection of relics, Aachen is a popular destination for pilgrims and tourists alike.</div>","Aachen");
		
	
		 
		 // Augsburg
	var point = new GPoint(10.901184, 48.361553);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/augsburg.htm'><img style='border-color:#666666' border='1' hspace='7' align='left' src='http://www.sacred-destinations.com/germany/images/thumbnails50/augsburg-basilica-st-ulrich-st-afra-wc-gfdl-75.jpg'><b>Augsburg</b></a><br><br>This Bavarian city is the Romantic Road's largest town and a gateway to the Alps. It is also a stop on the Luther Trail: in 1518, Luther was summoned here to recant his 95 Theses before a papal emissary; later, the Augsburg Confession was signed here.</div>","Augsburg");
		 
	 // Bebenhausen Monastery
	var point = new GPoint(9.06033,48.561436);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/bebenhausen-monastery.htm'><b>Bebenhausen Monastery</b></a><br><br>Bebenhausen Monastery is a well-preserved, 12th-century Cistercian monastery near T&uuml;bingen in Baden-W&uuml;rtemberg.</div>","Bebenhausen Monastery");
 
		 // Berlin
	var point = new GPoint(13.412247, 52.523115);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/berlin.htm'><img style='border-color:#666666' border='1' hspace='7' align='left' src='http://www.sacred-destinations.com/germany/images/thumbnails50/berlin-german-cathedral-wp-gfdl.jpg'><b>Berlin</b></a><br><br>The capital of Germany and its largest city, Berlin has nearly 3.5 million people. It has a number of sights of religious interest, including several cathedrals, museums, and synagogues.</div>","Berlin");
		 
 // Coburg
	var point = new GPoint(10.966667, 50.266667);
	createMarker(point,"<div id=bubble><img style='border-color:#666666' border='0' hspace='5' align='left' src=''><b>Coburg Fortress</b><br><br>This well-preserved medieval fortress is where Martin Luther hid while his delegate Melancthon drew up the Augsburg Confession. It is also the birthplace of Albert, husband of Queen Victoria.</div>","Coburg");	
			 
		 
		 // Cologne
	var point = new GPoint(6.960526, 50.939609);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/cologne.htm'><img style='border-color:#666666' border='1' hspace='7' align='left' src='http://www.sacred-destinations.com/germany/cologne-cathedral-photos/WebPhotosProFiles/custom/ext-museum-ludwig-wc.jpg'><b>Cologne</b></a><br><br>Cologne is especially known for its magnificent Gothic cathedral, once the tallest building in the world. But it is also so rich in antiquity that every time a new foundation is dug, the excavators come up with archaeological finds.</div>","Cologne");
	
		// Eisenach
	var point = new GPoint(10.31992, 50.973998);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/eisenach.htm'><img style='border-color:#666666' border='1' hspace='7' align='left' src='http://www.sacred-destinations.com/germany/images/thumbnails50/eisenach-lutherhaus2-cc-ludens.jpg'><b>Eisenach</b></a><br><br>Luther lived in the <a href='http://www.sacred-destinations.com/germany/eisenach-lutherhaus.htm'>Lutherhaus</a> as a schoolboy with the Cotta family from 1498 to 1501; he sang in the choir at <a href='http://www.sacred-destinations.com/germany/eisenach-georgenkirche.htm'>Georgenkirche</a>. <br><br>Later in life, Luther hid out in <a href='http://www.sacred-destinations.com/germany/eisenach-wartburg-castle.htm'>Wartburg Castle</a> disguised as Knight George while translating the Bible into German. Eisenach is also the hometown of Bach.<br><br> <a href='http://www.sacred-destinations.com/germany/eisenach.htm'>Eisenach Main Page</a> | <a href='http://www.sacred-destinations.com/germany/eisenach-map.htm'>Eisenach Map</a></div>","Eisenach");	 
	
		 
	 // Eisleben
	var point = new GPoint(11.549935, 51.526895);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/eisleben.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/germany/eisleben-pictures/thumbs/geburtshaus-cc-skomp.jpg'><b>Eisleben</b></a><br><br>Martin Luther was born in a half-timbered house in Eisleben in 1483 and by chance he also died here. <br><br>You can visit Luther's <a href='http://www.sacred-destinations.com/germany/eisleben-luthers-geburtshaus-birth-house.htm'>birth house</a>, his <a href='http://www.sacred-destinations.com/germany/eisleben-luthers-sterbehaus-death-house.htm'>death house</a> (where his plaster death mask is on display), the church in which he was <a href='http://www.sacred-destinations.com/germany/eisleben-peter-and-paul-church.htm'>baptized</a> and the church where he preached his <a href='http://www.sacred-destinations.com/germany/eisleben-andreaskirche-andreas-church.htm'>last sermon</a>.<br><br> <a href='http://www.sacred-destinations.com/germany/eisleben.htm'>Eisleben Main Page | <a href='http://www.sacred-destinations.com/germany/eisleben-map.htm'>Eisleben Map</a> | <a href='http://www.sacred-destinations.com/germany/eisleben-pictures/index.htm'>Eisleben Photo Gallery</a></div>","Eisleben");
	
	  // Erfurt
	var point = new GPoint(11.03008, 50.981445);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/erfurt-augustinerkloster.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/germany/erfurt-pictures/thumbs/augustinerkloster-church-c-ethan-judi-stock.jpg'><b>Erfurt</b></a><br><br>Erfurt's many churches, chapels and monasteries have earned the city the nickname Thuringian Rome. But Erfurt is also famous for its role in the life of Martin Luther, who studyied at the University of Erfurt then jointed the Augustinian Monastery.</div>","Erfurt");	
		 
		 // Externsteine
	var point = new GPoint(8.916928, 51.869211);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/externsteine.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Externsteine</b></a><br><br>A magical site consisting of five limestone rock pillars overlooking a lake. The site may have been used for ancient rituals and was occupied by Christian hermit monks from the 11th century. The monks left behind interesting rock-art carved chambers, stairways, and figural reliefs.</div>","Externsteine");
	
			 // Leipzig
	var point = new GPoint(12.371979, 51.341765);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/leipzig.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Leipzig</b></a><br><br>A modern city in the former East Germany, Leipzig has an influential student population. There are several interesting churches to visit here, and there's a Luther connection: On June 27 and July 16, 1519, Martin Luther debated with John Eck in Leipzig, an event that led to the Papal ban of June 15, 1520.</div>","Leipzig");
		
	 // Limburg Cathedral
	var point = new GPoint(8.067173,50.388705);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/limburg-cathedral.htm'><b>Limburg Cathedral</b></a><br><br>This Late Romanesque church, only a cathedral since 1827, is a fairy-tale spectacle in red, yellow and white. Inside are extensive 13th-century frescoes.</div>","Limburg Cathedral");
		
		 // Magdeburg Cathedral
	var point = new GPoint(11.634361,52.124741);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/magdeburg-cathedral.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/germany/images/thumbnails50/magdeburg-pano-cc-diwan.jpg'><b>Magdeburg Cathedral</b></a><br><br>Dedicated to Saints Catherine and Maurice, the Magdeburger Dom was the first Gothic cathedral built in Germany (begun in 1209). It also has some fine Romanesque features.</div>","Magdeburg Cathedral");
	
	 // Mainz Cathedral
	var point = new GPoint(8.273692,49.998898);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/mainz-cathedral.htm'><b>Mainz Cathedral</b></a><br><br>Built in 975 AD, this is one of the finest Romanesque churches in Germany. It was here on March 27, 1188, that Frederick Barbarossa took up the Cross in the Third Crusade.</div>","Mainz Cathedral");
	
		 // Maria Laach Abbey
	var point = new GPoint(7.252221,50.402356);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/maria-laach-abbey.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/germany/maria-laach-photos/thumbs/IMG_1051.JPG'><b>Maria Laach Abbey</b></a><br><br>One of the earliest and finest examples of German Romanesque architecture in Germany, and located on a beautiful crater lake.</div>","Maria Laach Abbey");
	
		 // Munich
	var point = new GPoint(11.58062, 48.138141);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/munich.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/germany/images/thumbnails50/munich-theatinerkirche-wc-gfdl.jpg'><b>Munich</b></a><br><br>This large Bavarian city perhaps known best for the Oktoberfest is also home to several beautiful churches and other religous sights.</div>","Munich");
	
		 // Trier
	var point = new GPoint(6.646729, 49.752658);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/trier.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/germany/images/thumbnails50/trier-bishop-museum-mosaic-offic-159h.jpg'><b>Trier</b></a><br><br>Germany's oldest city, Trier contains many well-preserved Roman monuments, including the impressive Porta Nigra. Its cathedral is Germany's oldest (it was founded by Constantine) and contains an important relic that still draws pilgrims.</div>","Trier");
	
	 
		 // Ulm M&uuml;nster
	var point = new GPoint(9.992602,48.398537);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/ulm-munster.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/germany/images/thumbnails50/ulm-munster-wp.jpg'><b>Ulm M&uuml;nster</b></a><br><br>Ulm Münster is the tallest church in the world and probably the finest example of Gothic church architecture in Germany. The now-Protestant church has dominated the city and the region for hundreds of years and has become closely associated with the city of Ulm.</div>","Ulm M&uuml;nster");
		 
	 // Wittenberg
	var point = new GPoint(12.652522, 51.863914);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/wittenberg.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/germany/wittenberg-pictures/thumbs/lutherhaus-lutherstube-cc-skomp.jpg'><b>Wittenberg</b></a><br><br>Wittenberg is where Luther lived most of his life. The main attraction here is the Castle Church, where Luther sparked the Reformation by posting his famous 95 Theses. The house where Luther and his family lived is well-preserved and full of Reformation relics, including Luther's desk, his pulpit, and first editions of his books. A few doors down is Melanchthon's house, and just out of town is the Luther Oak, where Luther cowered during a thunderstorm and vowed to become a monk if he survived.</div>","Wittenberg");
	
			 
		 
	
		 
		 // Worms
	var point = new GPoint(8.356819, 49.632507);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/germany/worms.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/germany/images/thumbnails50/worms-dom-cc-sexy-josy.jpg'><b>Worms</b></a><br><br>Here the Imperial Council passed judgment on Luther in 1521. In 1521, Luther appeared before the Holy Roman Emperor at the Imperial Diet of Worms and refused to recant his beliefs. Though the building where this occurred no longer stands, a plaque marks the spot and there is a grand Reformation memorial nearby.</div>","Worms"); 
	
		
	
	
	
	
	 // put the assembled sidebar_html contents into the sidebar div
    //document.getElementById("sidebar").innerHTML = sidebar_html;
    }

	//]]>
