addNamespace("ajax");
ajax.login_class = Class.create();
Object.extend(ajax.login_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	lgxlogin: function(username, userpwd, checkcode) {
		return this.invoke("lgxlogin", {"username":username, "userpwd":userpwd, "checkcode":checkcode}, this.lgxlogin.getArguments().slice(3));
	},
	lgxexit: function() {
		return this.invoke("lgxexit", {}, this.lgxexit.getArguments().slice(0));
	},
	lgxislogin: function(location) {
		return this.invoke("lgxislogin", {"location":location}, this.lgxislogin.getArguments().slice(1));
	},
	initialize: function() {
		this.url = '/ajaxpro/ajax.login,bbj.ashx';
	}
}));
ajax.login = new ajax.login_class();

