// 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    -->
	
	 
		 // Absam
	var point = new GPoint(11.504574,47.294076);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/austria/absam-our-lady.htm'><img style='border-color:#666666' border='0' hspace='5' align='left' src='http://www.sacred-destinations.com/austria/images/thumbnails/absam-mary-image-closeup.jpg'><b>Our Lady of Absam</b></a><br><br>In 1797, in the small village of Absam near Innsbruck, an 18-year-old girl saw an image of the Virgin Mary appear in the windowpane. The image remained on the glass, was determined to be miraculous, and soon began to effect miraculous healings. Today, the small glass pane with the image of the Virgin is enshrined in the parish church for veneration.</div>","Absam");
	
	// Gurk
	var point = new GPoint(14.29386,46.87527);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/austria/gurk-cathedral-and-st-hemma.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/austria/images/thumbnails/gurk-dom-nc-officsite.jpg'><b>Gurk Cathedral</b></a><br><br>The Cathedral of Gurk is an impressive cathedral filled with beautiful architecture and art. It also contains the tomb altar of the beloved Saint Hemma, an 11th-century Austria noblewomen who devoted her later life to God and to the poor.</div>","Gurk");
		 
			 // Innsbruck
	var point = new GPoint(11.394196, 47.266184);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/austria/innsbruck.htm'><img style='border-color:#666666' border='0' hspace='5' align='left' src='http://www.sacred-destinations.com/austria/images/thumbnails/innsbruck-cathedral.jpg'><b>Innsbruck</b></a><br><br>Nestled in an Alpine valley, Innsbruck is a favorite destination for skiing in winter and mountaineering in summer. But Innsbruck also makes an attractive choice for the pilgrim, spiritually-inclined traveler, or architecture buff. The city boasts a baroque cathedral and several historic churches, and just a short bus ride away are the two important Catholic shrines of Absam and Seefeld.</div>","Innsbruck");
	
		 // Maria Plain
	var point = new GPoint(13.039318,47.838499);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/austria/maria-plain-shrine-of-our-lady.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Shrine of Our Lady of Maria Plain</b></a><br><br>The hilltop shrine of Our Lady of Maria Plain, home to a miraculous image of the Virgin Mary, has been a top pilgrimage destination for over three centuries. Mozart wrote his Coronation Mass inside the Sanctuary here. </div>","Maria Plain");
	
		 // Mariazell
	var point = new GPoint(15.318482,47.772993);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/austria/mariazell-shrine-of-our-lady.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/austria/images/thumbnails/mariazell-scenery-nc.jpg'><b>Shrine of Mariazell</b></a><br><br>Nestled high in the Alpine mountains of Austria, the Shrine of Our Lady of Mariazell is the most popular Marian shrine in Central Europe. The shrine centers on a miraculous statue of the Virgin Mary discovered by a monk in 1157.</div>","Mariazell");
		 	 	 
		 // Mauthausen
	var point = new GPoint(14.50161,48.256827);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/austria/mauthausen-concentration-camp.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Mauthausen Concentration Camp</b></a><br><br>Mauthausen Concentration Camp was established on August 8, 1938, and liberated on May 5, 1945 by the US Army. Unlike many other concentration camp systems, Mauthausen was used mostly for extermination of the educated people and members of the higher classes. Around 122,000 people were killed here.</div>","Mauthausen");
	
		 // Melk Abbey
	var point = new GPoint(15.331163,48.22879);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/austria/melk-abbey.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Melk Abbey</b></a><br><br>Melk Abbey was originally a palace, and it shows. Home to an active Benedictine community from the 11th century to the present day, the current Baroque ensemble was built in 1702-1736 by architect Jakob Prandtauer.</div>","Melk Abbey");
	
		 // Oberndorf
	var point = new GPoint(12.936443,47.945556);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/austria/oberndorf-silent-night-chapel.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Silent Night Chapel, Oberndorf</b></a><br><br>The Silent Night Chapel (German: Stille Nacht Kapelle) in the village of Oberndorf marks the place where the beloved Christmas carol &quot;Silent Night&quot; was heard for the first time, on Christmas Eve 1818. The Silent Night Memorial Chapel (1937) stands on the original site of the Romanesque St. Nikolaus Church where the carol was first performed.</div>","Oberndorf");
	
	 
		 // Salzburg
	var point = new GPoint(13.038368, 47.80716);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/austria/salzburg.htm'><img style='border-color:#666666' border='0' hspace='5' align='left' src=''><b>Salzburg</b></a><br><br>Beginning with Prince-Archbishop Wolf Dietrich, who began his regime in the late 16th century, Salzburg\'s rulers pursued construction on a grand scale. They all seem to have shared the same artistic bent; Salzburg\'s many fine buildings blend into a harmonious whole.</div>","Salzburg");
		 	 	 
		 // Seefeld
	var point = new GPoint(11.186373,47.328763);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/austria/seefeld-eucharistic-miracle.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/austria/images/thumbnails/seefeld-church-c-skiaustria.jpg'><b>Seefeld Eucharistic Miracle</b></a><br><br>In the now-popular resort town of Seefeld in the 14th century, sacrilege of a communion wafer left an arrogant knight sunk, literally. The miraculous host and the desperate knight's handprints on the stone altar can still be seen.</div>","Seefeld");
	
	// St. Florian's Abbey
	var point = new GPoint(14.378765,48.207251);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/austria/linz-abbey-st-florian.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Abbey Church of St. Florian</b></a><br><br>The largest monastery in Upper Austria and an impressive example of Baroque architecture, the Abbey of St. Florian is built over the grave of the patron saint against fire and flood.</div>","St Florian Abbey");
	
		 
		 // Vienna
	var point = new GPoint(16.367569, 48.21964);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/austria/vienna.htm'><img style='border-color:#666666' border='0' hspace='5' align='left' src='http://www.sacred-destinations.com/austria/images/vienna/thumbnails/karlskirche-cc-luxpim.jpg'><b>Vienna</b></a><br><br>Vienna is a true cosmopolitan center, where different tribes and nationalities have for centuries fused their cultural identities to produce the intriguing and often cynical Viennese. Today, travelers flock to Vienna for its churches, palaces, museums, music, cafes, waltzes, parks, pastries, and wine. Vienna is the seat of a Roman Catholic archdiocese, and about half of Vienna's population is Roman Catholic.</div>","Vienna");

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

	//]]>