[jQuery] How to activate a click dynamically on a link and also call another function

[jQuery] How to activate a click dynamically on a link and also call another function


I have a link as follows.
<a href="march2009.html" onclick="return hs.htmlExpand(this,
{contentId: 'highslide-html-1', objectWidth: 600, objectHeight: 510,
width: 600})" id="leadershipMsgId" class="highslide whiteul">Message</
a>
In jQuery, I would like to automatically invoke a click event on the
above link (calls htmlExpand function) based on a condition and also I
would like to call another function (showHideLeadershipMsg) after the
link is invoked.
The following code does not work properly.
if(newLdrshipMsg) {
    $('#leadershipMsgId').click(); //works
    $('#leadershipMsgId').click( function() {
        showHideLeadershipMsg(curMessageNum,'leadershipMsgCk'); //not
getting called
    });
}
What am I missing ?