Type.registerNamespace('Nisergherbs');
Nisergherbs.NewsFeed=function() {
Nisergherbs.NewsFeed.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Nisergherbs.NewsFeed.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Nisergherbs.NewsFeed._staticInstance.get_path();},
CallNews:function(CurrentPageName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CallNews',false,{CurrentPageName:CurrentPageName},succeededCallback,failedCallback,userContext); }}
Nisergherbs.NewsFeed.registerClass('Nisergherbs.NewsFeed',Sys.Net.WebServiceProxy);
Nisergherbs.NewsFeed._staticInstance = new Nisergherbs.NewsFeed();
Nisergherbs.NewsFeed.set_path = function(value) { Nisergherbs.NewsFeed._staticInstance.set_path(value); }
Nisergherbs.NewsFeed.get_path = function() { return Nisergherbs.NewsFeed._staticInstance.get_path(); }
Nisergherbs.NewsFeed.set_timeout = function(value) { Nisergherbs.NewsFeed._staticInstance.set_timeout(value); }
Nisergherbs.NewsFeed.get_timeout = function() { return Nisergherbs.NewsFeed._staticInstance.get_timeout(); }
Nisergherbs.NewsFeed.set_defaultUserContext = function(value) { Nisergherbs.NewsFeed._staticInstance.set_defaultUserContext(value); }
Nisergherbs.NewsFeed.get_defaultUserContext = function() { return Nisergherbs.NewsFeed._staticInstance.get_defaultUserContext(); }
Nisergherbs.NewsFeed.set_defaultSucceededCallback = function(value) { Nisergherbs.NewsFeed._staticInstance.set_defaultSucceededCallback(value); }
Nisergherbs.NewsFeed.get_defaultSucceededCallback = function() { return Nisergherbs.NewsFeed._staticInstance.get_defaultSucceededCallback(); }
Nisergherbs.NewsFeed.set_defaultFailedCallback = function(value) { Nisergherbs.NewsFeed._staticInstance.set_defaultFailedCallback(value); }
Nisergherbs.NewsFeed.get_defaultFailedCallback = function() { return Nisergherbs.NewsFeed._staticInstance.get_defaultFailedCallback(); }
Nisergherbs.NewsFeed.set_path("/NewsFeed.asmx");
Nisergherbs.NewsFeed.CallNews= function(CurrentPageName,onSuccess,onFailed,userContext) {Nisergherbs.NewsFeed._staticInstance.CallNews(CurrentPageName,onSuccess,onFailed,userContext); }

