Based on the "Graffiti Wall" example, I have extended and enhanced certain aspects of it. Notably, a simple java script modification was made to avoid flickering.
This mini-project was done to investigate the use SAJAX (Simple Ajax Toolkit) in my CMPT 470 project. Although the use of SAJAX in the subsequent was not appreciated by CMPT 470's instructor, I still believe it's a promising design paradigm that would be used well in building rich web applications.
To use the chatroom in your website, you would also need the SAJAX package from ModernMethod.