Lines Matching refs:ajax_chat
18 var ajax_chat = null; variable
555 ajax_chat = new Ajax_chat_class("ajax_chat", outId, pageId, lastRefresh, window);
559 if (ajax_chat === null) {
570 ajax_chat.chatCheck();
574 if (ajax_chat === null) {
578 if (ajax_chat.refresh > AJAXCHAT_SHORT_INTERVAL) {
579 ajax_chat.refresh = AJAXCHAT_SHORT_INTERVAL;
580 ajax_chat.lastChatAreaUpdate = (new Date()).getTime();
581 ajax_chat.updateInfo('ajaxRefreshInterval',ajax_chat.refresh+'sec');
588 if (ajax_chat === null) {
594 if ((now - ajax_chat.lastChatAreaUpdate)/1000 < 30) {
595 if (ajax_chat.refresh > AJAXCHAT_SHORT_INTERVAL) {
596 ajax_chat.refresh = AJAXCHAT_SHORT_INTERVAL;
597 ajax_chat.updateInfo('ajaxRefreshInterval',ajax_chat.refresh+'sec');
607 ajax_chat.lastChatAreaUpdate = now;
612 if (ajax_chat.lastSend > 0) {
614 if (now - (ajax_chat.lastSend*1000) < 1000) {
655 ajax_chat.chatSend(user,msg);
672 ajax_chat.chatClear(user);
824 ajax_chat.chatCheck();