title: Jquery incorporate a second .click option inside a working if statement
body: <p>I got a question? I got this code, the thing that I want to achieve is to incorporate a click2 on just the 2nd click of the if statement? Is that possible or do I sound like a weirdo?</p>
  
  <p>It's because I used a .slidetoggle but when I separate a .click(close button) script, it messes up the toggle mechanism...</p>
  
  <p>If its not possible, is there any option?</p>
  
  <p><a href="http://jsfiddle.net/2xe8a/11/" rel="nofollow">http://jsfiddle.net/2xe8a/11/</a></p>
  
  <pre><code>$('#click').click(function(){
      var clicked = $(this).data('clicked');
  
      if ( clicked ) {
          alert('second time');
      }else{
          alert('first time');
      }
  
      $(this).data('clicked', !clicked);
  });
  </code></pre>
  
  <p>Thanks a million!</p>