var autocompletePostCode=function() {
autocompletePostCode.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
autocompletePostCode.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return autocompletePostCode._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); }}
autocompletePostCode.registerClass('autocompletePostCode',Sys.Net.WebServiceProxy);
autocompletePostCode._staticInstance = new autocompletePostCode();
autocompletePostCode.set_path = function(value) { autocompletePostCode._staticInstance.set_path(value); }
autocompletePostCode.get_path = function() { return autocompletePostCode._staticInstance.get_path(); }
autocompletePostCode.set_timeout = function(value) { autocompletePostCode._staticInstance.set_timeout(value); }
autocompletePostCode.get_timeout = function() { return autocompletePostCode._staticInstance.get_timeout(); }
autocompletePostCode.set_defaultUserContext = function(value) { autocompletePostCode._staticInstance.set_defaultUserContext(value); }
autocompletePostCode.get_defaultUserContext = function() { return autocompletePostCode._staticInstance.get_defaultUserContext(); }
autocompletePostCode.set_defaultSucceededCallback = function(value) { autocompletePostCode._staticInstance.set_defaultSucceededCallback(value); }
autocompletePostCode.get_defaultSucceededCallback = function() { return autocompletePostCode._staticInstance.get_defaultSucceededCallback(); }
autocompletePostCode.set_defaultFailedCallback = function(value) { autocompletePostCode._staticInstance.set_defaultFailedCallback(value); }
autocompletePostCode.get_defaultFailedCallback = function() { return autocompletePostCode._staticInstance.get_defaultFailedCallback(); }
autocompletePostCode.set_path("/webservices/autocompletePostCode.asmx");
autocompletePostCode.GetCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) {autocompletePostCode._staticInstance.GetCompletionList(prefixText,count,onSuccess,onFailed,userContext); }
