Help shortening repeated jQuery event listeners
<p>My code repeats as follows:</p>

<pre><code>$("#school-name").autocomplete("/ajax/campus_ajax.php", {
    width: 218,
    delay: 300,
    selectFirst: false,
    resultsClass: 'ac_results_class',
    loadingClass: 'ac_loading',
    formatItem: function(data)
    {
        if (data[2]) 
        { 
            return data[0] + '&lt;small&gt;' + data[2] + '&lt;/small&gt;'; 
        }
        else
        {
            return data[0];
        }
    }
});

$("#school-name-optional").autocomplete("/ajax/campus_ajax.php", {
    width: 358,
    delay: 300,
    selectFirst: false,
    resultsClass: 'ac_results_book',
    loadingClass: 'ac_loading',
    formatItem: function(data)
    {
        if (data[2]) 
        { 
            return data[0] + '&lt;small&gt;' + data[2] + '&lt;/small&gt;'; 
        }
        else
        {
            return data[0];
        }
    }
});
</code></pre>

<p>As you can see, the two event listeners only differ in a couple of parameters.  How should I shorten this code?</p>
