slideUp is not working
<p>following is my code. slideDown is working fine , but slideUp is not working. what is the mistake in my code.</p>

<pre><code>var a=0;

$(document).ready(function() {
    $("#login").click(function(){

    if (a==0){
            $("#banner").slideDown("slow");
            a=1;
        } else {
            $("#banner").slideUp("slow");
            a=0;
        }
    }); 

});
</code></pre>
