I have just realised that the friend who gave me this code got it from MM FireWorks (guess thats what the FW stands for). MM have a patch for this problem but it means I have to upgrade to FW4... no thanks. Does anybody else have any code out there for this type of pop up menu that is solidly browser compatible? (IE4+, NN4+).
PS - I wonder if MM should be dishing up this code for free anyway as they have openly just amended Gary Smith's menu.js from DevEdge (which is freeware).