[jQuery] Superfish: How do I force the menu to close

[jQuery] Superfish: How do I force the menu to close


I am using the Superfish extension with HoverIntent and it works
great, but the biggest complaint I'm getting is that the menu tree
isn't closing when a user clicks on a terminal branch of the tree
until the mouse is moved off the menu.
I've coded an OnClick event to launch the page in a frame and call
doClearMenu(), but that's where I'm stuck. I'm think I just need to
clear the timer, but my JavaScript skills are fairly basic and I'm not
sure how to do that. Any help would be great. Here's basically what I
have:
<script type="text/javascript">
    jQuery(function(){jQuery('ul.menu').superfish({
        delay: 700, // 0.7 second delay on
mouseout
        animation: {opacity:'show',height:'show'}, // fade-in and slide-
down animation
        speed: 'fast', // faster animation
speed
        autoArrows: true, // enable generation of
arrow mark-up
        dropShadows: true // enable drop shadows
});
    });
</script>
<script type="text/javascript">
function doClearMenu(){
alert("Find a way to close the menu!");
}
</script>
//* The UL menu begins here *//