Use prototype to capture events so the menus work on IE