});
firephoque.setPromptHandler(new PromptHandler() {
public String handlePrompt(Page page, String string) {
try {
Window window = (Window)page.getEnclosingWindow().getScriptObject();
Object result = window.custom_eval(
"parent.selenium.browserbot.recordedPrompts.push('" + string.replace("'", "\\'")+ "');" +
"var result = !parent.selenium.browserbot.nextConfirmResult ? null : parent.selenium.browserbot.nextPromptResult;" +
"parent.selenium.browserbot.nextConfirmResult = true;" +
"parent.selenium.browserbot.nextPromptResult = '';" +
"result"