Horror of horrors - Javascript!

Each button should start its own interactive story. I am so inept with Javascript that I don't know how I can stop the stories from appearing in a new window.