var FILTER_SLIDER_DURATION	= 600;
var FILTER_SLIDER			= null;

function sliderInit(knob, container) {
	knob = $(knob);
	container = $(container);

	changecss('.filterbg','display','block') ;

	if ($chk(knob)) {
		FILTER_SLIDER = new Fx.Slide(container, {FILTER_SLIDER_DURATION: 600}).hide();
		knob.removeProperty("href");
		knob.setStyle('cursor', 'pointer');
		knob.addEvent("click", function(event) {
	 	FILTER_SLIDER.toggle();
		});
	};
};

Window.onDomReady(function() {sliderInit('sliderknob', 'slidercontainer')});
