">
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");
});
node = Event.element(ev).parentNode;
if(node.tagName.toLowerCase() != 'li')
node = node.parentNode;
Element.addClassName(node, "active");
});
});
});