function initialize() {

  if (GBrowserIsCompatible()) {
    var mapGuide = new GMap2(document.getElementById("mapguide"));
    mapGuide.setCenter(new GLatLng(9.937166,-84.080757), 17);
    mapGuide.setUIToDefault();

    // Create a base icon for all of our markers that specifies the
    // shadow, icon dimensions, etc.
    var baseIcon = new GIcon(G_DEFAULT_ICON);
    baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
    baseIcon.iconSize = new GSize(20, 34);
    baseIcon.shadowSize = new GSize(37, 34);
    baseIcon.iconAnchor = new GPoint(9, 34);
    baseIcon.infoWindowAnchor = new GPoint(9, 2);

    // Creates a marker whose info window displays the letter corresponding
    // to the given index.
    function createMarker(point, index, txtInfoWindow) {
      // Create a lettered icon for this point using our icon class
      var letter = String.fromCharCode("A".charCodeAt(0) + index);
      var letteredIcon = new GIcon(baseIcon);
      letteredIcon.image = "http://www.google.com/mapfiles/marker" + letter + ".png";

      // Set up our GMarkerOptions object
      markerOptions = { icon:letteredIcon };
      var marker = new GMarker(point, markerOptions);

      GEvent.addListener(marker, "click", function() {
        marker.openInfoWindowHtml(txtInfoWindow);
      });
      return marker;
    }

      mapGuide.addOverlay(createMarker(new GLatLng(9.938401,-84.080558), 0,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/11/747.JPG\"/><b>747</b><br/>Fixed Price: $20<br/><a href=\"/the-747/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.938464,-84.079624), 1,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/11//bella-mansion.JPG\"/><b>Bella Mansion</b><br/>Fixed Price: $20<br/><a href=\"/bella-mansion/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.936937,-84.081556), 2,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/11/portuguesa.JPG\"/><b>Casa Portuguesa</b><br/>Fixed Price: $20<br/><a href=\"/casa-portuguesa/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.938554,-84.080515), 3,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/11/cha-cha-cha.JPG\"/><b>Cha Cha Cha</b><br/>Fixed Price: $20<br/><a href=\"/cha-cha-cha/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.938776,-84.081282), 4,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/11/monaco.JPG\"/><b>Club Monaco</b><br/>Price: $30 - $50<br/>Strippers and Full Bar<br/><a href=\"/club-monaco/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.936779,-84.081577), 5,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/11/maison.JPG\"/><b>Maison</b><br/>Fixed Price: $20<br/><a href=\"/maison/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.936578,-84.081577), 6,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/11/paramount.JPG\"/><b>Paramount</b><br/>Fixed Price: $20<br/><a href=\"/paramount/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.936409,-84.081609), 7,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/11/lilliam.JPG\"/><b>Pension Lilliam</b><br/>Fixed Price: $20<br/><a href=\"/pension-lilliam/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.938691,-84.080799), 8,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/11/tangas1.JPG\"/><b>Tangas</b><br/>Fixed Price: $20<br/>Bar Service<br/><a href=\"/tangas/\">Review</a></div>"));
  }
}

