- anchor.onmouseover = function (event) { enterMenuAnchor(anchor, anchor, menu, delay) };
- anchor.onmouseout = function (event) { leaveMenuAnchor(event, anchor, menu) };
- menu.onmouseout = function (event) { leaveMenu(event, anchor, menu) };
+ anchor.observe("mouseup", function (event) { closeMenu(menu) });
+ anchor.observe("mouseover", function (event) { enterMenuAnchor(anchor, anchor, menu, delay, align) });
+ anchor.observe("mouseout", function (event) { leaveMenuAnchor(event, anchor, menu) });
+ menu.observe("mouseup", function (event) { closeMenu(menu) });
+ menu.observe("mouseout", function (event) { leaveMenu(event, anchor, menu) });