var TFWBlogs=function() {
TFWBlogs.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TFWBlogs.prototype={
subNewsletter:function(name,email,succeededCallback, failedCallback, userContext) {
return this._invoke(TFWBlogs.get_path(), 'subNewsletter',false,{name:name,email:email},succeededCallback,failedCallback,userContext); },
subNewsletterGain:function(name,email,info,succeededCallback, failedCallback, userContext) {
return this._invoke(TFWBlogs.get_path(), 'subNewsletterGain',false,{name:name,email:email,info:info},succeededCallback,failedCallback,userContext); },
subQuestion:function(name,email,question,succeededCallback, failedCallback, userContext) {
return this._invoke(TFWBlogs.get_path(), 'subQuestion',false,{name:name,email:email,question:question},succeededCallback,failedCallback,userContext); },
loadBlog:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(TFWBlogs.get_path(), 'loadBlog',false,{id:id},succeededCallback,failedCallback,userContext); },
logSpreadSheet:function(name,email,succeededCallback, failedCallback, userContext) {
return this._invoke(TFWBlogs.get_path(), 'logSpreadSheet',false,{name:name,email:email},succeededCallback,failedCallback,userContext); }}
TFWBlogs.registerClass('TFWBlogs',Sys.Net.WebServiceProxy);
TFWBlogs._staticInstance = new TFWBlogs();
TFWBlogs.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; TFWBlogs._staticInstance._path = value; }
TFWBlogs.get_path = function() { return TFWBlogs._staticInstance._path; }
TFWBlogs.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); }
TFWBlogs._staticInstance._timeout = value; }
TFWBlogs.get_timeout = function() { 
return TFWBlogs._staticInstance._timeout; }
TFWBlogs.set_defaultUserContext = function(value) { 
TFWBlogs._staticInstance._userContext = value; }
TFWBlogs.get_defaultUserContext = function() { 
return TFWBlogs._staticInstance._userContext; }
TFWBlogs.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; TFWBlogs._staticInstance._succeeded = value; }
TFWBlogs.get_defaultSucceededCallback = function() { 
return TFWBlogs._staticInstance._succeeded; }
TFWBlogs.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; TFWBlogs._staticInstance._failed = value; }
TFWBlogs.get_defaultFailedCallback = function() { 
return TFWBlogs._staticInstance._failed; }
TFWBlogs.set_path("/WebServices/TFWBlogs.asmx");
TFWBlogs.subNewsletter= function(name,email,onSuccess,onFailed,userContext) {TFWBlogs._staticInstance.subNewsletter(name,email,onSuccess,onFailed,userContext); }
TFWBlogs.subNewsletterGain= function(name,email,info,onSuccess,onFailed,userContext) {TFWBlogs._staticInstance.subNewsletterGain(name,email,info,onSuccess,onFailed,userContext); }
TFWBlogs.subQuestion= function(name,email,question,onSuccess,onFailed,userContext) {TFWBlogs._staticInstance.subQuestion(name,email,question,onSuccess,onFailed,userContext); }
TFWBlogs.loadBlog= function(id,onSuccess,onFailed,userContext) {TFWBlogs._staticInstance.loadBlog(id,onSuccess,onFailed,userContext); }
TFWBlogs.logSpreadSheet= function(name,email,onSuccess,onFailed,userContext) {TFWBlogs._staticInstance.logSpreadSheet(name,email,onSuccess,onFailed,userContext); }
