Hi Hugh,
Welcome to JavaRanch!
Let me start off by teaching you one important thing about JavaScript: it's totally, utterly, completely, unquestionably unrelated to
Java. They're both programming languages, and they both have niches in Web programming, but that's about it.
Now, JavaRanch is mostly about Java, not JavaScript. But we do have one forum where JavaScript is on-topic: it's our
HTML and JavaScript forum. And there's actually a dyed-in-the-wool JavaScript wizard who runs the place. I'm going to move this
thread over to that forum, where you'll surely get the help you need. Just follow the link above to find your moved message.
See you around the Ranch!