var PageLoader=function() {
PageLoader.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PageLoader.prototype={
LoadPage:function(pageName,succeededCallback, failedCallback, userContext) {
return this._invoke(PageLoader.get_path(), 'LoadPage',false,{pageName:pageName},succeededCallback,failedCallback,userContext); }}
PageLoader.registerClass('PageLoader',Sys.Net.WebServiceProxy);
PageLoader._staticInstance = new PageLoader();
PageLoader.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; PageLoader._staticInstance._path = value; }
PageLoader.get_path = function() { return PageLoader._staticInstance._path; }
PageLoader.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); }
PageLoader._staticInstance._timeout = value; }
PageLoader.get_timeout = function() { 
return PageLoader._staticInstance._timeout; }
PageLoader.set_defaultUserContext = function(value) { 
PageLoader._staticInstance._userContext = value; }
PageLoader.get_defaultUserContext = function() { 
return PageLoader._staticInstance._userContext; }
PageLoader.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; PageLoader._staticInstance._succeeded = value; }
PageLoader.get_defaultSucceededCallback = function() { 
return PageLoader._staticInstance._succeeded; }
PageLoader.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; PageLoader._staticInstance._failed = value; }
PageLoader.get_defaultFailedCallback = function() { 
return PageLoader._staticInstance._failed; }
PageLoader.set_path("/PageLoader.asmx");
PageLoader.LoadPage= function(pageName,onSuccess,onFailed,userContext) {PageLoader._staticInstance.LoadPage(pageName,onSuccess,onFailed,userContext); }

