       msg = "The Epidata API says '#{message}'. (error ##{result})"
       console.log(msg)
       alert.log(msg)
+
+Epidata_fluview_single = (handler, location, epiweeks) ->
+  if Epidata?.fluview?
+    Epidata.fluview(handler, location, epiweeks)
+  else
+    fakeData = (getFakeRow(location, i) for i in [0...280])
+    callback = () -> handler(1, 'debug', fakeData)
+    delay = 250 + Math.round(Math.random() * 500)
+    window.setTimeout(callback, delay)
 
 Epidata_nowcast_single = (handler, location) ->
   if Epidata?.nowcast?

    $('.location_right').css('display', 'block')
    $('#loading_icon').css('display', 'none')
    @resizeCanvas()


  fetchNowcast: (loc) ->
    @chartData = null
    @truthData = null
    callback = (epidata) => @onNowcastReceived(epidata)
    Epidata_nowcast_single(getEpidataHander(callback), loc)

  onNowcastReceived: (epidata) ->
    current = epidata[epidata.length - 1]
    start = epidata[0]
    loc = current.location
    if loc in REGIONS
      callback = (ilidata) => @onFluviewReceived(ilidata)
      Epidata_fluview_single(getEpidataHander(callback), loc, start.epiweek+ "-" + current.epiweek)
    ili = '' + (Math.round(current.value * 100) / 100)
    if '.' in ili
      ili += '00'
