var WebService=function() {
WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebService._staticInstance.get_path();},
GetContentRelated_Article:function(articleID,contentIDRelated,contentTypeIDRelated,languageID,succeededCallback, failedCallback, userContext) {
/// <param name="articleID" type="Number">System.Int32</param>
/// <param name="contentIDRelated" type="Number">System.Int32</param>
/// <param name="contentTypeIDRelated" type="Number">System.Int32</param>
/// <param name="languageID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetContentRelated_Article',false,{articleID:articleID,contentIDRelated:contentIDRelated,contentTypeIDRelated:contentTypeIDRelated,languageID:languageID},succeededCallback,failedCallback,userContext); },
GetVideoLightBox:function(videoID,videoUrl,videoName,width,height,succeededCallback, failedCallback, userContext) {
/// <param name="videoID" type="Number">System.Int32</param>
/// <param name="videoUrl" type="String">System.String</param>
/// <param name="videoName" type="String">System.String</param>
/// <param name="width" type="Number">System.Int32</param>
/// <param name="height" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetVideoLightBox',false,{videoID:videoID,videoUrl:videoUrl,videoName:videoName,width:width,height:height},succeededCallback,failedCallback,userContext); },
GetMOVLightBox:function(videoID,videoUrl,thaimbUrl,videoName,width,height,succeededCallback, failedCallback, userContext) {
/// <param name="videoID" type="Number">System.Int32</param>
/// <param name="videoUrl" type="String">System.String</param>
/// <param name="thaimbUrl" type="String">System.String</param>
/// <param name="videoName" type="String">System.String</param>
/// <param name="width" type="Number">System.Int32</param>
/// <param name="height" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetMOVLightBox',false,{videoID:videoID,videoUrl:videoUrl,thaimbUrl:thaimbUrl,videoName:videoName,width:width,height:height},succeededCallback,failedCallback,userContext); },
GetContent_ArticleDetail:function(articleID,contentTypeID,languageID,succeededCallback, failedCallback, userContext) {
/// <param name="articleID" type="Number">System.Int32</param>
/// <param name="contentTypeID" type="Number">System.Int32</param>
/// <param name="languageID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetContent_ArticleDetail',false,{articleID:articleID,contentTypeID:contentTypeID,languageID:languageID},succeededCallback,failedCallback,userContext); },
GetContent_Message:function(messageContentID,fromMemberID,toMemberID,succeededCallback, failedCallback, userContext) {
/// <param name="messageContentID" type="Number">System.Int32</param>
/// <param name="fromMemberID" type="Number">System.Int32</param>
/// <param name="toMemberID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetContent_Message',false,{messageContentID:messageContentID,fromMemberID:fromMemberID,toMemberID:toMemberID},succeededCallback,failedCallback,userContext); }}
WebService.registerClass('WebService',Sys.Net.WebServiceProxy);
WebService._staticInstance = new WebService();
WebService.set_path = function(value) {
WebService._staticInstance.set_path(value); }
WebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WebService._staticInstance.get_path();}
WebService.set_timeout = function(value) {
WebService._staticInstance.set_timeout(value); }
WebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WebService._staticInstance.get_timeout(); }
WebService.set_defaultUserContext = function(value) { 
WebService._staticInstance.set_defaultUserContext(value); }
WebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WebService._staticInstance.get_defaultUserContext(); }
WebService.set_defaultSucceededCallback = function(value) { 
 WebService._staticInstance.set_defaultSucceededCallback(value); }
WebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WebService._staticInstance.get_defaultSucceededCallback(); }
WebService.set_defaultFailedCallback = function(value) { 
WebService._staticInstance.set_defaultFailedCallback(value); }
WebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WebService._staticInstance.get_defaultFailedCallback(); }
WebService.set_path("/WebService.asmx");
WebService.GetContentRelated_Article= function(articleID,contentIDRelated,contentTypeIDRelated,languageID,onSuccess,onFailed,userContext) {
/// <param name="articleID" type="Number">System.Int32</param>
/// <param name="contentIDRelated" type="Number">System.Int32</param>
/// <param name="contentTypeIDRelated" type="Number">System.Int32</param>
/// <param name="languageID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
WebService._staticInstance.GetContentRelated_Article(articleID,contentIDRelated,contentTypeIDRelated,languageID,onSuccess,onFailed,userContext); }
WebService.GetVideoLightBox= function(videoID,videoUrl,videoName,width,height,onSuccess,onFailed,userContext) {
/// <param name="videoID" type="Number">System.Int32</param>
/// <param name="videoUrl" type="String">System.String</param>
/// <param name="videoName" type="String">System.String</param>
/// <param name="width" type="Number">System.Int32</param>
/// <param name="height" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
WebService._staticInstance.GetVideoLightBox(videoID,videoUrl,videoName,width,height,onSuccess,onFailed,userContext); }
WebService.GetMOVLightBox= function(videoID,videoUrl,thaimbUrl,videoName,width,height,onSuccess,onFailed,userContext) {
/// <param name="videoID" type="Number">System.Int32</param>
/// <param name="videoUrl" type="String">System.String</param>
/// <param name="thaimbUrl" type="String">System.String</param>
/// <param name="videoName" type="String">System.String</param>
/// <param name="width" type="Number">System.Int32</param>
/// <param name="height" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
WebService._staticInstance.GetMOVLightBox(videoID,videoUrl,thaimbUrl,videoName,width,height,onSuccess,onFailed,userContext); }
WebService.GetContent_ArticleDetail= function(articleID,contentTypeID,languageID,onSuccess,onFailed,userContext) {
/// <param name="articleID" type="Number">System.Int32</param>
/// <param name="contentTypeID" type="Number">System.Int32</param>
/// <param name="languageID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
WebService._staticInstance.GetContent_ArticleDetail(articleID,contentTypeID,languageID,onSuccess,onFailed,userContext); }
WebService.GetContent_Message= function(messageContentID,fromMemberID,toMemberID,onSuccess,onFailed,userContext) {
/// <param name="messageContentID" type="Number">System.Int32</param>
/// <param name="fromMemberID" type="Number">System.Int32</param>
/// <param name="toMemberID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
WebService._staticInstance.GetContent_Message(messageContentID,fromMemberID,toMemberID,onSuccess,onFailed,userContext); }

