// Create a base icon for all of our markers that specifies the
// shadow, icon dimensions, etc.
var eduIcon = new GIcon();
eduIcon.shadow = "http://test.emotion.nl/EMO2.003-03/images/google_schaduw.png";
eduIcon.iconSize = new GSize(96, 55);
eduIcon.shadowSize = new GSize(96, 55);
eduIcon.iconAnchor = new GPoint(0, 55);
eduIcon.infoWindowAnchor = new GPoint(0, 0);
eduIcon.infoShadowAnchor = new GPoint(0, 0);
eduIcon.image = "http://test.emotion.nl/EMO2.003-03/images/google_logo.png";

	function createMarker(point, number) {
		var marker = new GMarker(point);
	  // Set up our GMarkerOptions object
	  markerOptions = { icon:eduIcon };
	  var marker = new GMarker(point, markerOptions);

		GEvent.addListener(marker, "click", function() {
//			marker.openInfoWindowHtml("<b>Wolverine Tube Europe</b><br>Tweelingenlaan 142, Apeldoorn<br>T. (055) 368 03 00<br>F. (055) 368 03 58<br>E. <a href=' info@wolverine-tube.nl'>info@wolverine-tube.nl</a><br><br><a href='http://maps.google.nl/maps?f=d&hl=en&saddr=&daddr=Tweelingenlaan+142,+Apeldoorn&ie=UTF8&om=1'>Routebeschrijving</a>");
			marker.openInfoWindowHtml(Cloud);
			});
			return marker;
	}
  function load() {
    if (GBrowserIsCompatible()) {

			var map = new GMap2(document.getElementById("map"));
			map.addControl(new GSmallMapControl());
			map.addControl(new GMapTypeControl());
			map.setCenter(new GLatLng(52.24144,5.985961), 16);


			var point = new GLatLng(52.24144,5.985961);
			map.addOverlay(createMarker(point, 1));

    }
	}
//]]>
