var authWS=function() {
authWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
authWS.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return authWS._staticInstance.get_path();},
Register:function(username,password,email,promo,succeededCallback, failedCallback, userContext) {
/// <param name="username" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="promo" type="Boolean">System.Boolean</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'Register',false,{username:username,password:password,email:email,promo:promo},succeededCallback,failedCallback,userContext); },
Signout:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'Signout',false,{},succeededCallback,failedCallback,userContext); },
Signin:function(userName,password,rememberMe,succeededCallback, failedCallback, userContext) {
/// <param name="userName" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="rememberMe" type="Boolean">System.Boolean</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'Signin',false,{userName:userName,password:password,rememberMe:rememberMe},succeededCallback,failedCallback,userContext); }}
authWS.registerClass('authWS',Sys.Net.WebServiceProxy);
authWS._staticInstance = new authWS();
authWS.set_path = function(value) {
authWS._staticInstance.set_path(value); }
authWS.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return authWS._staticInstance.get_path();}
authWS.set_timeout = function(value) {
authWS._staticInstance.set_timeout(value); }
authWS.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return authWS._staticInstance.get_timeout(); }
authWS.set_defaultUserContext = function(value) { 
authWS._staticInstance.set_defaultUserContext(value); }
authWS.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return authWS._staticInstance.get_defaultUserContext(); }
authWS.set_defaultSucceededCallback = function(value) { 
 authWS._staticInstance.set_defaultSucceededCallback(value); }
authWS.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return authWS._staticInstance.get_defaultSucceededCallback(); }
authWS.set_defaultFailedCallback = function(value) { 
authWS._staticInstance.set_defaultFailedCallback(value); }
authWS.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return authWS._staticInstance.get_defaultFailedCallback(); }
authWS.set_enableJsonp = function(value) { authWS._staticInstance.set_enableJsonp(value); }
authWS.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return authWS._staticInstance.get_enableJsonp(); }
authWS.set_jsonpCallbackParameter = function(value) { authWS._staticInstance.set_jsonpCallbackParameter(value); }
authWS.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return authWS._staticInstance.get_jsonpCallbackParameter(); }
authWS.set_path("/services/authWS.asmx");
authWS.Register= function(username,password,email,promo,onSuccess,onFailed,userContext) {
/// <param name="username" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="promo" type="Boolean">System.Boolean</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
authWS._staticInstance.Register(username,password,email,promo,onSuccess,onFailed,userContext); }
authWS.Signout= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
authWS._staticInstance.Signout(onSuccess,onFailed,userContext); }
authWS.Signin= function(userName,password,rememberMe,onSuccess,onFailed,userContext) {
/// <param name="userName" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="rememberMe" type="Boolean">System.Boolean</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
authWS._staticInstance.Signin(userName,password,rememberMe,onSuccess,onFailed,userContext); }

