hideElement() Hide all occurrences of a specified element on a page. Example: hideElement('select') . Useful for hiding select fields that show through dHTML menus.
function hideElement(theTag) {
for (i = 1; i < document.all.tags(theTag).length; i++) {
obj = document.all.tags(theTag)[i];
obj.style.visibility = "hidden";
}
}