Type.registerNamespace('top30');
top30.word=function() {
top30.word.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
top30.word.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return top30.word._staticInstance.get_path();},
GetCompletionList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompletionList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
top30.word.registerClass('top30.word',Sys.Net.WebServiceProxy);
top30.word._staticInstance = new top30.word();
top30.word.set_path = function(value) { top30.word._staticInstance.set_path(value); }
top30.word.get_path = function() { return top30.word._staticInstance.get_path(); }
top30.word.set_timeout = function(value) { top30.word._staticInstance.set_timeout(value); }
top30.word.get_timeout = function() { return top30.word._staticInstance.get_timeout(); }
top30.word.set_defaultUserContext = function(value) { top30.word._staticInstance.set_defaultUserContext(value); }
top30.word.get_defaultUserContext = function() { return top30.word._staticInstance.get_defaultUserContext(); }
top30.word.set_defaultSucceededCallback = function(value) { top30.word._staticInstance.set_defaultSucceededCallback(value); }
top30.word.get_defaultSucceededCallback = function() { return top30.word._staticInstance.get_defaultSucceededCallback(); }
top30.word.set_defaultFailedCallback = function(value) { top30.word._staticInstance.set_defaultFailedCallback(value); }
top30.word.get_defaultFailedCallback = function() { return top30.word._staticInstance.get_defaultFailedCallback(); }
top30.word.set_enableJsonp = function(value) { top30.word._staticInstance.set_enableJsonp(value); }
top30.word.get_enableJsonp = function() { return top30.word._staticInstance.get_enableJsonp(); }
top30.word.set_jsonpCallbackParameter = function(value) { top30.word._staticInstance.set_jsonpCallbackParameter(value); }
top30.word.get_jsonpCallbackParameter = function() { return top30.word._staticInstance.get_jsonpCallbackParameter(); }
top30.word.set_path("/word.asmx");
top30.word.GetCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) {top30.word._staticInstance.GetCompletionList(prefixText,count,onSuccess,onFailed,userContext); }

