Don't know if this is what you want, but this will change the titlebar text between 2 different sayings, a la flashing.
<script language=javascript>
function flasher(val)
{
var msg1 = "New chat request"; //Your message goes here
var msg2 = ""; //This just makes the flashing illusion
var blinkrate = 500; //This can be adjusted for a faster or slower blinking rate
var option = val; //This variable tells which message to show in the titlebar
if(option == 0){
titlemsg = msg1; //Set the title to message 1
option = 1; //Change option so when timer expires other ifthen runs
}
else if(option == 1){
titlemsg = msg2; //Set the title to message 2
option = 0; //Change option so when timer expires other ifthen runs
}
document.title = titlemsg; //Set titlebar to chosen message
timer = window.setTimeout("flasher("+pos+")",blinkrate); //Setup a timer to constantly switch
}
flasher(0); //Execute the function on page load, but this function could be called on an event and turned off with another event
</script>
Just a thought, maybe we can do something with it.