Move document.ready function to a separate javascript fucntion?
<p>Is it possible to move the following code within a jQuery document.ready function into a separate javascript function, so that it can be called just like any other javascript function, i.e.:</p>

<pre><code>&lt;script type="text/javascript"&gt; 
$(document).ready(function()
{
   $('div#infoi img[title]').qtip({
      position: { 
         adjust: { x:-110, y:0 },
         corner: {
            target: 'bottomLeft',
            tooltip: 'topMiddle'
         }
      },
      style: {
        width: 250,
        padding: 5,
        background: '#E7F1FA',
        color: 'black',
        textAlign: 'center',
        border: {
          width: 3,
          color: '#65a9d7'
        },
        tip: 'topRight'
      }
   });
});
&lt;/script&gt;
</code></pre>

<p>If yes, then how - if not, then that answers my question.</p>

<p>Thanks.</p>
