title: How to create popup using jquery
body: <p>I want to create dialog using jQuery, which can create like and object in java.</p>
  
  <pre><code>var popupObject = $.popup({option1:'dd', option2: 'ccc'});
  </code></pre>
  
  <p>Then I can control popup like this:</p>
  
  <pre><code>popupObject.show();
  popupObject.hide();
  </code></pre>
  
  <p>I need this coding style for apply to JSF controlling.</p>
  
  <p>How can I coding in jQuery?</p>
  
  <p>Please help me, I search for long time.</p>