function initialize() {
	if (GBrowserIsCompatible()) {
		var tilelayers = [new GTileLayer()];
		tilelayers[0].getTileUrl = function (point, zoom){
			return "http://www.bontehoeve.nl/map/map_"+zoom+"_"+point.x+"_"+point.y+".jpg";
		};
		tilelayers[0].isPng = function () {
			return false;
		};
		tilelayers[0].getOpacity = function() {
			return 1.0;
		}
		var custommap = new GMapType(
			tilelayers,
			new GMercatorProjection(4), 
			"Plattegrond", {
				errorMessage:"Niet beschikbaar",
				minResolution:1,
				maxResolution:3
			}
		);
		var map = new GMap2(document.getElementById("map"));
		map.addMapType(custommap);
		
		var customUI = map.getDefaultUI();
		customUI.maptypes.hybrid = false;
		customUI.maptypes.physical = false;
		customUI.maptypes.satellite = false;
		customUI.maptypes.normal = false;
		customUI.controls.scalecontrol = false;
		map.setUI(customUI);

		map.setCenter(new GLatLng(0,0, true), 1, custommap);
	}
}
