The comp.lang.javascript FAQ is maintained by Jim Ley
Have a look round the rest of his site for example scripts and more.