$(document).ready(function() {
	var currentGlossarEntry = null;



	$('#slider li h4 a').click(toggleGlossar);
	
	
	
	
	function toggleGlossar(e){
		e.preventDefault();
		$(this).blur();

		if(currentGlossarEntry != null && this !== currentGlossarEntry){
			$(currentGlossarEntry).parent().parent().children('p').slideUp('normal');
		}
		
		currentGlossarEntry  = this;
		
		$(currentGlossarEntry).parent().parent().children('p').slideDown('slow');
	}
	
	
	
});


