function initialize() {

  if (GBrowserIsCompatible()) {
    var mapGuide = new GMap2(document.getElementById("mapguide"));
    mapGuide.setCenter(new GLatLng(9.929673,-84.074575), 16);
    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.92974,-84.074281), 0,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/10/eros.JPG\"/><b>Eros</b><br/>Fixed Price: $40<br/><a href=\"/sex-guide/soledad/eros/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.928197,-84.076545), 1,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/10/las-gatitas.JPG\"/><b>Gatitas</b><br/>Fixed Price: $20<br/>Bar Service, Open Late<br/><a href=\"/sex-guide/soledad/gatitas/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.929857,-84.073949), 2,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/10/idem.JPG\"/><b>Idem</b><br/>Fixed Price: $70<br/>Bar Service, Open Late<br/><a href=\"/sex-guide/soledad/idem/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.929085,-84.075515), 3,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/10/illusiones.JPG\"/><b>Illusiones</b><br/>Fixed Price: $20<br/><a href=\"/sex-guide/soledad/ilusiones/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.927225,-84.074727), 4,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/10/la-mansion.JPG\"/><b>Mansion</b><br/>Fixed Price: $20<br/>Bar Service<br/><a href=\"/sex-guide/soledad/mansion/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.928641,-84.073573), 5,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/10/mp1071.JPG\"/><b>MP1071</b><br/>Fixed Price: $20<br/><a href=\"/sex-guide/soledad/mp-1071/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.927347,-84.075306), 6,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2010/01/pantera-rosa.jpg\"/><b>Pantera Rosa</b><br/>Fixed Price: $30<br/>Bar Service<br/><a href=\"/sex-guide/soledad/pantera-rosa/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.930036,-84.074303), 7,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/10/relax.JPG\"/><b>Relax</b><br/>Fixed Price: $30<br/>Open Sundays<br/><a href=\"/sex-guide/soledad/relax/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.928588,-84.073144), 8,"<div class=\"mapinfo\"><img src=\"http://www.sextourcostarica.com/wp-content/uploads/2009/10/sala-criss.JPG\"/><b>Sala Criss</b><br/>Fixed Price: $20<br/><a href=\"/sex-guide/soledad/sala-criss/\">Review</a></div>"));
      mapGuide.addOverlay(createMarker(new GLatLng(9.932123,-84.077173), 9,"<div class=\"mapinfo\"><img src=\"http://www.costaricablush.com/wp-content/uploads/2010/08/camelot-bar.jpg\"/><b>Camelot Bar</b><br/>Fixed Price: $15<br/>Bar Service<br/><a href=\"/sex-guide/soledad/camelot-bar/\">Review</a></div>"));
  }
}

