var AsyncService=function() {
AsyncService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AsyncService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AsyncService._staticInstance.get_path();},
SaveAnswer:function(questionId,answerText,email,name,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveAnswer',false,{questionId:questionId,answerText:answerText,email:email,name:name},succeededCallback,failedCallback,userContext); },
GetTip:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTip',false,{},succeededCallback,failedCallback,userContext); },
AddEmailToEventsList:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddEmailToEventsList',false,{email:email},succeededCallback,failedCallback,userContext); }}
AsyncService.registerClass('AsyncService',Sys.Net.WebServiceProxy);
AsyncService._staticInstance = new AsyncService();
AsyncService.set_path = function(value) { AsyncService._staticInstance.set_path(value); }
AsyncService.get_path = function() { return AsyncService._staticInstance.get_path(); }
AsyncService.set_timeout = function(value) { AsyncService._staticInstance.set_timeout(value); }
AsyncService.get_timeout = function() { return AsyncService._staticInstance.get_timeout(); }
AsyncService.set_defaultUserContext = function(value) { AsyncService._staticInstance.set_defaultUserContext(value); }
AsyncService.get_defaultUserContext = function() { return AsyncService._staticInstance.get_defaultUserContext(); }
AsyncService.set_defaultSucceededCallback = function(value) { AsyncService._staticInstance.set_defaultSucceededCallback(value); }
AsyncService.get_defaultSucceededCallback = function() { return AsyncService._staticInstance.get_defaultSucceededCallback(); }
AsyncService.set_defaultFailedCallback = function(value) { AsyncService._staticInstance.set_defaultFailedCallback(value); }
AsyncService.get_defaultFailedCallback = function() { return AsyncService._staticInstance.get_defaultFailedCallback(); }
AsyncService.set_path("/WebServices/AsyncService.asmx");
AsyncService.SaveAnswer= function(questionId,answerText,email,name,onSuccess,onFailed,userContext) {AsyncService._staticInstance.SaveAnswer(questionId,answerText,email,name,onSuccess,onFailed,userContext); }
AsyncService.GetTip= function(onSuccess,onFailed,userContext) {AsyncService._staticInstance.GetTip(onSuccess,onFailed,userContext); }
AsyncService.AddEmailToEventsList= function(email,onSuccess,onFailed,userContext) {AsyncService._staticInstance.AddEmailToEventsList(email,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(AsyncResult) === 'undefined') {
var AsyncResult=gtc("AsyncResult");
AsyncResult.registerClass('AsyncResult');
}

