1) Script Title: Switch Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...switchmenu.htm

3) Describe problem: I am so sorry if this is a repeat of my last thread. I am nub at this posting and I think I might have post one earlier and did not get to finish.

Anyway, I am using Switch menu for my site. My set up is as follow:

TopicA
Item A1
Item A2
Item A3
TopicB
Item B1
Item B2
TopicC
Item C1
Item C2
Item C3

Everything work the way the script is supposed to work. Now from another site, I link to say "Item B2". What I want is that when it jump to "Item B2" the menu TopicB is opened/expanded. I have the following code, but it did not work.

<a href="itemb2.htm" onclick="SwitchMenu('sub2')">Go to ItemB2</a>

Can someone please advise me what to do? Thanks!!!