// 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    -->
	 // Akdamar
	var point = new GPoint(43.036644,38.340512);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/akdamar-armenian-church.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/akdamar-armenian-cathedral-of-holy-cross-c-andrys-basten.jpg'><b>Church of the Holy Cross, Akdamar Island</b></a><br><br>A fascinating Armenian church with carved reliefs of biblical scenes on all sides.</div>","Akdamar Island");
	
// Ankara
	var point = new GPoint(32.872222, 39.933889);
	createMarker(point,"<div id=bubble><b>Ankara</b><br><br></div>","Ankara");
		 
		 // Antalya/Perga
	var point = new GPoint(30.711111,  36.881389);
	createMarker(point,"<div id=bubble><b>Antalya (Ancient Perga)</b><br><br></div>","Antalya/Perga");
	
 // Antioch
	var point = new GPoint(36.1500, 36.183333);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/antioch.html'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/antioch-mosaic-photos/WebPhotosProFiles/custom/sundial-quitting-time-c-osseman.jpg'><b>Antioch (Antakya)</b></a><br><br>Antioch was an important city in the Eastern Roman Empire and an early center of Christianity. It was the headquarters for Paul's missionary journeys and the places where the apostles were first called &quot;Christians&quot;. Nearby was Daphne, sacred to Apollo.</div>","Antioch (Antakya)");
		 	 	 
		 // Aphrodisias
	var point = new GPoint(28.724302,37.708151);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/aphrodisias.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src=''><b>Aphrodisias</b></a><br><br>Aphrodisias is one of the oldest sacred sites in Turkey, dedicated first to the ancient Mother Goddess and then the Greek goddess Aphrodite. </div>","Aphrodisias");
	
	 // Assos
	var point = new GPoint(26.355833, 39.487222);
	createMarker(point,"<div id=bubble><b>Assos</b><br><br>Towards the end of his third missionary journey, Paul walked from Alexandrian Troas to Assos, where he met his companions.</div>","Assos");
	
		
		 // Derbe
	var point = new GPoint(33.253333, 37.363889);
	createMarker(point,"<div id=bubble><b>Derbe</b><br><br></div>","Derbe");
		 
		 // Didyma
	var point = new GPoint(27.256331,37.384905);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/didyma.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/didyma-overview-c-Famous-Potatoes.jpg'><b>Didyma</b></a><br><br>One of the most sacred cities in the ancient Greek world, Didyma had an oracle of Apollo that rivaled Delphi. Today, its massive Temple of Apollo is still majestic in ruins and the city is a popular tourist destination.  </div>","Didyma");
	
		 // Ephesus
	var point = new GPoint(27.307222, 37.919444);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/ephesus.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/ephesus-celsus-library3-cc-dave-cross.jpg'><b>Ephesus</b></a><br><br>The most popular tourist destination on the west coast, Ephesus was home to the Temple of Artemis, one of the wonders of the ancient world. It is still a sacred site for Christians due to Paul's missionary work here and the House of the Virgin.<br><br><a href='http://www.sacred-destinations.com/turkey/ephesus.htm'>Ephesus Main Page</a> | <a href='http://www.sacred-destinations.com/turkey/ephesus-satellite-map.htm'>Ephesus Satellite Map</a></div>","Ephesus");
	
	// Gaziantep
	var point = new GPoint(37.378889, 37.011278);
	createMarker(point,"<div id=bubble><b>Gaziantep</b><br><br></div>","Gaziantep");
	
		 // Goreme
	var point = new GPoint(34.845439, 38.638741);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/cappadocia-goreme-open-air-museum.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/goreme-elmali-resurrection-of-lazarus-c-osseman.jpg'><b>Goreme Open Air Museum</b></a><br><br>The home of several church fathers, Cappadocia's most famous attraction is the Goreme Open Air Museum, a complex of several painted cave-churches carved by Orthodox monks between 900 and 1200 AD.</div>","Goreme Cave Churches");
		 	 
		 // Hierapolis
	var point = new GPoint(29.126111, 37.923056);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/hierapolis-pamukkale.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/hierapolis-tomb-cc-rae.jpg'><b>Hierrapolis (Pamukkale)</b></a><br><br>Believed to have been founded by Apollo, Hierapolis was the site of sacred hot springs associated with Pluto, god of the underworld. The city had a significant Jewish community and was mentioned by Paul in Colossians.</div>","Hierapolis");
	
 // Istanbul
	var point = new GPoint(28.98, 41.008611);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/istanbul.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/hagia-sophia-photos/WebPhotosProFiles/custom/aerial-paradox.jpg'><b>Istanbul</b></a><br><br>Formerly the imperial city of Constantinople, Istanbul is brimming with Byzantine churches, Ottoman mosques, museums and much more.<br><br><a href='http://www.sacred-destinations.com/turkey/istanbul.htm'>City Guide</a> | <a href='http://www.sacred-destinations.com/turkey/istanbul-photos.html'>Photos</a> </div>","Istanbul");
	
			 
		 // Izmir
	var point = new GPoint(27.149167, 38.413056);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/izmir.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/izmir-agora-hlp.jpg'><b>Izmir</b></a><br><br>Izmir (ancient Smyrna) has several important sites of its own and makes an excellent base for exploring the famous ancient cities of Ephesus, Pergamum, Miletus, Priene and Sardis, all of which are within easy driving distance.</div>","Izmir");
		  	 	 
 
		 // Iznik/Nicea
	var point = new GPoint(29.749722, 40.4450);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/nicea-iznik.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/nicea-sophia-cc-rae.jpg'><b>Iznik (Nicea)</b></a><br><br>A small lakeside town in northwestern Turkey, Iznik is the modern successor of the Byzantine city of Nicea, where a famous church council was held in 325 AD.</div>","Iznik (Nicea)");
		 	 
		 // Kayseri
	var point = new GPoint(35.485556, 38.744444);
	createMarker(point,"<div id=bubble><b>Kayseri</b><br><br></div>","Kayseri");
	
		 // Konya/Iconium
	var point = new GPoint(32.473056, 37.889722);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/konya.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/konya-alaettin-mosque-c-osseman.jpg'><b>Konya (Iconium)</b></a><br><br>Once known as Iconium, Konya was one of the missionary destinations of St. Paul, the site of one of the first church councils, the capital of the Seljuk empire from 1150 to 1300, and the home of Rumi, the Sufi saint who founded the Whirling Dervishes.</div>","Konya (Iconium)");
		 	
		 
		 // Laodicea
	var point = new GPoint(29.108298,37.8357);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/laodicea.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/laodicea-seating-c-magic07.jpg'><b>Laodicea</b></a><br><br>This Roman market town was an early center of Christianity and one of the Seven Churches of Revelation. In the 4th century, Apollinaris of Laodicea taught the heresy of Apollinarianism.</div>","Laodicea");
	
		 // Lystra
	var point = new GPoint(32.425556, 37.583889);
	createMarker(point,"<div id=bubble><b>Lystra</b><br><br></div>","Lystra");
	
		 
		 // Miletus
	var point = new GPoint(27.246111, 37.502778);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/miletus.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/miletus-sacred-way-and-ionic-stoa-c-hlp.jpg'><b>Miletus</b></a><br><br>An important port city in ancient Greece that was visited by Paul on his third missionary journey. Ruins include a Temple of Serapis, a Byzantine church, an important inscription relating to Jews, and a Sacred Way to nearby Didyma.</div>","Miletus");
	
	 	 	 
		
			 
		 // Church of St. Nicholas, Myra
	var point = new GPoint(29.985235,36.244892);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/kale-church-of-st-nicholas-myra.htm'><b>Myra - Church of St. Nicholas</b></a><br><br>Burial site of the original Santa Claus.</div>","");
	
		 
		 // Pergamum
	var point = new GPoint(27.178802, 39.121271);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/bergama.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/bergama-red-basilica-c-osseman.jpg'><b>Pergamum</b></a><br><br>Bergama is home to several fascinating archaeological sites, including the Acropolis with its Altar of Zeus, the hospital/spa/temple of the Asklepion, and a huge temple to Serapis dubbed the Red Basilica.</div>","Pergamum");
	
		 // Pisidian Antioch
	var point = new GPoint(31.177778, 38.321667);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/pisidian-antioch.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/pisidian-antioch-cardo-c-osseman.jpg'><b>Pisidian Antioch</b></a><br><br>Founded by the Seleucids in the 3rd century BC, Pisidian Antioch became an important Roman colony. It was visited by St. Paul on his first missionary journey and was the site of the first fully Gentile Christian community.</div>","Pisidian Antioch");
		 	 
		 // Priene
	var point = new GPoint( 27.310000, 37.684444);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/priene.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/priene-columns-cc-jefield.jpg'><b>Priene</b></a><br><br>An ancient Hellenistic city with a Temple of Athena and other ruins.</div>","Priene");
	
	
	
		 // Sardis
	var point = new GPoint(28.057222, 38.481667);
	createMarker(point,"<div id=bubble><a href='http://www.sacred-destinations.com/turkey/sardis.htm'><img style='border-color:#666666' border='1' hspace='5' align='left' src='http://www.sacred-destinations.com/turkey/images/thumbnails50/sardis-synagogue-cc-levork.jpg'><b>Sardis</b></a><br><br>The capital of the kingdom of Lydia, Sardis had a very large and prosperous Jewish community and was one of the Seven Churches of Revelation. The ruined ancient synagogue here is the most impressive in the west.</div>","Sardis");
	
		 
		 // Troy
	var point = new GPoint(26.236667, 39.962222);
	createMarker(point,"<div id=bubble><b>Troy</b><br><br>Ancient city made famous by Homer.</div>","Troy");
	
	// 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;
    }

	//]]>