   setDelay 3, msgClose()
   msgTaskText()
 
-getChallenge = (id) ->
+@getChallenge = (id) ->
   ###
   # Gets a specific challenge
   ###

    buttons.append(button)
  dlg.append(buttons)
  return dlg

dlgOpen = (h) ->
  ###

  dlg = $('<div></div>').addClass("dlg")
  for c in challenges

makeDlg = (dlgData) ->
  ###
  # Takes dialog box data and returns a dialog box for nextUp actions
