Maybe you want to redefine window.confirm all together....?
I've written down an example of how you can redefine window.alert here:
http://www.moedata.biz/blog My example has extensive use of libraries, so the example itself might not be that useful for you, but the concept of redefining is described and there's a link in the post to some simpler code.
Regards,
Roy
[ August 17, 2006: Message edited by: Roy Ivar Moe ]
[ August 17, 2006: Message edited by: Roy Ivar Moe ]