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