function eqLev()
{
	// Elementen ophalen
	var container	= '#container';
	var wrap		= '#wrap';
	
	// Check if browser is IE or not
	var IE = /MSIE/.test( navigator.userAgent );
	
	// Als wrap niet bestaat, dan is het wrap_home
	if ( $(wrap).length < 1 ) wrap = '#wrap_home';
	
	// Verkrijg de hoogtes van alle elementen
	var docHeight		= $(document).height();
	var containerHeight	= $(container).height();
	var wrapHeight		= $(wrap).height();
	
	// Fix de height van container en/of wrap zodat deze overeenkomen
	// met de hoogte van de docHeight
	if ( containerHeight != docHeight || wrapHeight != docHeight )
	{
		// Add 17 pixels for IE
		docHeight = (IE) ? docHeight + 17 : docHeight;
	
		// Set new heights for both divs
		$(container).height(docHeight);
		$(wrap).height(docHeight);
	}
}

// Pas eqLev toe bij het aanpassen van het scherm
$(window).resize( function() {
	eqLev();	
});
