/*
 * @package AJAX_Chat
 * @author Sebastian Tschan
 * @copyright (c) Sebastian Tschan
 * @license GNU Affero General Public License
 * @link https://blueimp.net/ajax/
 */

// Overriding client side functionality:

/*
// Example - Overriding the replaceCustomCommands method:
ajaxChat.replaceCustomCommands = function(text, textParts) {
	return text;
}
 */
 
ajaxChat.handleLogout = function(url) {
   setTimeout("window.close()", 1);
}
ajaxChat.customInitialize = function() {
	ajaxChat.addChatBotMessageToChatList('<b style="color: #D03020;">Welcome to the POTF Chatbox!</b> Please read our <a href="../viewtopic.php?t=2066" target="_blank">forum rules</a> carefully, they apply here too. Have fun!');
}

