One of the beauties of prototype is in the way it allows us to extend its functionality. Building custom snippets of code has never been easier. The philosophy behind it is to keep core-level things at a minimum, but provide a convenient way to extend them.
rnThe magic method is Element.addMethods
The syntax is quite simple:
rnrnElement.addMethods({rn method1: function() { ... },rn method2: function() { ... },rn ...rnrn})

