// --------------------------------------------------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------------------------------------------------
// behaviours - Shows and hides tabs;
// depends: 	jQuery library;
// author:		nr;
// --------------------------------------------------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------------------------------------------------

(function glossary() {
	
	$('.glossary dt').wrapInner('<a href="#" />');
	
	$('.glossary').click(function(e) {
		var $target = $(e.target);
		if($target.is('a')) {
			$target.parent().toggleClass('selected').next().toggle();
		}
		return false;
	});
		
})();

// --------------------------------------------------------------------------------------------------------------------------------
// --- end of file --- 
// -------------------------------------------------------------------------------------------------------------------------------

