In case you'd like to learn more about these topics, you should consider visiting the following links:
The official ECMAScript reference, at http://www.ecma-international.org/publications/standards/ecma-262.htm
Handling errors in Internet Explorer, at http://msdn.microsoft.com/library/en-us/dnscrpt/html/WebErrors2.asp
Until next time...be good!
Note: Examples are illustrative only, and are not meant for a production environment. Code samples in this article have been tested on Microsoft Internet Explorer 6.0. Melonfire provides no warranties or support for the source code described in this article. YMMV!