title: Simplifying a jQuery functions
body: <p>I was wondering the method of simplifying this script, because somehow I am repeating myself all over again...</p>
  
  <pre><code>$('.userprofile').click(function(){
      card_profile.load(url_settings).dialog('open');
  });
  $('.cust-profile').click(function(){
      card_profile.load(url_customer).dialog('open');
  });
  $('.my-profile').click(function(){
      card_profile.load(url_my).dialog('open');
  });
  </code></pre>