http://pietschsoft.com/post/2006/06/01/JavaScript-Loop-through-all-elements-in-a-form
Anonymous
Use simple algorithms as well as simple data structures.