 
 # These are the libraries used to do the parsing on the page. If the query is
 # an xpath query, XPATH\_LIBS is used. If not, CSS\_LIBS is used instead.
-XPATH_LIBS = ['./wgxpath.install.js']
-CSS_LIBS = ['./qwery.min.js', './qwery-pseudos.min.js']
+XPATH_LIBS = [absPath('wgxpath.install.js')]
+CSS_LIBS = [absPath('qwery.min.js', 'qwery-pseudos.min.js')]
 
 
 

#
# Executes the given css query against the given window.document object using
# window.qwery
executeCSSQuery = (query, doc) ->
  unless window.qwery?
    log.error 'css', 'qwery selector engine not found!'
    return []

#
# Executes the given xpath query against the given window.document object using
# google's wicked fast xpath
executeXPath = (query, window) ->
  unless window.wgxpath?
    log.error 'xpath', 'xpath selector engine not found!'
    return []
