var ContentLoader=function() {
ContentLoader.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ContentLoader.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ContentLoader._staticInstance.get_path();},
DoWork:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DoWork',false,{},succeededCallback,failedCallback,userContext); },
GetTopArticesTabs:function(tab,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTopArticesTabs',false,{tab:tab},succeededCallback,failedCallback,userContext); },
GetDiscussions:function(sectionId,tab,page,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDiscussions',false,{sectionId:sectionId,tab:tab,page:page},succeededCallback,failedCallback,userContext); },
GetAuthorPageTabs:function(tabIndex,authorSortingType,sectionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAuthorPageTabs',false,{tabIndex:tabIndex,authorSortingType:authorSortingType,sectionId:sectionId},succeededCallback,failedCallback,userContext); },
GetSearchResultsContainer:function(pageIndex,pagesize,keyWord,sortOrder,filter,showPagination,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSearchResultsContainer',false,{pageIndex:pageIndex,pagesize:pagesize,keyWord:keyWord,sortOrder:sortOrder,filter:filter,showPagination:showPagination},succeededCallback,failedCallback,userContext); },
GetMyArticles:function(pageIndex,articleSortingType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMyArticles',false,{pageIndex:pageIndex,articleSortingType:articleSortingType},succeededCallback,failedCallback,userContext); },
GetArticles:function(tab,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArticles',false,{tab:tab},succeededCallback,failedCallback,userContext); },
AddComment:function(userName,userLastName,showEmail,email,heading,comment,sport,league,team,isArticle,ArticleId,Ip,CultureId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddComment',false,{userName:userName,userLastName:userLastName,showEmail:showEmail,email:email,heading:heading,comment:comment,sport:sport,league:league,team:team,isArticle:isArticle,ArticleId:ArticleId,Ip:Ip,CultureId:CultureId},succeededCallback,failedCallback,userContext); }}
ContentLoader.registerClass('ContentLoader',Sys.Net.WebServiceProxy);
ContentLoader._staticInstance = new ContentLoader();
ContentLoader.set_path = function(value) { ContentLoader._staticInstance.set_path(value); }
ContentLoader.get_path = function() { return ContentLoader._staticInstance.get_path(); }
ContentLoader.set_timeout = function(value) { ContentLoader._staticInstance.set_timeout(value); }
ContentLoader.get_timeout = function() { return ContentLoader._staticInstance.get_timeout(); }
ContentLoader.set_defaultUserContext = function(value) { ContentLoader._staticInstance.set_defaultUserContext(value); }
ContentLoader.get_defaultUserContext = function() { return ContentLoader._staticInstance.get_defaultUserContext(); }
ContentLoader.set_defaultSucceededCallback = function(value) { ContentLoader._staticInstance.set_defaultSucceededCallback(value); }
ContentLoader.get_defaultSucceededCallback = function() { return ContentLoader._staticInstance.get_defaultSucceededCallback(); }
ContentLoader.set_defaultFailedCallback = function(value) { ContentLoader._staticInstance.set_defaultFailedCallback(value); }
ContentLoader.get_defaultFailedCallback = function() { return ContentLoader._staticInstance.get_defaultFailedCallback(); }
ContentLoader.set_path("/ContentLoader.svc");
ContentLoader.DoWork= function(onSuccess,onFailed,userContext) {ContentLoader._staticInstance.DoWork(onSuccess,onFailed,userContext); }
ContentLoader.GetTopArticesTabs= function(tab,onSuccess,onFailed,userContext) {ContentLoader._staticInstance.GetTopArticesTabs(tab,onSuccess,onFailed,userContext); }
ContentLoader.GetDiscussions= function(sectionId,tab,page,onSuccess,onFailed,userContext) {ContentLoader._staticInstance.GetDiscussions(sectionId,tab,page,onSuccess,onFailed,userContext); }
ContentLoader.GetAuthorPageTabs= function(tabIndex,authorSortingType,sectionId,onSuccess,onFailed,userContext) {ContentLoader._staticInstance.GetAuthorPageTabs(tabIndex,authorSortingType,sectionId,onSuccess,onFailed,userContext); }
ContentLoader.GetSearchResultsContainer= function(pageIndex,pagesize,keyWord,sortOrder,filter,showPagination,onSuccess,onFailed,userContext) {ContentLoader._staticInstance.GetSearchResultsContainer(pageIndex,pagesize,keyWord,sortOrder,filter,showPagination,onSuccess,onFailed,userContext); }
ContentLoader.GetMyArticles= function(pageIndex,articleSortingType,onSuccess,onFailed,userContext) {ContentLoader._staticInstance.GetMyArticles(pageIndex,articleSortingType,onSuccess,onFailed,userContext); }
ContentLoader.GetArticles= function(tab,onSuccess,onFailed,userContext) {ContentLoader._staticInstance.GetArticles(tab,onSuccess,onFailed,userContext); }
ContentLoader.AddComment= function(userName,userLastName,showEmail,email,heading,comment,sport,league,team,isArticle,ArticleId,Ip,CultureId,onSuccess,onFailed,userContext) {ContentLoader._staticInstance.AddComment(userName,userLastName,showEmail,email,heading,comment,sport,league,team,isArticle,ArticleId,Ip,CultureId,onSuccess,onFailed,userContext); }
