var LoginService=function() {
LoginService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LoginService.prototype={
GetPasswordEmailMobile:function(sID,sPassword,succeededCallback, failedCallback, userContext) {
return this._invoke(LoginService.get_path(), 'GetPasswordEmailMobile',false,{sID:sID,sPassword:sPassword},succeededCallback,failedCallback,userContext); },
RegisterSub:function(sSubID,sName,sEmail,sMobile,sPassword,sPassword2,succeededCallback, failedCallback, userContext) {
return this._invoke(LoginService.get_path(), 'RegisterSub',false,{sSubID:sSubID,sName:sName,sEmail:sEmail,sMobile:sMobile,sPassword:sPassword,sPassword2:sPassword2},succeededCallback,failedCallback,userContext); },
Login:function(sEmailMobile,sPassword,succeededCallback, failedCallback, userContext) {
return this._invoke(LoginService.get_path(), 'Login',false,{sEmailMobile:sEmailMobile,sPassword:sPassword},succeededCallback,failedCallback,userContext); },
CanSubRegister:function(sSubID,sPostCode,succeededCallback, failedCallback, userContext) {
return this._invoke(LoginService.get_path(), 'CanSubRegister',false,{sSubID:sSubID,sPostCode:sPostCode},succeededCallback,failedCallback,userContext); },
SendPassword:function(sInput,succeededCallback, failedCallback, userContext) {
return this._invoke(LoginService.get_path(), 'SendPassword',false,{sInput:sInput},succeededCallback,failedCallback,userContext); },
PreRegister:function(sSubID,sName,sJob,sPostCode,sEmail,sMobileNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(LoginService.get_path(), 'PreRegister',false,{sSubID:sSubID,sName:sName,sJob:sJob,sPostCode:sPostCode,sEmail:sEmail,sMobileNumber:sMobileNumber},succeededCallback,failedCallback,userContext); }}
LoginService.registerClass('LoginService',Sys.Net.WebServiceProxy);
LoginService._staticInstance = new LoginService();
LoginService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; LoginService._staticInstance._path = value; }
LoginService.get_path = function() { return LoginService._staticInstance._path; }
LoginService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
LoginService._staticInstance._timeout = value; }
LoginService.get_timeout = function() { 
return LoginService._staticInstance._timeout; }
LoginService.set_defaultUserContext = function(value) { 
LoginService._staticInstance._userContext = value; }
LoginService.get_defaultUserContext = function() { 
return LoginService._staticInstance._userContext; }
LoginService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; LoginService._staticInstance._succeeded = value; }
LoginService.get_defaultSucceededCallback = function() { 
return LoginService._staticInstance._succeeded; }
LoginService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; LoginService._staticInstance._failed = value; }
LoginService.get_defaultFailedCallback = function() { 
return LoginService._staticInstance._failed; }
LoginService.set_path("/LoginService.asmx");
LoginService.GetPasswordEmailMobile= function(sID,sPassword,onSuccess,onFailed,userContext) {LoginService._staticInstance.GetPasswordEmailMobile(sID,sPassword,onSuccess,onFailed,userContext); }
LoginService.RegisterSub= function(sSubID,sName,sEmail,sMobile,sPassword,sPassword2,onSuccess,onFailed,userContext) {LoginService._staticInstance.RegisterSub(sSubID,sName,sEmail,sMobile,sPassword,sPassword2,onSuccess,onFailed,userContext); }
LoginService.Login= function(sEmailMobile,sPassword,onSuccess,onFailed,userContext) {LoginService._staticInstance.Login(sEmailMobile,sPassword,onSuccess,onFailed,userContext); }
LoginService.CanSubRegister= function(sSubID,sPostCode,onSuccess,onFailed,userContext) {LoginService._staticInstance.CanSubRegister(sSubID,sPostCode,onSuccess,onFailed,userContext); }
LoginService.SendPassword= function(sInput,onSuccess,onFailed,userContext) {LoginService._staticInstance.SendPassword(sInput,onSuccess,onFailed,userContext); }
LoginService.PreRegister= function(sSubID,sName,sJob,sPostCode,sEmail,sMobileNumber,onSuccess,onFailed,userContext) {LoginService._staticInstance.PreRegister(sSubID,sName,sJob,sPostCode,sEmail,sMobileNumber,onSuccess,onFailed,userContext); }
