 		setTimeout waitToQuery, toWait
 
 # Performs the actual AJAX request and queries the database.
-performQuery = () ->
+performQuery = ->
 	console.debug 'perfomQuery()'
 	ajaxActive = true
 	lastAjax = new Date().getTime()

	ajaxActive = false

# Initializes the result pane, creates it if needed.
initResultPane = () ->
	console.debug 'initResultPane()'
	if $('#search_result_pane').length == 0
		$('#search').append('<div id="search_result_pane"></div>')

	return result

# Deletes the cached data and hides the result pane.
exitSearch = ->
	console.debug('exitSearch()')
	currentData = null
	hideResultPane()
