Erratum
For all moodlers : The attached code in the first post has been UPDATED use the one attached here.
The new file "confirm_chat" is a .php file NOT an .html as in the first post instructions.
Tony the correct code is in the attachement. It now works for ie and netscape.