">
User->isInRole('manager') %> >
">
">
User->isInRole('admin') %> >
">
Event.OnLoad(function()
{
menuitems = $$(".menuitem");
menuitems.each(function(el)
{
Event.observe(el, "mouseover", function(ev)
{
menuitems.each(function(item)
{
Element.removeClassName(item.parentNode, "active");
});
Element.addClassName(Event.element(ev).parentNode, "active");
});
});
});