One button, two functions?

Alright so I have this movie. And there is this little animation at the top that drops down and shows the page name. I also have two buttons that will allow the user to make the animation move up off the screen, and then if they want back down again. Both buttons work fine and the animation goes off with out a hitch.

Now what I would like to do is have just one button that does both of these things. Pretty much if the animation is down, they click the button, it goes up, and vice versa. I am pretty sure this would have something to do with the “if” and “else”. I have tried several diffrent times but either it won’t work or I get scripting errors.

Anyway here is the script I am using right now

//this will close the page header
close_btn.onRelease = function () {
_parent.page_header.gotoAndPlay(“close”);
};
//this will open the page header
open_btn.onRelease = function () {
_parent.page_header.gotoAndPlay(“down”);
};

Pretty basic stuff. Any help would be most appriciated