Type.registerNamespace('MB_PRESSONLINE_WEB');
MB_PRESSONLINE_WEB.SupportMethods=function() {
MB_PRESSONLINE_WEB.SupportMethods.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MB_PRESSONLINE_WEB.SupportMethods.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MB_PRESSONLINE_WEB.SupportMethods._staticInstance.get_path();},
AddArticleToBookmarks:function(ArticleId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddArticleToBookmarks',false,{ArticleId:ArticleId},succeededCallback,failedCallback,userContext); },
AddArticleRater:function(ArticleId,RatePoint,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddArticleRater',false,{ArticleId:ArticleId,RatePoint:RatePoint},succeededCallback,failedCallback,userContext); },
AddNewsletterSubscriber:function(email,sid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddNewsletterSubscriber',false,{email:email,sid:sid},succeededCallback,failedCallback,userContext); }}
MB_PRESSONLINE_WEB.SupportMethods.registerClass('MB_PRESSONLINE_WEB.SupportMethods',Sys.Net.WebServiceProxy);
MB_PRESSONLINE_WEB.SupportMethods._staticInstance = new MB_PRESSONLINE_WEB.SupportMethods();
MB_PRESSONLINE_WEB.SupportMethods.set_path = function(value) { MB_PRESSONLINE_WEB.SupportMethods._staticInstance.set_path(value); }
MB_PRESSONLINE_WEB.SupportMethods.get_path = function() { return MB_PRESSONLINE_WEB.SupportMethods._staticInstance.get_path(); }
MB_PRESSONLINE_WEB.SupportMethods.set_timeout = function(value) { MB_PRESSONLINE_WEB.SupportMethods._staticInstance.set_timeout(value); }
MB_PRESSONLINE_WEB.SupportMethods.get_timeout = function() { return MB_PRESSONLINE_WEB.SupportMethods._staticInstance.get_timeout(); }
MB_PRESSONLINE_WEB.SupportMethods.set_defaultUserContext = function(value) { MB_PRESSONLINE_WEB.SupportMethods._staticInstance.set_defaultUserContext(value); }
MB_PRESSONLINE_WEB.SupportMethods.get_defaultUserContext = function() { return MB_PRESSONLINE_WEB.SupportMethods._staticInstance.get_defaultUserContext(); }
MB_PRESSONLINE_WEB.SupportMethods.set_defaultSucceededCallback = function(value) { MB_PRESSONLINE_WEB.SupportMethods._staticInstance.set_defaultSucceededCallback(value); }
MB_PRESSONLINE_WEB.SupportMethods.get_defaultSucceededCallback = function() { return MB_PRESSONLINE_WEB.SupportMethods._staticInstance.get_defaultSucceededCallback(); }
MB_PRESSONLINE_WEB.SupportMethods.set_defaultFailedCallback = function(value) { MB_PRESSONLINE_WEB.SupportMethods._staticInstance.set_defaultFailedCallback(value); }
MB_PRESSONLINE_WEB.SupportMethods.get_defaultFailedCallback = function() { return MB_PRESSONLINE_WEB.SupportMethods._staticInstance.get_defaultFailedCallback(); }
MB_PRESSONLINE_WEB.SupportMethods.set_path("/SupportMethods.asmx");
MB_PRESSONLINE_WEB.SupportMethods.AddArticleToBookmarks= function(ArticleId,onSuccess,onFailed,userContext) {MB_PRESSONLINE_WEB.SupportMethods._staticInstance.AddArticleToBookmarks(ArticleId,onSuccess,onFailed,userContext); }
MB_PRESSONLINE_WEB.SupportMethods.AddArticleRater= function(ArticleId,RatePoint,onSuccess,onFailed,userContext) {MB_PRESSONLINE_WEB.SupportMethods._staticInstance.AddArticleRater(ArticleId,RatePoint,onSuccess,onFailed,userContext); }
MB_PRESSONLINE_WEB.SupportMethods.AddNewsletterSubscriber= function(email,sid,onSuccess,onFailed,userContext) {MB_PRESSONLINE_WEB.SupportMethods._staticInstance.AddNewsletterSubscriber(email,sid,onSuccess,onFailed,userContext); }
