    //<![CDATA[
 
    if (GBrowserIsCompatible()) {
    
    var baseIcon = new GIcon();
          baseIcon.iconSize=new GSize(32,37);
          baseIcon.shadowSize=new GSize(56,32);
          baseIcon.iconAnchor=new GPoint(16,32);
          baseIcon.infoWindowAnchor=new GPoint(16,0);
          
      var bock = new GIcon(baseIcon, "http://www.thueringer-muehlen.citymapinfo.de/icon/bockwindmuehle-dot.png", null, "http://maps.google.com/mapfiles/kml/pal2/icon27s.png");

      // this variable will collect the html which will eventually be placed in the side_bar
      var side_bar_html = "";
    
      // arrays to hold copies of the markers and html used by the side_bar
      // because the function closure trick doesnt work there
      var gmarkers = [];
 
 
      // A function to create the marker and set up the event window
      function createMarker(point,name,html,icon) {
        var marker = new GMarker(point,icon);
        var linkid = "link"+(gmarkers.length);

        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);

        });
        
        
        // save the info we need to use later for the side_bar
        gmarkers.push(marker);
        // add a line to the side_bar html
        side_bar_html += '<a href="javascript:myclick(' + (gmarkers.length-1) + ')">' + name + '<\/a>';
         return marker;
      }
 
 
      // This function picks up the click and opens the corresponding info window
      function myclick(i) {
        GEvent.trigger(gmarkers[i], "click");
      }
 
      // create the map
      var map = new GMap2(document.getElementById("map"));
      map.addControl(new GLargeMapControl());
      map.addControl(new GMapTypeControl());
      map.addMapType(G_SATELLITE_3D_MAP);
      map.setCenter(new GLatLng(50.975291,11.015167), 9);
 
      // add the points    
      var point = new GLatLng(51.033393, 10.717378);
      var marker = createMarker(point,"Bockwindmühle Ballstedt", '<h1>Bockwindmühle Ballstädt</h1>99869 Ballstädt',bock)
      map.addOverlay(marker);
 
      var point = new GLatLng(50.955365, 11.199476);
      var marker = createMarker(point,"Bockwindmühle Bechstedtstraß", '<h1>Bockwindmühle Bechstedtstraß</h1>Bei der Mühle 30<br>99428 Bechstedtstraß',bock)
      map.addOverlay(marker);

      var point = new GLatLng(50.91294, 11.15049);
      var marker = createMarker(point,"Bockwindmühle Klettbach", '<h1>Bockwindmühle Klettbach</h1>99102 Klettbach',bock)
      map.addOverlay(marker);
      
      var point = new GLatLng(50.973981, 11.550336);
      var marker = createMarker(point,"Bockwindmühle Krippendorf", '<h1>Bockwindmühle Krippendorf</h1>07751 Jena- Krippendorf',bock)
      map.addOverlay(marker);      

      var point = new GLatLng(51.279047, 11.370674);
      var marker = createMarker(point,"Bockwindmühle Langenroda", '<h1>Bockwindmühle Langenroda</h1>Windmühle 1<br>06571 Langenroda',bock)
      map.addOverlay(marker);  
      
      var point = new GLatLng(50.932714, 12.254622);
      var marker = createMarker(point,"Bockwindmühle Lumpzig", '<h1>Bockwindmühle Lumpzig</h1>Dobraer Weg 3<br>04626 Lumpzig',bock)
      map.addOverlay(marker);  
      
      var point = new GLatLng(51.233917, 11.205926);
      var marker = createMarker(point,"Bockwindmühle Schillingstedt", '<h1>Bockwindmühle Schillingstedt</h1>Kölledaer Straße<br>99625 Schillingstedt',bock)
      map.addOverlay(marker);  
      
      var point = new GLatLng(51.036783, 10.588079);
      var marker = createMarker(point,"Bockwindmühle Tüngeda", '<h1>99947 Tüngeda</h1>',bock)
      map.addOverlay(marker);  
            
      // put the assembled side_bar_html contents into the side_bar div
      document.getElementById("side_bar").innerHTML = side_bar_html;   
    }
 
    else {
      alert("Sorry, the Google Maps API is not compatible with this browser");
    }
    
      //]]>

