function Ajax(Adres, Func) {
	this.Adres = Adres;
	this.Func = Func;
	this.Http = null;
	this.Send = function() {
		try {
			this.Http = new XMLHttpRequest();
		} catch(e) {
			try {
				this.Http = new ActiveXObject("Msxml2.XMLHTTP");
			} catch(e) {
				try {
					this.Http = new ActiveXObject("Microsoft.XMLHTTP");
				} catch(e) {
					alert('Uw browser ondersteunt geen ajax');
					return false;
				}
			}
		}
		this.Http.onreadystatechange = this.Func;
		this.Http.open("GET",this.Adres,true);
		this.Http.send(null);
	}
}
function $(Id) {
	return document.getElementById(Id);
}
function $T(Tag) {
	return document.getElementsByTagName(Tag);
}
function $C(Tag) {
	return document.createElement(Tag);
}
function popup(uri,w,h,scrol,resize) {
	if(!scrol) scrol = 'no';
	if(!resize) resize = 'no';
	window.open(uri,'','width='+w+',height='+h+',location=no,status=no,menubar=no,directories=no,toolbar=no,resizeable='+resize+',scrollbars='+scrol);
}
function $A(url) {
	window.location.href = url;
}
function conf(str,uri) {
	var bool = confirm(str);
	if(bool) {
		window.location.href = uri;
	}
}
var directurl;
function redirect(uri,tm) {
	directurl = uri;
	setTimeout(function() {
		window.location.href = directurl;
	},tm);
}
function toggle(o,d,e) {
	if(!e) var e = window.event;
	if(e.clientX || e.clientY) {
		$(o).style.left = e.clientX + 'px';
		$(o).style.top = e.clientY + 'px';
	} else {
		$(o).style.left = e.pageX + 'px';
		$(o).style.top = e.pageY + 'px';
	}
	$(o).style.display = d;
}function google_maps(street, house_number, zip_code, city, div) {
	this.div = div;
	this.street = street;
	this.house_number = house_number;
	this.zip_code = zip_code;
	this.city = city;
	this.geocoder = new GClientGeocoder();
	this.display = function() {
		var address, self;
		address = this.street + ' ' + this.house_number + ', ' + this.zip_code + ' ' + this.city + ', Belgium';
		self = this;
		this.geocoder.getLatLng(address,function(point) {
			var marker, map;
			map = new GMap2(self.div);
			if (point) {
				map.setCenter(point, 13);
				marker = new GMarker(point);
				map.addOverlay(marker);
				marker.openInfoWindowHtml(address);
			}
		});
	}
}