It's a shame that you'll be (potentially) removing the first style, as I find it more elegant and watir-esque, although I have had some issues using it. Either way, let me know which is the preferred method and I'll update http://watirwebdriver.com/javascript-dialogs/
-- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com