Type.registerNamespace('mresolution_com.Webservice');
mresolution_com.Webservice.Lookup=function() {
mresolution_com.Webservice.Lookup.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
mresolution_com.Webservice.Lookup.prototype={
GetCounties:function(stateid,succeededCallback, failedCallback, userContext) {
return this._invoke(mresolution_com.Webservice.Lookup.get_path(), 'GetCounties',false,{stateid:stateid},succeededCallback,failedCallback,userContext); },
GetZipInformation:function(zip,succeededCallback, failedCallback, userContext) {
return this._invoke(mresolution_com.Webservice.Lookup.get_path(), 'GetZipInformation',false,{zip:zip},succeededCallback,failedCallback,userContext); },
GetAccount:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(mresolution_com.Webservice.Lookup.get_path(), 'GetAccount',false,{email:email},succeededCallback,failedCallback,userContext); }}
mresolution_com.Webservice.Lookup.registerClass('mresolution_com.Webservice.Lookup',Sys.Net.WebServiceProxy);
mresolution_com.Webservice.Lookup._staticInstance = new mresolution_com.Webservice.Lookup();
mresolution_com.Webservice.Lookup.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; mresolution_com.Webservice.Lookup._staticInstance._path = value; }
mresolution_com.Webservice.Lookup.get_path = function() { return mresolution_com.Webservice.Lookup._staticInstance._path; }
mresolution_com.Webservice.Lookup.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); }
mresolution_com.Webservice.Lookup._staticInstance._timeout = value; }
mresolution_com.Webservice.Lookup.get_timeout = function() { 
return mresolution_com.Webservice.Lookup._staticInstance._timeout; }
mresolution_com.Webservice.Lookup.set_defaultUserContext = function(value) { 
mresolution_com.Webservice.Lookup._staticInstance._userContext = value; }
mresolution_com.Webservice.Lookup.get_defaultUserContext = function() { 
return mresolution_com.Webservice.Lookup._staticInstance._userContext; }
mresolution_com.Webservice.Lookup.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; mresolution_com.Webservice.Lookup._staticInstance._succeeded = value; }
mresolution_com.Webservice.Lookup.get_defaultSucceededCallback = function() { 
return mresolution_com.Webservice.Lookup._staticInstance._succeeded; }
mresolution_com.Webservice.Lookup.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; mresolution_com.Webservice.Lookup._staticInstance._failed = value; }
mresolution_com.Webservice.Lookup.get_defaultFailedCallback = function() { 
return mresolution_com.Webservice.Lookup._staticInstance._failed; }
mresolution_com.Webservice.Lookup.set_path("/Webservice/Lookup.asmx");
mresolution_com.Webservice.Lookup.GetCounties= function(stateid,onSuccess,onFailed,userContext) {mresolution_com.Webservice.Lookup._staticInstance.GetCounties(stateid,onSuccess,onFailed,userContext); }
mresolution_com.Webservice.Lookup.GetZipInformation= function(zip,onSuccess,onFailed,userContext) {mresolution_com.Webservice.Lookup._staticInstance.GetZipInformation(zip,onSuccess,onFailed,userContext); }
mresolution_com.Webservice.Lookup.GetAccount= function(email,onSuccess,onFailed,userContext) {mresolution_com.Webservice.Lookup._staticInstance.GetAccount(email,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(mresolution_com.Webservice.ValueText) === 'undefined') {
mresolution_com.Webservice.ValueText=gtc("mresolution_com.Webservice.ValueText");
mresolution_com.Webservice.ValueText.registerClass('mresolution_com.Webservice.ValueText');
}
if (typeof(mresolution_com.Webservice.ZipInformation) === 'undefined') {
mresolution_com.Webservice.ZipInformation=gtc("mresolution_com.Webservice.ZipInformation");
mresolution_com.Webservice.ZipInformation.registerClass('mresolution_com.Webservice.ZipInformation');
}
if (typeof(mresolution_com.Webservice.Account) === 'undefined') {
mresolution_com.Webservice.Account=gtc("mresolution_com.Webservice.Account");
mresolution_com.Webservice.Account.registerClass('mresolution_com.Webservice.Account');
}
