reuse code when binding to click
<p>Given the following:</p>

<pre><code>  $(document).ready(function() {

    $('a.went-cold-turkey').click(function() {
      $("body").css("cursor", "progress");
      var activity_day = this.rel;
      $.ajax({
          url: this.href,
          type: "GET",
          cache: false,
          success: function (html) {
            $('#'+activity_day).replaceWith(html);
            $("body").css("cursor", "auto");
          }
      });
      return false;
    });

    $('a.did-it-once').click(function() {
      $("body").css("cursor", "progress");
      var activity_day = this.rel;
      $.ajax({
          url: this.href,
          type: "GET",
          cache: false,
          success: function (html) {
            $('#'+activity_day).replaceWith(html);
            $("body").css("cursor", "auto");
          }
      });
      return false;
    });

  });
</code></pre>

<p>As you can see both ".click" calls are practically identical.  How can I share repetitive code in both to keep things DRY?</p>
