(function(){

	function ExpandHideRefinements() {};

	ExpandHideRefinements.hideAll = function() {
		$(".hiddenCategory,.hiddenAttribute,.hiddenAttributeValue").hide();
		$("#moreLess").text("[expand all]").
		unbind().
		click(function() {
			ExpandHideRefinements.showAll();
			return false;
		});
	};
	
	ExpandHideRefinements.showAll = function() {
		$(".hiddenCategory,.hiddenAttribute,.hiddenAttributeValue").show("fast");
		$("#moreLess").text("[hide]").
		unbind().
		click(function() {
			ExpandHideRefinements.hideAll();
			return false;
		});
	};
	 
	$(document).ready(function() {
		ExpandHideRefinements.hideAll();
	});

})();







