Type.registerNamespace('Olly.Web.WebServices');
Olly.Web.WebServices.NewsLetterSignUp=function() {
Olly.Web.WebServices.NewsLetterSignUp.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Olly.Web.WebServices.NewsLetterSignUp.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Olly.Web.WebServices.NewsLetterSignUp._staticInstance.get_path();},
Subscribe:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Subscribe',true,{email:email},succeededCallback,failedCallback,userContext); },
SubscribeGiveway:function(email,name,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SubscribeGiveway',true,{email:email,name:name},succeededCallback,failedCallback,userContext); }}
Olly.Web.WebServices.NewsLetterSignUp.registerClass('Olly.Web.WebServices.NewsLetterSignUp',Sys.Net.WebServiceProxy);
Olly.Web.WebServices.NewsLetterSignUp._staticInstance = new Olly.Web.WebServices.NewsLetterSignUp();
Olly.Web.WebServices.NewsLetterSignUp.set_path = function(value) { Olly.Web.WebServices.NewsLetterSignUp._staticInstance.set_path(value); }
Olly.Web.WebServices.NewsLetterSignUp.get_path = function() { return Olly.Web.WebServices.NewsLetterSignUp._staticInstance.get_path(); }
Olly.Web.WebServices.NewsLetterSignUp.set_timeout = function(value) { Olly.Web.WebServices.NewsLetterSignUp._staticInstance.set_timeout(value); }
Olly.Web.WebServices.NewsLetterSignUp.get_timeout = function() { return Olly.Web.WebServices.NewsLetterSignUp._staticInstance.get_timeout(); }
Olly.Web.WebServices.NewsLetterSignUp.set_defaultUserContext = function(value) { Olly.Web.WebServices.NewsLetterSignUp._staticInstance.set_defaultUserContext(value); }
Olly.Web.WebServices.NewsLetterSignUp.get_defaultUserContext = function() { return Olly.Web.WebServices.NewsLetterSignUp._staticInstance.get_defaultUserContext(); }
Olly.Web.WebServices.NewsLetterSignUp.set_defaultSucceededCallback = function(value) { Olly.Web.WebServices.NewsLetterSignUp._staticInstance.set_defaultSucceededCallback(value); }
Olly.Web.WebServices.NewsLetterSignUp.get_defaultSucceededCallback = function() { return Olly.Web.WebServices.NewsLetterSignUp._staticInstance.get_defaultSucceededCallback(); }
Olly.Web.WebServices.NewsLetterSignUp.set_defaultFailedCallback = function(value) { Olly.Web.WebServices.NewsLetterSignUp._staticInstance.set_defaultFailedCallback(value); }
Olly.Web.WebServices.NewsLetterSignUp.get_defaultFailedCallback = function() { return Olly.Web.WebServices.NewsLetterSignUp._staticInstance.get_defaultFailedCallback(); }
Olly.Web.WebServices.NewsLetterSignUp.set_path("/WebServices/NewsLetterSignUp.asmx");
Olly.Web.WebServices.NewsLetterSignUp.Subscribe= function(email,onSuccess,onFailed,userContext) {Olly.Web.WebServices.NewsLetterSignUp._staticInstance.Subscribe(email,onSuccess,onFailed,userContext); }
Olly.Web.WebServices.NewsLetterSignUp.SubscribeGiveway= function(email,name,onSuccess,onFailed,userContext) {Olly.Web.WebServices.NewsLetterSignUp._staticInstance.SubscribeGiveway(email,name,onSuccess,onFailed,userContext); }

