function initialize() {
      var myLatlng = new google.maps.LatLng(-0.522319,36.814754);
      var myOptions = {
        zoom: 7,
        center: myLatlng,
        mapTypeId: google.maps.MapTypeId.TERRAIN
      }
      var map = new google.maps.Map(document.getElementById("ak_map_canvas"), myOptions);
      setMarkers(map, airstrips);
      var flightPlanCoordinates = [
      	//Mombasa
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-4.039618,39.601593),
        //Mara Ngerende
    		new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-1.084500, 35.189167),
        //Mara Ol Kiambo
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-1.411667, 35.113499),
        //Samburu
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(0.533167, 37.529167),
        //Lamu
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-2.251500 ,40.912834),
        //Malindi
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng( -3.221667, 40.098331),
        //Amboseli
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-2.645333, 37.247334),
        //Mara Shikar
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-1.142333, 35.139999),
        //Mara Siana Springs
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-1.491167, 35.408501),
        //Diani Beach
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-4.297500, 39.571167),
        //Mara Serena
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-1.405251, 35.010593),
        //Meru Mulika
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng( 0.233333, 38.166668),
        //Musiara
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-1.299667, 35.065334),
        //Nanyuki
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-0.061333, 37.026669),
        //Kilimanjaro
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-3.424985 ,37.067184),
        //Mara Keekorok
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-1.586667 ,35.258499),
        //Kichwa
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(-1.264833 ,35.026833),
        //Lewa Downs
        new google.maps.LatLng(-1.322319,36.814754),
        new google.maps.LatLng(0.197500, 37.464668)
        
      ];
      var flightPath = new google.maps.Polyline({
        path: flightPlanCoordinates,
        strokeColor: "#000000",
        strokeOpacity: 1.0,
        strokeWeight: 2
      });
      flightPath.setMap(map);
    }
    
    
      
      
      var airstrips = [
        ['Nairobi Wilson airport', -1.322319,36.814754, 2],
        ['Mombasa Moi International airport', -4.039618,39.601593, 2],
        ['Mara Ngerende', -1.084500, 35.189167, 2],
        ['Mara Ol Kiambo', -1.411667, 35.113499, 2],
        ['Samburu', 0.533167, 37.529167, 2],
        ['Lamu', -2.251500 ,40.912834, 2],
        ['Malindi', -3.221667, 40.098331, 2],
        ['Amboseli', -2.645333, 37.247334, 2],
        ['Mara Shikar', -1.142333, 35.139999, 2],
        ['Mara Siana Springs', -1.491167, 35.408501, 2],
        ['Diani Beach', -4.297500, 39.571167, 2],
        ['Mara Serena', -1.405251, 35.010593, 2],
        ['Meru Mulika', 0.233333, 38.166668, 2],
        ['Musiara',  -1.299667, 35.065334, 2],
        ['Nanyuki',-0.061333, 37.026669 , 2],
        ['Kilimanjaro',-3.424985 ,37.067184 , 2],
        ['Mara Keekorok', -1.586667 ,35.258499, 2],
        ['Mara Kichwa', -1.264833 ,35.026833, 2],
        ['Lewa Downs', 0.197500, 37.464668, 2]
      ];
      
      
      
      function setMarkers(map, locations) {
        // Add markers to the map
      
        // Marker sizes are expressed as a Size of X,Y
        // where the origin of the image (0,0) is located
        // in the top left of the image.
      
        // Origins, anchor positions and coordinates of the marker
        // increase in the X direction to the right and in
        // the Y direction down.
        var image = new google.maps.MarkerImage('images/icons/mapicon.png',
            // This marker is 20 pixels wide by 32 pixels tall.
            new google.maps.Size(14, 14),
            // The origin for this image is 0,0.
            new google.maps.Point(0,0),
            // The anchor for this image is the base of the flagpole at 0,32.
            new google.maps.Point(7, 7));
        var shape = {
            coord: [1, 1, 1, 20, 18, 20, 18 , 1],
            type: 'poly'
        };
        for (var i = 0; i < locations.length; i++) {
          var beach = locations[i];
          var myLatLng = new google.maps.LatLng(beach[1], beach[2]);
          var marker = new google.maps.Marker({
              position: myLatLng,
              map: map,
              icon: image,
              shape: shape,
              title: beach[0],
              zIndex: beach[3]
          });
        }
      }
      
      
    
          
      
    function loadScript() {
      var script = document.createElement("script");
      script.type = "text/javascript";
      script.src = "http://maps.google.com/maps/api/js?sensor=false&callback=initialize";
      document.body.appendChild(script);
    }
    
    
