I remember seeing a pretty nifty javascript framework/library a while ago, that let you make functions to assign onEvent code to your classes and IDs instead of putting them in the HTML code. E.g it saved you from having to do things like this:

Code:
<div onClick='someFunction();'>
It also had a google groups discussion board. If someone knows which one I'm talking about could you please tell me the name or point me to its url?