function POIMarker(lat, long, map, html, name, soort, i) {
		var iw = i;
		var latitude = lat;
		var longitude = long;
		var name = name;
		var soort = soort;
		var marker;
		var map = map;
		var html = html;
		var point = new GLatLng(latitude, longitude);
		var marker;
		var ignore = false;
		
		construct();
		
		function construct() {			
			marker = new BaseMarker(point, "POI", soort);
			
			GEvent.addListener(marker, "mouseover", function(overlay, latlng) {
				//map.openInfoWindow(point, html);
				iw.showOverlay(html, point, "street");
			});
			/*
			GEvent.addListener(marker, "mouseout", function(overlay, latlng) {
				//map.openInfoWindow(point, html);
				iw.hideOverlay();
			});*/		
			GEvent.addListener(marker, "click", function() {
				map.setCenter(point, 15);										  
			});
			map.addOverlay(marker);
		}
		this.getName = function () {
			return name;
		}
		this.lng = function() {
			return longitude;
		}
		this.lat = function() {
			return latitude;
		}
		this.kill = function() {
			map.closeInfoWindow();
			marker.hide();
		}
		this.show = function() {
			marker.show();	
		}
		this.setIgnore = function (_ignore) {
			ignore = _ignore;
		}
		this.getIgnore = function () {
			return ignore;
		}
}
