Jonathan have dissected Prototype in a very nice graphics, this will give you a better view of the code and how it works.
In getting to know Prototype a little better, I decided to go through the latest version of the Prototype library (1.5.0_pre0) and detail every method and property that was available. In doing so, I got a much better understanding of how the code works (and how to work with library).

[...] … photo by Dmytro Shteflyuk © [...]