// Start functioning when DOM is ready
$(function() {
	
	// Set starting height
	var oldheight = $('#verlooplinks').height();
	
	// Fix shadow heights after an AJAX call has
	// been finished completely
	$('#main').ajaxStop(function() {
	
		// Set shadow temp back to orig
		$('#verlooplinks, #verlooprechts').height(oldheight);
		
		// Get the document height
		var docheight = $(document).height();
		
		// Set shadows same height as document
		$('#verlooplinks, #verlooprechts').height(docheight);
		
	});
	
});
