addNamespace("AjaxMethod");
AjaxMethod_class = Class.create();
AjaxMethod_class.prototype = (new AjaxPro.Request()).extend({
	GetCode: function(code, callback) {
		return this.invoke("GetCode", {"code":code}, callback);
	},
	GetUserName: function(type, uname, callback) {
		return this.invoke("GetUserName", {"type":type, "uname":uname}, callback);
	},
	GetUserEnable: function(type, uname, callback) {
		return this.invoke("GetUserEnable", {"type":type, "uname":uname}, callback);
	},
	GetUserPwd: function(type, uname, pwd, callback) {
		return this.invoke("GetUserPwd", {"type":type, "uname":uname, "pwd":pwd}, callback);
	},
	initialize: function() {
		this.url = "/ajaxpro/AjaxMethod,App_Code.ashx";
	}
})
AjaxMethod = new AjaxMethod_class();

