original code of [Scriptin’ with JavaScript and Ajax A Designer’s Guide_code]