         load_collection_form()
         unless get_cookie 'access_token'
           $('h1').after $('<div>').attr('class','alert alert-warning').attr('id','oauth_access_warning').append('You have not authorized this application to access your Google Fusion Tables. ')
-          $('#oauth_access_warning').append $('<a>').attr('href',google_oauth_url).append('Click here to authorize.')
+          $('#oauth_access_warning').append $('<a>').attr('href',google_oauth_url()).append('Click here to authorize.')
           disable_collection_form()
       $('#collection_select').change()

  scope: 'https://www.googleapis.com/auth/fusiontables https://www.googleapis.com/auth/userinfo.profile'
  approval_prompt: 'auto'

google_oauth_url =
  "https://accounts.google.com/o/oauth2/auth?#{$.param(google_oauth_parameters_for_fusion_tables)}"

cite_urn = (namespace, collection, row, version) ->

        $('#Author').attr('value',data['name'])

parse_query_string = (query_string) ->
  query_string ?= location.hash.substring(1)
  params = {}
  if query_string.length > 0
    regex = /([^&=]+)=([^&]*)/g
