Quick help please!

If you want some javascript to only occur if you're using IE (like 4+), how do you specify it?

I'd like to make it more than just IE4 but I don't know every single browser which supports the javascript command. It's field disabling and worked on IE but not NS.