I'm a novice scripter with very little experience with JavaScript. I'm trying to convert an AppleTalk script to JavaScript. I've been able to create a book and now I want to add documents to it. This is the code I'm using: