what is wrong with this jquery?
<p>I cant seem to figure this out. Something within this jquery code is breaking my site:</p>

<pre><code>    $('.menu li').click(function() {
        nextslide = $(this).attr('id').replace('m_', '');

        if ($('#m_till').hasClass('active'))
            currentslide = 'till';
        else if ($('#m_receipts').hasClass('active'))
            currentslide = 'receipts';
        else
            currentslide = 'support';   

        slide_right(currentslide, nextslide);
    }
</code></pre>

<p>When I remove this code, my site works fine. So it has to be something within this function that is causing the problem.</p>
