- 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("mouseover", function (event) { enterMenuAnchor(anchor, anchor, menu, delay) });
+ anchor.observe("mouseout", function (event) { leaveMenuAnchor(event, anchor, menu) });
+ menu.observe("mouseout", function (event) { leaveMenu(event, anchor, menu) });