The following is a list of reserved words and words that you should avoid using in JavaScript for naming functions, variables etc.
abstract alert arguments Array blur boolean Boolean break byte callee caller captureEvents case catch char class clearInterval clearTimeout close closed confirm const constructor continue Date debugger default defaultStatus delete do document double else enum escape eval export extends false final finally find float for focus frames function Function goto history home if implements import in Infinity innerHeight innerWidth instanceof int interface isFinite isNaN java length location locationbar long Math menubar moveBy moveTo name NaN native netscape new null Number Object open opener outerHeight outerWidth package Packages pageXOffset pageYOffset parent parseFloat parseInt personalbar print private prompt protected prototype public RegExp releaseEvents resizeBy resizeTo return routeEvent scroll scrollbars scrollBy scrollTo self setInterval setTimeout short static status statusbar stop String super switch synchronized this throw throws toolbar top toString transient true try typeof unescape unwatch valueOf var void watch while with window