title: jQuery if statement inside click function
body: <p>I have a click event inside of which I would like to load different divs according to what has been clicked:</p>
  
  <pre><code>var open = $('.open');
  open.click(function(evt) {
      evt.preventDefault();
      overlay.fadeIn(400, function(){
          box.fadeIn(500);
          // if something load box2
          // if something load box3
      });
  </code></pre>
  
  <p><a href="http://jsfiddle.net/bLDXS/" rel="nofollow">http://jsfiddle.net/bLDXS/</a></p>
  
  <p>Open is a class given to the links which relate to box, box2 and box3.
  How can I load the content for box2, would I have to use a specific class for each of them?</p>