var MaipfWs=function() {
MaipfWs.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MaipfWs.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MaipfWs._staticInstance.get_path();},
AttemptLogin:function(pstrUserName,pstrPassword,pstrDepartment,pbolRememberMe,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AttemptLogin',false,{pstrUserName:pstrUserName,pstrPassword:pstrPassword,pstrDepartment:pstrDepartment,pbolRememberMe:pbolRememberMe},succeededCallback,failedCallback,userContext); }}
MaipfWs.registerClass('MaipfWs',Sys.Net.WebServiceProxy);
MaipfWs._staticInstance = new MaipfWs();
MaipfWs.set_path = function(value) { MaipfWs._staticInstance.set_path(value); }
MaipfWs.get_path = function() { return MaipfWs._staticInstance.get_path(); }
MaipfWs.set_timeout = function(value) { MaipfWs._staticInstance.set_timeout(value); }
MaipfWs.get_timeout = function() { return MaipfWs._staticInstance.get_timeout(); }
MaipfWs.set_defaultUserContext = function(value) { MaipfWs._staticInstance.set_defaultUserContext(value); }
MaipfWs.get_defaultUserContext = function() { return MaipfWs._staticInstance.get_defaultUserContext(); }
MaipfWs.set_defaultSucceededCallback = function(value) { MaipfWs._staticInstance.set_defaultSucceededCallback(value); }
MaipfWs.get_defaultSucceededCallback = function() { return MaipfWs._staticInstance.get_defaultSucceededCallback(); }
MaipfWs.set_defaultFailedCallback = function(value) { MaipfWs._staticInstance.set_defaultFailedCallback(value); }
MaipfWs.get_defaultFailedCallback = function() { return MaipfWs._staticInstance.get_defaultFailedCallback(); }
MaipfWs.set_path("/MaipfWs.asmx");
MaipfWs.AttemptLogin= function(pstrUserName,pstrPassword,pstrDepartment,pbolRememberMe,onSuccess,onFailed,userContext) {MaipfWs._staticInstance.AttemptLogin(pstrUserName,pstrPassword,pstrDepartment,pbolRememberMe,onSuccess,onFailed,userContext); }

