var UtilService=function() {
UtilService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
UtilService.prototype={
GetAreaCompletionList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(UtilService.get_path(), 'GetAreaCompletionList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetChildInfoHTML:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(UtilService.get_path(), 'GetChildInfoHTML',false,{id:id},succeededCallback,failedCallback,userContext); },
GetNewsListShort:function(succeededCallback, failedCallback, userContext) {
return this._invoke(UtilService.get_path(), 'GetNewsListShort',false,{},succeededCallback,failedCallback,userContext); },
GetNewsArticle:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(UtilService.get_path(), 'GetNewsArticle',false,{id:id},succeededCallback,failedCallback,userContext); }}
UtilService.registerClass('UtilService',Sys.Net.WebServiceProxy);
UtilService._staticInstance = new UtilService();
UtilService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; UtilService._staticInstance._path = value; }
UtilService.get_path = function() { return UtilService._staticInstance._path; }
UtilService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
UtilService._staticInstance._timeout = value; }
UtilService.get_timeout = function() { 
return UtilService._staticInstance._timeout; }
UtilService.set_defaultUserContext = function(value) { 
UtilService._staticInstance._userContext = value; }
UtilService.get_defaultUserContext = function() { 
return UtilService._staticInstance._userContext; }
UtilService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; UtilService._staticInstance._succeeded = value; }
UtilService.get_defaultSucceededCallback = function() { 
return UtilService._staticInstance._succeeded; }
UtilService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; UtilService._staticInstance._failed = value; }
UtilService.get_defaultFailedCallback = function() { 
return UtilService._staticInstance._failed; }
UtilService.set_path("/franchisee/services/UtilService.asmx");
UtilService.GetAreaCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) {UtilService._staticInstance.GetAreaCompletionList(prefixText,count,onSuccess,onFailed,userContext); }
UtilService.GetChildInfoHTML= function(id,onSuccess,onFailed,userContext) {UtilService._staticInstance.GetChildInfoHTML(id,onSuccess,onFailed,userContext); }
UtilService.GetNewsListShort= function(onSuccess,onFailed,userContext) {UtilService._staticInstance.GetNewsListShort(onSuccess,onFailed,userContext); }
UtilService.GetNewsArticle= function(id,onSuccess,onFailed,userContext) {UtilService._staticInstance.GetNewsArticle(id,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(NewsService_News) === 'undefined') {
var NewsService_News=gtc("NewsService+News");
NewsService_News.registerClass('NewsService_News');
}
