//======================================================================= // Copyright (c) 2005 Help Center Live. All Rights Reserved // This file is part of Help Center Live. // Help Center Live is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // Help Center Live is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with Help Center Live; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // Contributors: Michael Bird // File Comments: // This file is used to track visitors using javascript var ChatConnection1 = new Aardvark('ChatConnection1'); var ChatConnection2 = new Aardvark('ChatConnection2'); function Chat() { this.time = Misc.epoch(); this.mac = navigator.platform.indexOf('Mac'); this.image_width = 0; this.typing_flag = false; this.focus_flag = true; this.exit_flag = false; this.sounds_flag = true; this.close_flag = false; this.save_flag = false; this.size = ; this.span = ''; this.chat_timer = new Date(); this.start_timer = new Date(); this.total_time = 0; this.hours = 0; this.minutes = 0; this.seconds = 0; this.chat_message = ''; this.left_chat = false; this.encode = ''; this.chr = ''; this.busy = false; this.confirm = false; this.guest = ''; this.operator = ''; this.department = ''; this.chatid = ''; this.win = false;