If you are working with JavaScript, run, do not walk, over to Douglas Crockford's site and read his writings on JavaScript. We'll be here when you complete the assignment.
Back so soon? Now go over to jibbering.com's closures page and read up. Go ahead, it's ok.
Ok, now that you're back, and even if you aren't a dummy, read JavaScript closures for dummies.
If you need to debug JavaScript code and you are using FireFox, run, do not walk, over to Mozilla's FireFox add-ins page and install the latest FireBug debugger. Do it. Now. Really.
If you haven't yet worked with jQuery, check it out.
These tools will prevent needless suffering, make you a better lover, whiten your teeth, give you fresher breath, and make you feel years younger. No kidding.