onExpand question

hello

Iwonder if someone could help explane how to do this.
I use a Ghostwire Studio component. It´s an collapsibale menu.
It rellay works fine but i can´t seem to fix one thing.
I use the command:

MyMenuBar.onExpand=function(id)
{
(1);gotoAndStop (“prodett”)

};

and it works fine.
But my problem is that I have 8 headmenues in my menu and I would like them to go to their own labels. For example I´ve tried this:

MyMenuBar.onExpand=function(id)
{
(1);gotoAndStop (“prodett”)
(2);gotoAndStop (“prodtva”)

};

But it will always go to (“prodtva”)

Hope that someone could help me out with this one.

/micron