Toggle still open while login
===

i have this one:

    <div id="Loginbox" style="height:100px; display:none">This is my Loginform</div>

    $('#MouseClick').click(function () {
    $('#Loginbox').slideToggle('5000', "swing", function () {
        // Animation complete.
    });
    });

if username & password dont match by submitting form the LoginBox will close!
but i need the LoginBox still open till the user login success.

also after login success would load another content "#OrderBox".

    <div id="Orderbox" style="height:100px; display:none">This is my Orderform</div>