var WSLocation=function() {
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WSLocation.prototype={
GetStatesProvinces:Sys.Net._WebMethod._createProxyMethod(this,"GetStatesProvinces", "WSLocation.GetStatesProvinces",false,"country"),
GetCities:Sys.Net._WebMethod._createProxyMethod(this,"GetCities", "WSLocation.GetCities",false,"country","stateProvince"),
GetPostalZips:Sys.Net._WebMethod._createProxyMethod(this,"GetPostalZips", "WSLocation.GetPostalZips",false,"country","city"),
GetLocationFromPostalZip:Sys.Net._WebMethod._createProxyMethod(this,"GetLocationFromPostalZip", "WSLocation.GetLocationFromPostalZip",false,"PostalZip"),
SetLocation:Sys.Net._WebMethod._createProxyMethod(this,"SetLocation", "WSLocation.SetLocation",false,"PostCountry","PostStatesProvinces","PostCities","PostPostalZip"),_get_path: function() { return WSLocation.get_path(); },
    set_timeout: function(value) { this._timeout = value; },
    get_timeout: function() { return this._timeout; },
    set_defaultUserContext: function(value) { this._userContext = value; },
    get_defaultUserContext: function() { return this._userContext; },
    set_defaultSucceededCallback: function(value) { this._succeeded = value; },
    get_defaultSucceededCallback: function() { return this._succeeded; },
    set_defaultFailedCallback: function(value) { this._failed = value; },
    get_defaultFailedCallback: function() { return this._failed; }
}
WSLocation._staticInstance = new WSLocation();
WSLocation.set_path = function(value) { WSLocation._staticInstance._path = value; }
WSLocation.get_path = function() { return WSLocation._staticInstance._path; }
WSLocation.set_timeout = function(value) { WSLocation._staticInstance._timeout = value; }
WSLocation.get_timeout = function() { return WSLocation._staticInstance._timeout; }
WSLocation.set_defaultUserContext = function(value) { WSLocation._staticInstance._userContext = value; }
WSLocation.get_defaultUserContext = function() { return WSLocation._staticInstance._userContext; }
WSLocation.set_defaultSucceededCallback = function(value) { WSLocation._staticInstance._succeeded = value; }
WSLocation.get_defaultSucceededCallback = function() { return WSLocation._staticInstance._succeeded; }
WSLocation.set_defaultFailedCallback = function(value) { WSLocation._staticInstance._failed = value; }
WSLocation.get_defaultFailedCallback = function() { return WSLocation._staticInstance._failed; }
WSLocation.set_path("/WS/WSLocation.asmx");
WSLocation.GetStatesProvinces= function(country,onSuccess,onFailed,userContext) {WSLocation._staticInstance.GetStatesProvinces(country,onSuccess,onFailed,userContext); }
WSLocation.GetCities= function(country,stateProvince,onSuccess,onFailed,userContext) {WSLocation._staticInstance.GetCities(country,stateProvince,onSuccess,onFailed,userContext); }
WSLocation.GetPostalZips= function(country,city,onSuccess,onFailed,userContext) {WSLocation._staticInstance.GetPostalZips(country,city,onSuccess,onFailed,userContext); }
WSLocation.GetLocationFromPostalZip= function(PostalZip,onSuccess,onFailed,userContext) {WSLocation._staticInstance.GetLocationFromPostalZip(PostalZip,onSuccess,onFailed,userContext); }
WSLocation.SetLocation= function(PostCountry,PostStatesProvinces,PostCities,PostPostalZip,onSuccess,onFailed,userContext) {WSLocation._staticInstance.SetLocation(PostCountry,PostStatesProvinces,PostCities,PostPostalZip,onSuccess,onFailed,userContext); }
