
//Google Maps
//<![CDATA[
function createMarker(point, number) {
	// Create our "tiny" marker icon
	var icon = new GIcon();
	icon.image = "/data/logo_googlemap.gif";
	icon.shadow = "";
	icon.iconSize = new GSize(10, 10);
	icon.shadowSize = new GSize(22, 20);
	icon.iconAnchor = new GPoint(9, 18);
	icon.infoWindowAnchor = new GPoint(5, 1);


	var marker = new GMarker(point,icon);
	GEvent.addListener(marker, "click", function() {
	marker.openInfoWindowHtml("<b>" + number + "</b>");
	});
	return marker;
}

    function loadMap() {
      if (GBrowserIsCompatible()) {
       var map = new GMap2(document.getElementById("googlemap"));

		map.addControl(new GLargeMapControl());
                    map.addControl(new GScaleControl(), new GControlPosition(G_ANCHOR_BOTTOM_LEFT, new GSize(32,7)));
                    map.addControl(new GMapTypeControl());
                    map.addControl(new GOverviewMapControl());
        map.setCenter(new GLatLng(51.215874,6.758006), 15);
    
 map.addOverlay(createMarker(new GLatLng(51.216050,6.758006),"<font color='black'>C.Gielisch GmbH<br />Neuer Zollhof 1<br />DE-40221 Düsseldorf</font>"));
      }
    }

    //]]>