How to minimize my jQuery script
<p>I'm working on simples actions from jQuery Library.</p>

<p><code></p>

<pre><code>$('#hasAccount').click(function() {
        $('.authForm').slideDown(500, function() {
            if ($('.shippingAddress').is(':visible')) {
                $('.shippingAddress').slideUp(250);
            }
        });
});

$('#hasNotAccount').click(function() {
        $('.shippingAddress').slideDown(500, function() {
            if ($('.authForm').is(':visible')) {
                $('.authForm').slideUp(250);
            }
        });
});
</code></pre>

<p></code></p>

<p>Here is the code working : <a href="http://jsfiddle.net/6tZQ2/2/" rel="nofollow">http://jsfiddle.net/6tZQ2/2/</a></p>

<p>It's very simple, but I'm wondering if there are any solutiosn to minimalize this script as 1 action ?</p>

<p>Thanks :-)</p>
