$(document).ready(
	function()
	{
		// User-editable preferences
	
		var moreLabel="more";
		var lessLabel="collapse";
		var slideClass="slider";
		
		$("li.down, li.up").click(function(){
			if(lessLabel == $(this).children("a").text())
			{
				$(this).parent().prev("ul.slider").hide("slow").slideUp("slow");
				$(this).children("a").text(moreLabel);
				$(this).addClass("down");
				$(this).removeClass("up");
			} else {
				$(this).parent().prev("ul.slider").show("slow").slideDown("slow");
				$(this).children("a").text(lessLabel);
				$(this).addClass("up");
				$(this).removeClass("down");
			}
			return false;
		});
	}
);
