Please use a libary to ensure cross browser compatibility. jQuery is a great free library with an active community developing it plus loads of plugins. I strongly advise you to use
jQuery[
^] or maybe even
PrototypeJS[
^]. I wouldn't really recommend PrototypeJS anylonger since jQuery is the better alternative in my opinion, but having an alternative can be handy sometimes :).
Regards,
Manfred