// JavaScript Document

 //<![CDATA[
    
    if (GBrowserIsCompatible()) { 

      function createMarker(point,html) {
        // ======== Add a "directions" link ======
       // html += '<br> <a href="http://maps.google.com/maps?saddr=&daddr=' + point.toUrlValue() + '" target ="_blank">Directions</a>';
      
        var marker = new GMarker(point);
        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);
        });
        return marker;
      }
	  
// CENTRALISING THE MAP. IT'S CURRENTLY CENTRALISED ON ETHIOPIA - I hope they don't mind! http://www.satsig.net/maps/lat-long-finder.htm IS A GOOD PLACE TO GET LAT/LONG REFS FROM.
      var map = new GMap2(document.getElementById("map"));
      map.addControl(new GLargeMapControl());
      map.addControl(new GMapTypeControl());
      map.setCenter(new GLatLng(9.0587, 39.1553),5);
 
// ETHIOPIA
	 

 var point = new GLatLng(6.7442, 38.3760);
      var marker = createMarker(point,'<a href="ETH317.html"><strong>Yirga Alem Hospital</strong> (P317)</a><br />Ethiopia');
      map.addOverlay(marker); 


 var point = new GLatLng(9.0116, 38.7593);
      var marker = createMarker(point,'<a href="ETH2327.html"><strong>Sebeta School for the Blind</strong> (P2327)</a><br />and<br /><a href="ETH2015.html"><strong>Addis Abeba University Department of Ophthalmology</strong> (P2015)</a><br />Addis Abeba, Ethiopia<br /><br />');
      map.addOverlay(marker); 


 var point = new GLatLng(8.1103, 38.3771);
      var marker = createMarker(point,'<a href="ETH2016.html"><strong>Grarbret Tehadso Mahber Rehabilitation Project</strong> (P2016)</a><br />Butajera, Ethiopia');
      map.addOverlay(marker); 







    }
    
    else {
      alert("Sorry, the Google Maps API is not compatible with this browser");
    }

    // This Javascript is based on code provided by the
    // Blackpool Community Church Javascript Team
    // http://www.commchurch.freeserve.co.uk/   
    // http://www.econym.demon.co.uk/googlemaps/

    //]]>