//<![CDATA[
    function load() {
      if (GBrowserIsCompatible()) {
      	
      	var map = new GMap2(document.getElementById("map"));
      	
      	map.addControl(new GSmallMapControl());
      	map.addControl(new GMapTypeControl());
      	map.setCenter(new GLatLng(45.798134, 15.980237), 15);
      	
      	// Create a base icon for all of our markers that specifies the
      	// shadow, icon dimensions, etc.
      	var baseIcon = new GIcon();
      	baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
      	baseIcon.image = "http://www.google.com/intl/en_us/mapfiles/ms/micons/blue-dot.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);
      	baseIcon.infoShadowAnchor = new GPoint(18, 25);
      	
		// Creates a marker whose info window displays the letter corresponding
		// to the given index.
		function createMarker(point, index) {
			// Create a lettered icon for this point using our icon class
			var letter = String.fromCharCode("I".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("<div style=\"float: left; font-size: 12px; font-family: Verdana, Helvetica, Arial, sans-serif; color: #000000;\"><b>Knjižni klub IZVORI</b><br />Trnjanska cesta 64<br />10000 Zagreb<br /><br /><a href=\"http://www.izvori.com\">http://www.izvori.com</a></div><img src=\"images/extra/mapImage.png\" style=\"float: left; padding: 15px;\" />");
			});
			
			return marker;
		}
        
        var point = new GLatLng(45.79750, 15.98005);
        map.addOverlay(createMarker(point, 0));
      }
    }
//]]>