var getText=function() {
getText.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
getText.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return getText._staticInstance.get_path();},
getArticleText:function(ID,succeededCallback, failedCallback, userContext) {
/// <param name="ID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'getArticleText',false,{ID:ID},succeededCallback,failedCallback,userContext); },
getMenuPaths:function(restid,succeededCallback, failedCallback, userContext) {
/// <param name="restid" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'getMenuPaths',false,{restid:restid},succeededCallback,failedCallback,userContext); }}
getText.registerClass('getText',Sys.Net.WebServiceProxy);
getText._staticInstance = new getText();
getText.set_path = function(value) {
getText._staticInstance.set_path(value); }
getText.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return getText._staticInstance.get_path();}
getText.set_timeout = function(value) {
getText._staticInstance.set_timeout(value); }
getText.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return getText._staticInstance.get_timeout(); }
getText.set_defaultUserContext = function(value) { 
getText._staticInstance.set_defaultUserContext(value); }
getText.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return getText._staticInstance.get_defaultUserContext(); }
getText.set_defaultSucceededCallback = function(value) { 
 getText._staticInstance.set_defaultSucceededCallback(value); }
getText.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return getText._staticInstance.get_defaultSucceededCallback(); }
getText.set_defaultFailedCallback = function(value) { 
getText._staticInstance.set_defaultFailedCallback(value); }
getText.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return getText._staticInstance.get_defaultFailedCallback(); }
getText.set_path("/getText.asmx");
getText.getArticleText= function(ID,onSuccess,onFailed,userContext) {
/// <param name="ID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
getText._staticInstance.getArticleText(ID,onSuccess,onFailed,userContext); }
getText.getMenuPaths= function(restid,onSuccess,onFailed,userContext) {
/// <param name="restid" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
getText._staticInstance.getMenuPaths(restid,onSuccess,onFailed,userContext); }

