//<![CDATA[
// Create a base icon for all of our markers that specifies the
// shadow, icon dimensions, etc.
var eduIcon = new GIcon();
eduIcon.shadow = "http://www.zo-wie-zo.nl/images/google_shadow.png";
eduIcon.iconSize = new GSize(120, 60);
eduIcon.shadowSize = new GSize(120, 60);
eduIcon.iconAnchor = new GPoint(0, 60);
eduIcon.infoWindowAnchor = new GPoint(0, 0);
eduIcon.infoShadowAnchor = new GPoint(0, 0);
eduIcon.image = "http://www.zo-wie-zo.nl/images/google_logo.png";

// Creates a marker at the given point with the given number label
function createMarker(point, number) {
  var marker = new GMarker(point);
	markerOptions = { icon:eduIcon };
  var marker = new GMarker(point, markerOptions);
	GEvent.addListener(marker, "click", function() {
		marker.openInfoWindowHtml("<b>Zo wie zo<\/b><br>Korenpassage 31, 7311 LZ  Apeldoorn<br><br><a href=\"http://maps.google.nl/maps?f=d&hl=nl&saddr=&daddr=Korenpassage+31,+7311+LZ+Apeldoorn&ie=UTF8&om=1\">Routebeschrijving<\/a>");
		});
		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.2141,5.961069), 15);
			var point = new GLatLng(52.2141,5.961069);
			map.addOverlay(createMarker(point, 1));
		}
	}
	//]]>

