I have to put in another vote for jQuery. It is dead-simple to use and makes your javascript much cleaner.
As an example, if you want to add an onclick event to all the divs inside an element with id "clickdivs", you just do this:
function clickedme(event) {
alert('Someone clicked me!');
}
$('#clickdivs div').click(clickedme);
Your HTML would look like this:
Click Here
And Here
Not here
Click Here Too
Viola!