How do I create 'JQuery' function calls and pass data to them?
<p>I'm adding tool tips using the qtip jquery plugin. I may add 50-60 tool tips over an entire site.</p>

<p>The way I've found to do it right now is ti cut/paste the jquery code over and over. For example:</p>

<pre><code>// First, setup a tool tip for 'Enter Username'.
$("input#user_login").qtip({
   content: 'Enter username',
   position: {
     corner: {
       target: 'rightMiddle',
       tooltip: 'leftMiddle'
     }
   },
   style: { 
     border: {
       width: 1,
       radius: 3,
       color: '#0066CC'
    },
    width: 200,
    name: 'blue'
  }   
});
</code></pre>

<p>Now, repeat everything for 'First Name'. Seems pointless.</p>

<pre><code>$("input#user_login").qtip({
   content: 'Enter First Name',
   position: {
     corner: {
       target: 'rightMiddle',
       tooltip: 'leftMiddle'
     }
   },
   style: { 
     border: {
       width: 1,
       radius: 3,
       color: '#0066CC'
    },
    width: 200,
    name: 'blue'
  }  
});
</code></pre>

<p>How do I create a function I can just pass the display text in to?</p>
