This script is from the Official Netscape Javascript 1.2 Book