var CommonService=function() {
CommonService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CommonService.prototype={
GetAllRegion:function(succeededCallback, failedCallback, userContext) {
return this._invoke(CommonService.get_path(), 'GetAllRegion',false,{},succeededCallback,failedCallback,userContext); },
GetRegion:function(succeededCallback, failedCallback, userContext) {
return this._invoke(CommonService.get_path(), 'GetRegion',false,{},succeededCallback,failedCallback,userContext); },
GetCounty:function(regId,succeededCallback, failedCallback, userContext) {
return this._invoke(CommonService.get_path(), 'GetCounty',false,{regId:regId},succeededCallback,failedCallback,userContext); }}
CommonService.registerClass('CommonService',Sys.Net.WebServiceProxy);
CommonService._staticInstance = new CommonService();
CommonService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; CommonService._staticInstance._path = value; }
CommonService.get_path = function() { return CommonService._staticInstance._path; }
CommonService.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); }
CommonService._staticInstance._timeout = value; }
CommonService.get_timeout = function() { 
return CommonService._staticInstance._timeout; }
CommonService.set_defaultUserContext = function(value) { 
CommonService._staticInstance._userContext = value; }
CommonService.get_defaultUserContext = function() { 
return CommonService._staticInstance._userContext; }
CommonService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; CommonService._staticInstance._succeeded = value; }
CommonService.get_defaultSucceededCallback = function() { 
return CommonService._staticInstance._succeeded; }
CommonService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; CommonService._staticInstance._failed = value; }
CommonService.get_defaultFailedCallback = function() { 
return CommonService._staticInstance._failed; }
CommonService.set_path("/Services/CommonService.asmx");
CommonService.GetAllRegion= function(onSuccess,onFailed,userContext) {CommonService._staticInstance.GetAllRegion(onSuccess,onFailed,userContext); }
CommonService.GetRegion= function(onSuccess,onFailed,userContext) {CommonService._staticInstance.GetRegion(onSuccess,onFailed,userContext); }
CommonService.GetCounty= function(regId,onSuccess,onFailed,userContext) {CommonService._staticInstance.GetCounty(regId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Web.UI.WebControls');
if (typeof(System.Web.UI.WebControls.ListItem) === 'undefined') {
System.Web.UI.WebControls.ListItem=gtc("System.Web.UI.WebControls.ListItem");
System.Web.UI.WebControls.ListItem.registerClass('System.Web.UI.WebControls.ListItem');
}
