 resourcesDomain = anchortab?.resourcesDomain || parser.hostname
 secureResourcesDomain = anchortab?.secureResourcesDomain || parser.hostname
 jqVersion = "1.9.1"
+clientUsesGaq = false
 
 window.anchortab = window.anchortab || {}
 window.anchortab.i18n = {}

    # After the script is loaded, we need to make sure to reassign our local
    # _gaq to the _gaq loaded by Google Analytics.
    loadScript analyticsSrc

isAcceptableJQuery = ->
  jQueryVersionPieces = jQuery.fn.jquery.split(".")

      gaqInfo = "Domain: " + document.domain
      _gaq.push ["at._trackEvent", "Submission", "Email Submitted", gaqInfo]

      if clientUsesGaq
        _gaq.push ["_trackEvent", "Anchor Tab Submission", "Email Submitted", gaqInfo]

      setTimeout ->
        $("#anchor-tab")
          .removeClass("visible")
