 # ---------------- Cases -----------------------
 
 SearchCases = (options, token, callback) ->
+	options = EncodeOptions(options)
 	command = 'cmd=search'
 	if(options['q']) then command += "&q=#{options['q']}"
 	if(options['cols']) then command += "&cols=#{options['cols']}"

	)

ReplyCase = (options, token, callback) ->
	command = 'cmd=reply'
	command += CaseOptions(options)
	if(options['sFrom']) then command += "&sFrom=#{options['sFrom']}"

	)

AssignCase = (options, token, callback) ->
	options = EncodeOptions(options)
	command = 'cmd=assign'
	command += CaseOptions(options)

