[jQuery] Writing Function to change effect

[jQuery] Writing Function to change effect


Hello.
I need to pretty much write a toggle. I am having mixed thoughts about
the built in toggle that comes with jQuery.
Its not doing what I want it to do.
Heres my current script and it doesnt work. Can somebody please help
me out with syntax? Thanks
<script type="text/javascript">
$(document).ready(function() {
    $('p.profile').hide();
    $('a#profile_menu').click( function() {
        if ($('p.profile').visible == True) {
            $('p.profile').hide();
        } else {
            $('p.profile').fadeIn('slow');
        }
    });
});
</script>