         max: slider_ticks-1
         value: slider_ticks/2
         create: (event, ui) ->
-            $('#slider_value').text parseInt(slider_ticks/2)
-            $('#slider_min').text 0
-            $('#slider_max').text slider_ticks-1
             on_slide(0.5)
         slide: (event, ui) ->
-            amount = ui.value/slider_ticks
-            on_slide(amount)
-            $('#slider_value').text ui.value
-            $('#slider_amount').text amount
-
-                        
+            on_slide(ui.value/(slider_ticks-1))
+    $('#slider').bind 'keydown', (event) ->
+        null
+        
 $ ->
     ###
     # Run when document has loaded.

    ###
    null
    
on_slide = (value) ->
    ###
    # Do AJAX associated with slider movement.
    ###

    url = 'service/slide?time1=' + begin_time + '&time2=' + end_time + '&amount=' + value
    $.ajax url,
        async    : false
        dataType : 'json'


begin_time = null
end_time = null
slider_ticks = 100000

info = ->
    ###
