     $('h1#title').html(graphConf.title)
     @currentGraph = (@currentGraph + 1) % @config.graphs.length
     @graphLoaded = false
+    console.log(@config.settings.dwellTime)
     setTimeout(@displayGraph, @config.settings.dwellTime)
     @preloadGraph(@config.graphs[@currentGraph])
 

    "#{@config.sources.cacti}/graph_image.php?action=zoom&local_graph_id=#{graph.id}&rra_id=0&graph_height=#{@imageHeight}&graph_width=#{@imageWidth}&graph_nolegend=1&graph_end=#{endTime}&graph_start=#{startTime}&view_type=tree&notitle=1"

  loadConfig: ->
    $.ajax('config.json', {'dataType': 'json'})
      .fail((x, status, error) -> 
          $('#container').html("Error loading config: #{status} (#{error})"))
      .success((data) => 

    else
      from = "-#{@config.settings.timeRange} hours"
    series = graph.series.concat(@config.settings.graphiteAdditionalSeries)
    "#{@config.sources.graphite}/render/?width=#{@imageWidth}&height=#{@imageHeight}&target=#{series.join('&target=')}&from=#{from}&graphOnly=false&hideLegend=true&areaMode=first&lineWidth=2"

  getCactiURL: (graph) ->
    endTime = Math.floor((new Date().getTime())/1000)
