Type.registerNamespace('KeyView');
KeyView.HelpService=function() {
KeyView.HelpService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
KeyView.HelpService.prototype={
GetHelpText:function(Id,succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.HelpService.get_path(), 'GetHelpText',false,{Id:Id},succeededCallback,failedCallback,userContext); }}
KeyView.HelpService.registerClass('KeyView.HelpService',Sys.Net.WebServiceProxy);
KeyView.HelpService._staticInstance = new KeyView.HelpService();
KeyView.HelpService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; KeyView.HelpService._staticInstance._path = value; }
KeyView.HelpService.get_path = function() { return KeyView.HelpService._staticInstance._path; }
KeyView.HelpService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
KeyView.HelpService._staticInstance._timeout = value; }
KeyView.HelpService.get_timeout = function() { 
return KeyView.HelpService._staticInstance._timeout; }
KeyView.HelpService.set_defaultUserContext = function(value) { 
KeyView.HelpService._staticInstance._userContext = value; }
KeyView.HelpService.get_defaultUserContext = function() { 
return KeyView.HelpService._staticInstance._userContext; }
KeyView.HelpService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; KeyView.HelpService._staticInstance._succeeded = value; }
KeyView.HelpService.get_defaultSucceededCallback = function() { 
return KeyView.HelpService._staticInstance._succeeded; }
KeyView.HelpService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; KeyView.HelpService._staticInstance._failed = value; }
KeyView.HelpService.get_defaultFailedCallback = function() { 
return KeyView.HelpService._staticInstance._failed; }
KeyView.HelpService.set_path("/WebServices/HelpService.asmx");
KeyView.HelpService.GetHelpText= function(Id,onSuccess,onFailed,userContext) {KeyView.HelpService._staticInstance.GetHelpText(Id,onSuccess,onFailed,userContext); }
