jquery flip tabs issue
<p>I have three tabs on my homepage. First tab has Search box and when i search any keyword in the text box and hit the search button, result doesn't appear because of the the following jquery. And when i remove this script, search button works fine. Any idea, what is am i missing?</p>

<pre><code>    $('document').ready(function() {
        $('#flip-container').quickFlip();

        $('#flip-navigation li a').each(function() {
            $(this).click(function($) {
                $('#flip-navigation li').each(function() {
                    $(this).removeClass('selected');
                });
                $(this).parent().addClass('selected');
                var flipid = $(this).attr('id').substr(4);
                $('#flip-container').quickFlipper({}, flipid, 1);

                return false;
            });
        });
    });
</code></pre>
