I make it a habit to look at other CRM Blogs. I just finished reading Simon's post on hiding tabs. I don't like the way he did it, as it doesn't take into account what happens if a value changes while the user is editing the form, so look for a snippet from me that does the same thing in a different way. (Ok, he is in the UK, which leads to funny things. :-))
He uses the OnLoad Event and I think we should actually use OnLoad and OnChange Events.
But in his blog, he points to a killer tool, that allows you to click on things in a Web Page and get the item's name and properties. VERY handy for doing things like hiding tabs and fields. :-) It is called the Internet Explorer Developer Toolbar and is available at: http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en You can read about Simon's use of it at http://blogs.msdn.com/UKCRM/
On Monday or Tuesday, I will post both scripts as well as an easy way to use the Developer Toolbar.