/*******************************************************************************
 
 Create the slider using JS
 
 ******************************************************************************/
 
// Remove the onload event as we are creating the sliders with a JS call
fdSliderController.removeOnLoadEvent();

var hours = ["2010-04-12-00","2010-04-12-01","2010-04-12-02","2010-04-12-03","2010-04-12-04","2010-04-12-05","2010-04-12-06","2010-04-12-07","2010-04-12-08","2010-04-12-09","2010-04-12-10","2010-04-12-11","2010-04-12-12","2010-04-12-13","2010-04-12-14","2010-04-12-15","2010-04-12-16","2010-04-12-17","2010-04-12-18","2010-04-12-19","2010-04-12-20","2010-04-12-21","2010-04-12-22","2010-04-12-23"];

// Create an Object to hold the slider's initialisation data
var options = {
        // A reference to the input
        inp:            document.getElementById("slider-v1"),
        // A String containing the increment value (and the return precision, in this case 2 decimal places "x.20")
        inc:            "1",
        // Maximum keyboard increment (automatically uses double the normal increment if not given)
        maxInc:         "1",
        // Numeric range
        range:          [0,23],
        // Callback functions
        callbacks:      { "update":[myObject.callback], "create":[setUpDateSliderOutput, myObject.callback] },
        // String representing the classNames to give the created slider
        classNames:     "dateclass",
        // Tween the handle onclick?
        tween:          true,
        // Is this a vertical slider
        vertical:       false,
        // Do we hide the associated input on slider creation
        hideInput:      true,
        // Does the handle jump to the nearest click value point when the bar is clicked (tween cannot then be true)
        clickJump:      false,
        // Full ARIA required
        fullARIA:       false,
        // Do we disable the mouseWheel for this slider
        noMouseWheel:   true
};

