I have a class of html objects named sub_menus.
They are part of a drop down menu system. what i want to be able to do is
hide all menus in one command.
i.e
document.getElementById(sub_menu).style.visibility = 'visible';
Is it possible to do something like this with javascript??? Or will i need
to call each class object in turn by id to hide them???