 User  = require './model'
 api   = require '../api'
 classnames = require 'classnames'
-
+SIGNUP_TYPE = 'signup'
 CURRENT_WINDOW = undefined
 
 SECOND = 1000

    else
      _.delay( @windowClosedCheck, SECOND)

  render: ->
    classes = classnames('login-gateway', @props.className,
      'is-open': @state.loginWindow

        "left="  + (windowImpl.screen.width - width)   / 2].join()

      url = @urlForLogin()
      url += '&go=signup' if options.type is SIGNUP_TYPE
      CURRENT_WINDOW = windowImpl.open(url, 'oxlogin', windowOptions)


