   else
     null
 
-
-
 # ---------------------------------------------------------------------
-
-
 
 page = require('webpage').create()
 page.settings.userAgent = options['user_agent'] if user_agent
 page.customHeaders = { 'Referer': options['referer'] } if referer
 
-
-
 # ---------------------------------------------------------------------
-
-
 
 if output.substr(-4) is ".pdf"
   if paper_size != undefined

      document.getElementById('demo').getBoundingClientRect()
  page.render(output)
  phantom.exit()



fs = require('fs')
system = require('system')

# ---------------------------------------------------------------------

input = system.args[1]
output = system.args[2]
