Some docs about the prototype framework:

http://www.prototypejs.org/