var LYWebService=function() {
LYWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LYWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return LYWebService._staticInstance.get_path();},
LY_VoteInfo_Add:function(TheID,TheValue,succeededCallback, failedCallback, userContext) {
/// <param name="TheID" type="String">System.String</param>
/// <param name="TheValue" type="String">System.String</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(), 'LY_VoteInfo_Add',false,{TheID:TheID,TheValue:TheValue},succeededCallback,failedCallback,userContext); },
LY_NewsReply_Insert:function(TheID,TheTitle,TheText,TheUserID,succeededCallback, failedCallback, userContext) {
/// <param name="TheID" type="String">System.String</param>
/// <param name="TheTitle" type="String">System.String</param>
/// <param name="TheText" type="String">System.String</param>
/// <param name="TheUserID" type="String">System.String</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(), 'LY_NewsReply_Insert',false,{TheID:TheID,TheTitle:TheTitle,TheText:TheText,TheUserID:TheUserID},succeededCallback,failedCallback,userContext); },
LY_MessageInfo_Insert:function(TheTitle,TheText,TheUserID,TheType,TheTel,TheEmail,succeededCallback, failedCallback, userContext) {
/// <param name="TheTitle" type="String">System.String</param>
/// <param name="TheText" type="String">System.String</param>
/// <param name="TheUserID" type="String">System.String</param>
/// <param name="TheType" type="String">System.String</param>
/// <param name="TheTel" type="String">System.String</param>
/// <param name="TheEmail" type="String">System.String</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(), 'LY_MessageInfo_Insert',false,{TheTitle:TheTitle,TheText:TheText,TheUserID:TheUserID,TheType:TheType,TheTel:TheTel,TheEmail:TheEmail},succeededCallback,failedCallback,userContext); },
LY_GetImageInfo:function(TheID,TheType,succeededCallback, failedCallback, userContext) {
/// <param name="TheID" type="String">System.String</param>
/// <param name="TheType" type="String">System.String</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(), 'LY_GetImageInfo',false,{TheID:TheID,TheType:TheType},succeededCallback,failedCallback,userContext); }}
LYWebService.registerClass('LYWebService',Sys.Net.WebServiceProxy);
LYWebService._staticInstance = new LYWebService();
LYWebService.set_path = function(value) {
LYWebService._staticInstance.set_path(value); }
LYWebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return LYWebService._staticInstance.get_path();}
LYWebService.set_timeout = function(value) {
LYWebService._staticInstance.set_timeout(value); }
LYWebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return LYWebService._staticInstance.get_timeout(); }
LYWebService.set_defaultUserContext = function(value) { 
LYWebService._staticInstance.set_defaultUserContext(value); }
LYWebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return LYWebService._staticInstance.get_defaultUserContext(); }
LYWebService.set_defaultSucceededCallback = function(value) { 
 LYWebService._staticInstance.set_defaultSucceededCallback(value); }
LYWebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return LYWebService._staticInstance.get_defaultSucceededCallback(); }
LYWebService.set_defaultFailedCallback = function(value) { 
LYWebService._staticInstance.set_defaultFailedCallback(value); }
LYWebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return LYWebService._staticInstance.get_defaultFailedCallback(); }
LYWebService.set_path("/Admin/LYWebService.asmx");
LYWebService.LY_VoteInfo_Add= function(TheID,TheValue,onSuccess,onFailed,userContext) {
/// <param name="TheID" type="String">System.String</param>
/// <param name="TheValue" type="String">System.String</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>
LYWebService._staticInstance.LY_VoteInfo_Add(TheID,TheValue,onSuccess,onFailed,userContext); }
LYWebService.LY_NewsReply_Insert= function(TheID,TheTitle,TheText,TheUserID,onSuccess,onFailed,userContext) {
/// <param name="TheID" type="String">System.String</param>
/// <param name="TheTitle" type="String">System.String</param>
/// <param name="TheText" type="String">System.String</param>
/// <param name="TheUserID" type="String">System.String</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>
LYWebService._staticInstance.LY_NewsReply_Insert(TheID,TheTitle,TheText,TheUserID,onSuccess,onFailed,userContext); }
LYWebService.LY_MessageInfo_Insert= function(TheTitle,TheText,TheUserID,TheType,TheTel,TheEmail,onSuccess,onFailed,userContext) {
/// <param name="TheTitle" type="String">System.String</param>
/// <param name="TheText" type="String">System.String</param>
/// <param name="TheUserID" type="String">System.String</param>
/// <param name="TheType" type="String">System.String</param>
/// <param name="TheTel" type="String">System.String</param>
/// <param name="TheEmail" type="String">System.String</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>
LYWebService._staticInstance.LY_MessageInfo_Insert(TheTitle,TheText,TheUserID,TheType,TheTel,TheEmail,onSuccess,onFailed,userContext); }
LYWebService.LY_GetImageInfo= function(TheID,TheType,onSuccess,onFailed,userContext) {
/// <param name="TheID" type="String">System.String</param>
/// <param name="TheType" type="String">System.String</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>
LYWebService._staticInstance.LY_GetImageInfo(TheID,TheType,onSuccess,onFailed,userContext); }

