(function($) {
	$.fn.toggletextlist = function(callerSettings){
		
		var settings;
		settings = $.extend({
    		speed:			'fast'
    	},callerSettings||{});
		
		var $this = $(this);
		var $eachlink = $this.find('li>a');
		var $div = $this.find('div');
		
		$eachlink.prepend('<span>(+) </span>');
		$div.hide();
		
		$eachlink.bind("click", displayText);

		function resetAllDivs() {
			$this.find('div').hide(settings.speed);
			$this.find('span').empty().append('(+) ');
		};
				
		function displayText() {
			var text = $(this).find('span').text();
			
			if (text == "(+) ") {
				resetAllDivs();
				$(this).siblings('div').show(settings.speed);
				$(this).find('span').empty().append("(-) ");
			} else {
				resetAllDivs();
				$(this).siblings('div').hide(settings.speed);
				$(this).find('span').empty().append("(+) ");
			};						
		};
	};
})(jQuery);
