Type.registerNamespace('ET.Internet.Web.ScriptServices');
ET.Internet.Web.ScriptServices.ControlPanelService=function() {
ET.Internet.Web.ScriptServices.ControlPanelService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ET.Internet.Web.ScriptServices.ControlPanelService.prototype={
ChangePassword:function(request,succeededCallback, failedCallback, userContext) {
return this._invoke(ET.Internet.Web.ScriptServices.ControlPanelService.get_path(), 'ChangePassword',false,{request:request},succeededCallback,failedCallback,userContext); },
ChangeProfile:function(request,succeededCallback, failedCallback, userContext) {
return this._invoke(ET.Internet.Web.ScriptServices.ControlPanelService.get_path(), 'ChangeProfile',false,{request:request},succeededCallback,failedCallback,userContext); }}
ET.Internet.Web.ScriptServices.ControlPanelService.registerClass('ET.Internet.Web.ScriptServices.ControlPanelService',Sys.Net.WebServiceProxy);
ET.Internet.Web.ScriptServices.ControlPanelService._staticInstance = new ET.Internet.Web.ScriptServices.ControlPanelService();
ET.Internet.Web.ScriptServices.ControlPanelService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ET.Internet.Web.ScriptServices.ControlPanelService._staticInstance._path = value; }
ET.Internet.Web.ScriptServices.ControlPanelService.get_path = function() { return ET.Internet.Web.ScriptServices.ControlPanelService._staticInstance._path; }
ET.Internet.Web.ScriptServices.ControlPanelService.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); }
ET.Internet.Web.ScriptServices.ControlPanelService._staticInstance._timeout = value; }
ET.Internet.Web.ScriptServices.ControlPanelService.get_timeout = function() { 
return ET.Internet.Web.ScriptServices.ControlPanelService._staticInstance._timeout; }
ET.Internet.Web.ScriptServices.ControlPanelService.set_defaultUserContext = function(value) { 
ET.Internet.Web.ScriptServices.ControlPanelService._staticInstance._userContext = value; }
ET.Internet.Web.ScriptServices.ControlPanelService.get_defaultUserContext = function() { 
return ET.Internet.Web.ScriptServices.ControlPanelService._staticInstance._userContext; }
ET.Internet.Web.ScriptServices.ControlPanelService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ET.Internet.Web.ScriptServices.ControlPanelService._staticInstance._succeeded = value; }
ET.Internet.Web.ScriptServices.ControlPanelService.get_defaultSucceededCallback = function() { 
return ET.Internet.Web.ScriptServices.ControlPanelService._staticInstance._succeeded; }
ET.Internet.Web.ScriptServices.ControlPanelService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ET.Internet.Web.ScriptServices.ControlPanelService._staticInstance._failed = value; }
ET.Internet.Web.ScriptServices.ControlPanelService.get_defaultFailedCallback = function() { 
return ET.Internet.Web.ScriptServices.ControlPanelService._staticInstance._failed; }
ET.Internet.Web.ScriptServices.ControlPanelService.set_path("/_controltemplates/ETUserControls/ScriptServices/ControlPanelService.asmx");
ET.Internet.Web.ScriptServices.ControlPanelService.ChangePassword= function(request,onSuccess,onFailed,userContext) {ET.Internet.Web.ScriptServices.ControlPanelService._staticInstance.ChangePassword(request,onSuccess,onFailed,userContext); }
ET.Internet.Web.ScriptServices.ControlPanelService.ChangeProfile= function(request,onSuccess,onFailed,userContext) {ET.Internet.Web.ScriptServices.ControlPanelService._staticInstance.ChangeProfile(request,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(ET.Internet.Web.ScriptServices.ControlPanelRequest) === 'undefined') {
ET.Internet.Web.ScriptServices.ControlPanelRequest=gtc("ET.Internet.Web.ScriptServices.ControlPanelRequest");
ET.Internet.Web.ScriptServices.ControlPanelRequest.registerClass('ET.Internet.Web.ScriptServices.ControlPanelRequest');
}
if (typeof(ET.Internet.Web.ScriptServices.ControlPanelResponse) === 'undefined') {
ET.Internet.Web.ScriptServices.ControlPanelResponse=gtc("ET.Internet.Web.ScriptServices.ControlPanelResponse");
ET.Internet.Web.ScriptServices.ControlPanelResponse.registerClass('ET.Internet.Web.ScriptServices.ControlPanelResponse');
}
if (typeof(ET.Internet.Web.ScriptServices.GetProfileRequest) === 'undefined') {
ET.Internet.Web.ScriptServices.GetProfileRequest=gtc("ET.Internet.Web.ScriptServices.GetProfileRequest");
ET.Internet.Web.ScriptServices.GetProfileRequest.registerClass('ET.Internet.Web.ScriptServices.GetProfileRequest');
}
if (typeof(ET.Internet.Web.ScriptServices.GetProfileResponse) === 'undefined') {
ET.Internet.Web.ScriptServices.GetProfileResponse=gtc("ET.Internet.Web.ScriptServices.GetProfileResponse");
ET.Internet.Web.ScriptServices.GetProfileResponse.registerClass('ET.Internet.Web.ScriptServices.GetProfileResponse');
}
