var WCFOthers=function() {
WCFOthers.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WCFOthers.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WCFOthers._staticInstance.get_path();},
DoWork:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DoWork',false,{},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_getTrArticleCommentList:function(moduleCode,subModuleCode,articleRef,page,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_getTrArticleCommentList',false,{moduleCode:moduleCode,subModuleCode:subModuleCode,articleRef:articleRef,page:page},succeededCallback,failedCallback,userContext); },
JSON_ResultPooling:function(ref,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_ResultPooling',false,{ref:ref},succeededCallback,failedCallback,userContext); },
JSON_insertTrArticleComment:function(moduleCode,subModuleCode,articleRef,comment,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_insertTrArticleComment',false,{moduleCode:moduleCode,subModuleCode:subModuleCode,articleRef:articleRef,comment:comment},succeededCallback,failedCallback,userContext); },
JSON_emailSubscribe:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_emailSubscribe',false,{email:email},succeededCallback,failedCallback,userContext); },
JSON_PhotoCompetition:function(albumCategory,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_PhotoCompetition',false,{albumCategory:albumCategory},succeededCallback,failedCallback,userContext); },
JSON_getTR_ArticleImage:function(moduleCode,subModuleCode,articleRef,imageRef,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JSON_getTR_ArticleImage',false,{moduleCode:moduleCode,subModuleCode:subModuleCode,articleRef:articleRef,imageRef:imageRef},succeededCallback,failedCallback,userContext); }}
WCFOthers.registerClass('WCFOthers',Sys.Net.WebServiceProxy);
WCFOthers._staticInstance = new WCFOthers();
WCFOthers.set_path = function(value) { WCFOthers._staticInstance.set_path(value); }
WCFOthers.get_path = function() { return WCFOthers._staticInstance.get_path(); }
WCFOthers.set_timeout = function(value) { WCFOthers._staticInstance.set_timeout(value); }
WCFOthers.get_timeout = function() { return WCFOthers._staticInstance.get_timeout(); }
WCFOthers.set_defaultUserContext = function(value) { WCFOthers._staticInstance.set_defaultUserContext(value); }
WCFOthers.get_defaultUserContext = function() { return WCFOthers._staticInstance.get_defaultUserContext(); }
WCFOthers.set_defaultSucceededCallback = function(value) { WCFOthers._staticInstance.set_defaultSucceededCallback(value); }
WCFOthers.get_defaultSucceededCallback = function() { return WCFOthers._staticInstance.get_defaultSucceededCallback(); }
WCFOthers.set_defaultFailedCallback = function(value) { WCFOthers._staticInstance.set_defaultFailedCallback(value); }
WCFOthers.get_defaultFailedCallback = function() { return WCFOthers._staticInstance.get_defaultFailedCallback(); }
WCFOthers.set_path("/sysServices/WCFOthers.svc");
WCFOthers.DoWork= function(onSuccess,onFailed,userContext) {WCFOthers._staticInstance.DoWork(onSuccess,onFailed,userContext); }
WCFOthers.JSON_insertPolling= function(pollingRef,optionRef,onSuccess,onFailed,userContext) {WCFOthers._staticInstance.JSON_insertPolling(pollingRef,optionRef,onSuccess,onFailed,userContext); }
WCFOthers.JSON_getTrArticleCommentList= function(moduleCode,subModuleCode,articleRef,page,onSuccess,onFailed,userContext) {WCFOthers._staticInstance.JSON_getTrArticleCommentList(moduleCode,subModuleCode,articleRef,page,onSuccess,onFailed,userContext); }
WCFOthers.JSON_ResultPooling= function(ref,onSuccess,onFailed,userContext) {WCFOthers._staticInstance.JSON_ResultPooling(ref,onSuccess,onFailed,userContext); }
WCFOthers.JSON_insertTrArticleComment= function(moduleCode,subModuleCode,articleRef,comment,onSuccess,onFailed,userContext) {WCFOthers._staticInstance.JSON_insertTrArticleComment(moduleCode,subModuleCode,articleRef,comment,onSuccess,onFailed,userContext); }
WCFOthers.JSON_emailSubscribe= function(email,onSuccess,onFailed,userContext) {WCFOthers._staticInstance.JSON_emailSubscribe(email,onSuccess,onFailed,userContext); }
WCFOthers.JSON_PhotoCompetition= function(albumCategory,onSuccess,onFailed,userContext) {WCFOthers._staticInstance.JSON_PhotoCompetition(albumCategory,onSuccess,onFailed,userContext); }
WCFOthers.JSON_getTR_ArticleImage= function(moduleCode,subModuleCode,articleRef,imageRef,onSuccess,onFailed,userContext) {WCFOthers._staticInstance.JSON_getTR_ArticleImage(moduleCode,subModuleCode,articleRef,imageRef,onSuccess,onFailed,userContext); }

