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