Hi,
Here is an example how to hide buttons in crm menu bar
function FideButton(buttonName){
var list = document.all.tags('SPAN');
for (var i = 0; i < list.length; i++) {
if (list[i].className.indexOf('ms-crm-Menu-Label') >= 0)
if ((list[i].title == buttonName || list[i].innerText == buttonName))
list[i].style.display = 'none';
}
}
Enjoy,
Rami Heleg.