if(typeof SPAjax == "undefined") SPAjax={};
SPAjax.AjaxMethod_class = function() {};
Object.extend(SPAjax.AjaxMethod_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetCityList: function(provinceid) {
		return this.invoke("GetCityList", {"provinceid":provinceid}, this.GetCityList.getArguments().slice(1));
	},
	GetAreaList: function(cityid) {
		return this.invoke("GetAreaList", {"cityid":cityid}, this.GetAreaList.getArguments().slice(1));
	},
	ReturnDataSet: function(sqlstr, tablename, OpType) {
		return this.invoke("ReturnDataSet", {"sqlstr":sqlstr, "tablename":tablename, "OpType":OpType}, this.ReturnDataSet.getArguments().slice(3));
	},
	ReturnDataSetFromDataBase: function(DataBaseName, sqlstr, tablename, OpType) {
		return this.invoke("ReturnDataSetFromDataBase", {"DataBaseName":DataBaseName, "sqlstr":sqlstr, "tablename":tablename, "OpType":OpType}, this.ReturnDataSetFromDataBase.getArguments().slice(4));
	},
	ExecuteReturnBool: function(sqlstr, OpType) {
		return this.invoke("ExecuteReturnBool", {"sqlstr":sqlstr, "OpType":OpType}, this.ExecuteReturnBool.getArguments().slice(2));
	},
	ExecuteReturnBoolFromDataBase: function(DataBaseName, sqlstr, OpType) {
		return this.invoke("ExecuteReturnBoolFromDataBase", {"DataBaseName":DataBaseName, "sqlstr":sqlstr, "OpType":OpType}, this.ExecuteReturnBoolFromDataBase.getArguments().slice(3));
	},
	ExecuteReturnID: function(sqlstr, OpType) {
		return this.invoke("ExecuteReturnID", {"sqlstr":sqlstr, "OpType":OpType}, this.ExecuteReturnID.getArguments().slice(2));
	},
	ExecuteReturnIDDataBaseName: function(sqlstr, OpType, DataBaseName) {
		return this.invoke("ExecuteReturnIDDataBaseName", {"sqlstr":sqlstr, "OpType":OpType, "DataBaseName":DataBaseName}, this.ExecuteReturnIDDataBaseName.getArguments().slice(3));
	},
	ExecuteReturnIDFromDataBase: function(DataBaseName, sqlstr, OpType) {
		return this.invoke("ExecuteReturnIDFromDataBase", {"DataBaseName":DataBaseName, "sqlstr":sqlstr, "OpType":OpType}, this.ExecuteReturnIDFromDataBase.getArguments().slice(3));
	},
	xxx: function() {
		return this.invoke("xxx", {}, this.xxx.getArguments().slice(0));
	},
	ReturnUserIDFromCookies: function(sqlstr, OpType) {
		return this.invoke("ReturnUserIDFromCookies", {"sqlstr":sqlstr, "OpType":OpType}, this.ReturnUserIDFromCookies.getArguments().slice(2));
	},
	CheckUserLogin: function() {
		return this.invoke("CheckUserLogin", {}, this.CheckUserLogin.getArguments().slice(0));
	},
	GetUserNameFromCookie: function() {
		return this.invoke("GetUserNameFromCookie", {}, this.GetUserNameFromCookie.getArguments().slice(0));
	},
	UserLogin: function(username, password) {
		return this.invoke("UserLogin", {"username":username, "password":password}, this.UserLogin.getArguments().slice(2));
	},
	url: '/equ/ajaxpro/SPAjax.AjaxMethod,SPAjax.ashx'
}));
SPAjax.AjaxMethod = new SPAjax.AjaxMethod_class();

