// -------------
// JQUERY EVENTS
// -------------
$j(document).ready(function() {

	// Initialize scrollpane
		$j('#content .container').jScrollPane({showArrows:true, scrollbarWidth: 14, dragMinHeight: 24, dragMaxHeight: 24});


	// Section specific
		var selgroup = $j('input[name=group]:checked').val();
		if (selgroup == 'undefined') {
			$j('p.buttons input').attr('disabled', 'disabled');
		}
		$j('.opdehoogteblijven input:radio').change(function() {
			$j('p.buttons input').removeAttr('disabled');
		});
	// Menu animations
	/*
	$j('#menu ul li a').click(function() {
		$j(this).flip({
			direction: 'lr',
			bgColor: 'transparent',
			color: 'transparent'
		});
		return false;
	});
	*/

	/*
	reinitialiseScrollPane = function() {
		$('#pane1').jScrollPane();
	}

	$('#add-content').bind(
		'click',
		function()
		{
			$('#pane1').load('lipsum.html', '', reinitialiseScrollPane);
		}
	);
	*/

});
