var NG24WebService=function() {
NG24WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
NG24WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return NG24WebService._staticInstance.get_path();},
GetLocationSuggestions:function(keyword,lng,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="lng" type="String">System.String</param>
/// <param name="usePaging" type="Boolean">System.Boolean</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" 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(), 'GetLocationSuggestions',false,{keyword:keyword,lng:lng,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
GetLocationOnlySuggestions:function(keyword,lng,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="lng" type="String">System.String</param>
/// <param name="usePaging" type="Boolean">System.Boolean</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" 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(), 'GetLocationOnlySuggestions',false,{keyword:keyword,lng:lng,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
AddItemToWatchList:function(detailId,userId,succeededCallback, failedCallback, userContext) {
/// <param name="detailId" type="String">System.String</param>
/// <param name="userId" 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(), 'AddItemToWatchList',false,{detailId:detailId,userId:userId},succeededCallback,failedCallback,userContext); },
RemoveItemFromWatchList:function(detailId,userId,succeededCallback, failedCallback, userContext) {
/// <param name="detailId" type="String">System.String</param>
/// <param name="userId" 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(), 'RemoveItemFromWatchList',false,{detailId:detailId,userId:userId},succeededCallback,failedCallback,userContext); },
GetTagsByCategoryId:function(categoryId,language,succeededCallback, failedCallback, userContext) {
/// <param name="categoryId" type="Number">System.Int32</param>
/// <param name="language" 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(), 'GetTagsByCategoryId',false,{categoryId:categoryId,language:language},succeededCallback,failedCallback,userContext); },
GetTagsForQuery:function(tagIds,language,succeededCallback, failedCallback, userContext) {
/// <param name="tagIds" type="String">System.String</param>
/// <param name="language" 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(), 'GetTagsForQuery',false,{tagIds:tagIds,language:language},succeededCallback,failedCallback,userContext); },
GetSearchSuggestions:function(keyword,lng,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="lng" type="String">System.String</param>
/// <param name="usePaging" type="Boolean">System.Boolean</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" 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(), 'GetSearchSuggestions',false,{keyword:keyword,lng:lng,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
SaveAutoPageHistoryOnProofreadingAccept:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'SaveAutoPageHistoryOnProofreadingAccept',false,{},succeededCallback,failedCallback,userContext); },
SaveAutoPageHistoryForAllNonArchivedPages:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'SaveAutoPageHistoryForAllNonArchivedPages',false,{},succeededCallback,failedCallback,userContext); }}
NG24WebService.registerClass('NG24WebService',Sys.Net.WebServiceProxy);
NG24WebService._staticInstance = new NG24WebService();
NG24WebService.set_path = function(value) {
NG24WebService._staticInstance.set_path(value); }
NG24WebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return NG24WebService._staticInstance.get_path();}
NG24WebService.set_timeout = function(value) {
NG24WebService._staticInstance.set_timeout(value); }
NG24WebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return NG24WebService._staticInstance.get_timeout(); }
NG24WebService.set_defaultUserContext = function(value) { 
NG24WebService._staticInstance.set_defaultUserContext(value); }
NG24WebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return NG24WebService._staticInstance.get_defaultUserContext(); }
NG24WebService.set_defaultSucceededCallback = function(value) { 
 NG24WebService._staticInstance.set_defaultSucceededCallback(value); }
NG24WebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return NG24WebService._staticInstance.get_defaultSucceededCallback(); }
NG24WebService.set_defaultFailedCallback = function(value) { 
NG24WebService._staticInstance.set_defaultFailedCallback(value); }
NG24WebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return NG24WebService._staticInstance.get_defaultFailedCallback(); }
NG24WebService.set_path("/Services/NG24WebService.asmx");
NG24WebService.GetLocationSuggestions= function(keyword,lng,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="lng" type="String">System.String</param>
/// <param name="usePaging" type="Boolean">System.Boolean</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" 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>
NG24WebService._staticInstance.GetLocationSuggestions(keyword,lng,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }
NG24WebService.GetLocationOnlySuggestions= function(keyword,lng,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="lng" type="String">System.String</param>
/// <param name="usePaging" type="Boolean">System.Boolean</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" 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>
NG24WebService._staticInstance.GetLocationOnlySuggestions(keyword,lng,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }
NG24WebService.AddItemToWatchList= function(detailId,userId,onSuccess,onFailed,userContext) {
/// <param name="detailId" type="String">System.String</param>
/// <param name="userId" 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>
NG24WebService._staticInstance.AddItemToWatchList(detailId,userId,onSuccess,onFailed,userContext); }
NG24WebService.RemoveItemFromWatchList= function(detailId,userId,onSuccess,onFailed,userContext) {
/// <param name="detailId" type="String">System.String</param>
/// <param name="userId" 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>
NG24WebService._staticInstance.RemoveItemFromWatchList(detailId,userId,onSuccess,onFailed,userContext); }
NG24WebService.GetTagsByCategoryId= function(categoryId,language,onSuccess,onFailed,userContext) {
/// <param name="categoryId" type="Number">System.Int32</param>
/// <param name="language" 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>
NG24WebService._staticInstance.GetTagsByCategoryId(categoryId,language,onSuccess,onFailed,userContext); }
NG24WebService.GetTagsForQuery= function(tagIds,language,onSuccess,onFailed,userContext) {
/// <param name="tagIds" type="String">System.String</param>
/// <param name="language" 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>
NG24WebService._staticInstance.GetTagsForQuery(tagIds,language,onSuccess,onFailed,userContext); }
NG24WebService.GetSearchSuggestions= function(keyword,lng,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="lng" type="String">System.String</param>
/// <param name="usePaging" type="Boolean">System.Boolean</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" 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>
NG24WebService._staticInstance.GetSearchSuggestions(keyword,lng,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }
NG24WebService.SaveAutoPageHistoryOnProofreadingAccept= function(onSuccess,onFailed,userContext) {
/// <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>
NG24WebService._staticInstance.SaveAutoPageHistoryOnProofreadingAccept(onSuccess,onFailed,userContext); }
NG24WebService.SaveAutoPageHistoryForAllNonArchivedPages= function(onSuccess,onFailed,userContext) {
/// <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>
NG24WebService._staticInstance.SaveAutoPageHistoryForAllNonArchivedPages(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Tag) === 'undefined') {
var Tag=gtc("Tag");
Tag.registerClass('Tag');
}

