When there are multiple chats open and a client replies, their chat window takes focus. This can be painfully frustrating if you have multiple chat windows open and trying to respond to multiple clients.
change:
/libs/common.php (distro default line 470 )
return "<a href=\"$href\" target=\"_blank\" " . ($title ? "title=\"$title\" " : "") . "onclick=\"if(navigator.userAgent.toLowerCase().indexOf('opera') != -1 && window.event.preventDefault) window.event.preventDefault();this.newWindow = window.open($jshref, '$wndName', '$options');this.newWindow.focus();this.newWindow.opener=window;return false;\">$message</a>";
remove this bit in the line, make sure to leave only one semicolon between the remaining calls.
this.newWindow.focus();
so it will now read:
return "<a href=\"$href\" target=\"_blank\" " . ($title ? "title=\"$title\" " : "") . "onclick=\"if(navigator.userAgent.toLowerCase().indexOf('opera') != -1 && window.event.preventDefault) window.event.preventDefault();this.newWindow = window.open($jshref, '$wndName', '$options');this.newWindow.opener=window;return false;\">$message</a>";