var WCFGeneral=function() {
WCFGeneral.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WCFGeneral.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WCFGeneral._staticInstance.get_path();},
JSON_getContentTitleByDate:function(moduleCode,subModuleCode,topRow,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_getContentTitleByDate',false,{moduleCode:moduleCode,subModuleCode:subModuleCode,topRow:topRow},succeededCallback,failedCallback,userContext); },
JSON_getMemberAvatar:function(jml,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_getMemberAvatar',false,{jml:jml},succeededCallback,failedCallback,userContext); },
JSON_insertPolling:function(pollingRef,optionRef,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_insertPolling',false,{pollingRef:pollingRef,optionRef:optionRef},succeededCallback,failedCallback,userContext); },
JSON_insertTrBannerReportHover:function(bannerTrCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_insertTrBannerReportHover',false,{bannerTrCode:bannerTrCode},succeededCallback,failedCallback,userContext); },
JSON_getBadge:function(width,height,count,entityCategory,subModuleCode,url,badgeType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_getBadge',false,{width:width,height:height,count:count,entityCategory:entityCategory,subModuleCode:subModuleCode,url:url,badgeType:badgeType},succeededCallback,failedCallback,userContext); },
JSON_getPage:function(width,height,count,entityCategory,subModuleCode,url,badgeType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_getPage',false,{width:width,height:height,count:count,entityCategory:entityCategory,subModuleCode:subModuleCode,url:url,badgeType:badgeType},succeededCallback,failedCallback,userContext); }}
WCFGeneral.registerClass('WCFGeneral',Sys.Net.WebServiceProxy);
WCFGeneral._staticInstance = new WCFGeneral();
WCFGeneral.set_path = function(value) { WCFGeneral._staticInstance.set_path(value); }
WCFGeneral.get_path = function() { return WCFGeneral._staticInstance.get_path(); }
WCFGeneral.set_timeout = function(value) { WCFGeneral._staticInstance.set_timeout(value); }
WCFGeneral.get_timeout = function() { return WCFGeneral._staticInstance.get_timeout(); }
WCFGeneral.set_defaultUserContext = function(value) { WCFGeneral._staticInstance.set_defaultUserContext(value); }
WCFGeneral.get_defaultUserContext = function() { return WCFGeneral._staticInstance.get_defaultUserContext(); }
WCFGeneral.set_defaultSucceededCallback = function(value) { WCFGeneral._staticInstance.set_defaultSucceededCallback(value); }
WCFGeneral.get_defaultSucceededCallback = function() { return WCFGeneral._staticInstance.get_defaultSucceededCallback(); }
WCFGeneral.set_defaultFailedCallback = function(value) { WCFGeneral._staticInstance.set_defaultFailedCallback(value); }
WCFGeneral.get_defaultFailedCallback = function() { return WCFGeneral._staticInstance.get_defaultFailedCallback(); }
WCFGeneral.set_path("/WCF/WCFGeneral.svc");
WCFGeneral.JSON_getContentTitleByDate= function(moduleCode,subModuleCode,topRow,onSuccess,onFailed,userContext) {WCFGeneral._staticInstance.JSON_getContentTitleByDate(moduleCode,subModuleCode,topRow,onSuccess,onFailed,userContext); }
WCFGeneral.JSON_getMemberAvatar= function(jml,onSuccess,onFailed,userContext) {WCFGeneral._staticInstance.JSON_getMemberAvatar(jml,onSuccess,onFailed,userContext); }
WCFGeneral.JSON_insertPolling= function(pollingRef,optionRef,onSuccess,onFailed,userContext) {WCFGeneral._staticInstance.JSON_insertPolling(pollingRef,optionRef,onSuccess,onFailed,userContext); }
WCFGeneral.JSON_insertTrBannerReportHover= function(bannerTrCode,onSuccess,onFailed,userContext) {WCFGeneral._staticInstance.JSON_insertTrBannerReportHover(bannerTrCode,onSuccess,onFailed,userContext); }
WCFGeneral.JSON_getBadge= function(width,height,count,entityCategory,subModuleCode,url,badgeType,onSuccess,onFailed,userContext) {WCFGeneral._staticInstance.JSON_getBadge(width,height,count,entityCategory,subModuleCode,url,badgeType,onSuccess,onFailed,userContext); }
WCFGeneral.JSON_getPage= function(width,height,count,entityCategory,subModuleCode,url,badgeType,onSuccess,onFailed,userContext) {WCFGeneral._staticInstance.JSON_getPage(width,height,count,entityCategory,subModuleCode,url,badgeType,onSuccess,onFailed,userContext); }

