function create(map, lat, lon, text, isOpen) {
      var icon = new GIcon();
      icon.image = "../images/mapDot.gif";
      icon.iconSize = new GSize(20, 25);
		icon.iconAnchor = new GPoint(18, 0);
		icon.infoWindowAnchor = new GPoint(25, 0);
      var marker = new GMarker(new GLatLng(lat, lon), icon);
      GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(text);
      });
      map.addOverlay(marker);
        if (isOpen) {
            map.openInfoWindowHtml(new GLatLng(lat, lon), text);
        }

    }
	 
function load() {
        if (GBrowserIsCompatible()) {
            var map = new GMap2(document.getElementById("map"));
            map.setCenter(new GLatLng(38.479143,22.493906), 17);
            map.addControl(new GSmallMapControl());
            map.addControl(new GMapTypeControl());
            create(map, 38.478843,22.494706, "<strong style='color:#000000!important; font-size:1.3em;'>Fedriades Delphi Hotel</strong><br /><span style='font-size:1.2em;'>46.V. Pavlou & Friderikis str., Delphi</span>");
				create(map, 38.479143,22.493806, "<strong style='color:#000000!important; font-size:1.3em;'>Parnassos Hotel</strong><br />");
				create(map, 38.478543,22.494716, "<strong style='color:#000000!important; font-size:1.3em;'>Epicouros Restaurant</strong><br />");
				create(map, 38.478643,22.494516, "<strong style='color:#000000!important; font-size:1.3em;'>La vista Cafe</strong><br />");
        }
    }
    window.onload=load;
    window.onunload=GUnload;
