if(typeof SCEC == "undefined") SCEC={};
if(typeof SCEC.EnWeb == "undefined") SCEC.EnWeb={};
if(typeof SCEC.EnWeb.UserControl == "undefined") SCEC.EnWeb.UserControl={};
if(typeof SCEC.EnWeb.UserControl.ucLogin == "undefined") SCEC.EnWeb.UserControl.ucLogin={};
SCEC.EnWeb.UserControl.ucLogin_class = function() {};
Object.extend(SCEC.EnWeb.UserControl.ucLogin_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetUser: function() {
		return this.invoke("GetUser", {}, this.GetUser.getArguments().slice(0));
	},
	GetUserAndPassword: function() {
		return this.invoke("GetUserAndPassword", {}, this.GetUserAndPassword.getArguments().slice(0));
	},
	CheckLogin: function(username, password) {
		return this.invoke("CheckLogin", {"username":username, "password":password}, this.CheckLogin.getArguments().slice(2));
	},
	url: '/ajaxpro/SCEC.EnWeb.UserControl.ucLogin,SCEC.EnWeb.ashx'
}));
SCEC.EnWeb.UserControl.ucLogin = new SCEC.EnWeb.UserControl.ucLogin_class();

