window.addEvent('domready', function(){
	// First Example
	var el = $('myElement');
	
	// Create the new slider instance    
    var pasi = $('news').getStyle('height').toInt() - 180;
	new Slider(el, el.getElement('.knob'), {
		steps: pasi,	// There are 35 steps
        mode: 'vertical',
		onChange: function(value){
			// Everytime the value changes, we change the font of an element
            $('news').setStyle('margin-top', -value);
		}
	}).set(0);

});