
/**
 * @version $Id: slide.js,v 1.3 2009-03-31 09:30:49 cch Exp $
 * @package cjv
 * @copyright Copyright (C) 2008 BROCELIA. All rights reserved.
 */


window.addEvent('domready', function(){
	// First Example
	var el = $('slider'),
		note_utilisateur = $('note_utilisateur')

	// Create the new slider instance
	myslide = new Slider(el, el.getElement('.knob'), {
		steps: 20,	// There are 35 steps
		range: [0],	// Minimum value is 8
		onChange: function(value){
			// Everytime the value changes, we change the font of an element
			note_utilisateur.set('html', value);
			if ($('note_utilisateur_input')) $('note_utilisateur_input').value=value;
		}
	});
});

