Whit a mouseover event it's easy to change css properties:

onMouseOver="menu_1.style.background='#7e7ea2';"
onMouseOut="menu_1.style.background='#2f2f3f';"

But what I'd really like to do is to change the class:

onMouseOver="menu_1.something.to.set.class='menu_mousover';"
onMouseOut="menu_1.something.to.set.class='menu_off';"

That way I could control the look of the mouseover event from within a linked stylesheet which just seems like a practical thing to do

Any thoughts?

Greetings

Rik