var LiveChat=function() {
LiveChat.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LiveChat.prototype={
SaveLiveChatmessage:function(LiveChatId,MessageText,CreatedBy,succeededCallback, failedCallback, userContext) {
return this._invoke(LiveChat.get_path(), 'SaveLiveChatmessage',false,{LiveChatId:LiveChatId,MessageText:MessageText,CreatedBy:CreatedBy},succeededCallback,failedCallback,userContext); },
GetSessionState:function(LiveChatId,succeededCallback, failedCallback, userContext) {
return this._invoke(LiveChat.get_path(), 'GetSessionState',false,{LiveChatId:LiveChatId},succeededCallback,failedCallback,userContext); },
GetMessages:function(LiveChatId,succeededCallback, failedCallback, userContext) {
return this._invoke(LiveChat.get_path(), 'GetMessages',false,{LiveChatId:LiveChatId},succeededCallback,failedCallback,userContext); }}
LiveChat.registerClass('LiveChat',Sys.Net.WebServiceProxy);
LiveChat._staticInstance = new LiveChat();
LiveChat.set_path = function(value) { LiveChat._staticInstance._path = value; }
LiveChat.get_path = function() { return LiveChat._staticInstance._path; }
LiveChat.set_timeout = function(value) { LiveChat._staticInstance._timeout = value; }
LiveChat.get_timeout = function() { return LiveChat._staticInstance._timeout; }
LiveChat.set_defaultUserContext = function(value) { LiveChat._staticInstance._userContext = value; }
LiveChat.get_defaultUserContext = function() { return LiveChat._staticInstance._userContext; }
LiveChat.set_defaultSucceededCallback = function(value) { LiveChat._staticInstance._succeeded = value; }
LiveChat.get_defaultSucceededCallback = function() { return LiveChat._staticInstance._succeeded; }
LiveChat.set_defaultFailedCallback = function(value) { LiveChat._staticInstance._failed = value; }
LiveChat.get_defaultFailedCallback = function() { return LiveChat._staticInstance._failed; }
LiveChat.set_path("/LiveChat.asmx");
LiveChat.SaveLiveChatmessage= function(LiveChatId,MessageText,CreatedBy,onSuccess,onFailed,userContext) {LiveChat._staticInstance.SaveLiveChatmessage(LiveChatId,MessageText,CreatedBy,onSuccess,onFailed,userContext); }
LiveChat.GetSessionState= function(LiveChatId,onSuccess,onFailed,userContext) {LiveChat._staticInstance.GetSessionState(LiveChatId,onSuccess,onFailed,userContext); }
LiveChat.GetMessages= function(LiveChatId,onSuccess,onFailed,userContext) {LiveChat._staticInstance.GetMessages(LiveChatId,onSuccess,onFailed,userContext); }

