Type.registerNamespace('web_services');
web_services.openAccount=function() {
web_services.openAccount.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
web_services.openAccount.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return web_services.openAccount._staticInstance.get_path();},
OpenAccount:function(oad,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'OpenAccount',false,{oad:oad},succeededCallback,failedCallback,userContext); },
createLead:function(oad,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'createLead',false,{oad:oad},succeededCallback,failedCallback,userContext); },
CheckUserNameAvailibilty:function(username,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckUserNameAvailibilty',false,{username:username},succeededCallback,failedCallback,userContext); },
getParentCurrency:function(parentID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getParentCurrency',false,{parentID:parentID},succeededCallback,failedCallback,userContext); }}
web_services.openAccount.registerClass('web_services.openAccount',Sys.Net.WebServiceProxy);
web_services.openAccount._staticInstance = new web_services.openAccount();
web_services.openAccount.set_path = function(value) { web_services.openAccount._staticInstance.set_path(value); }
web_services.openAccount.get_path = function() { return web_services.openAccount._staticInstance.get_path(); }
web_services.openAccount.set_timeout = function(value) { web_services.openAccount._staticInstance.set_timeout(value); }
web_services.openAccount.get_timeout = function() { return web_services.openAccount._staticInstance.get_timeout(); }
web_services.openAccount.set_defaultUserContext = function(value) { web_services.openAccount._staticInstance.set_defaultUserContext(value); }
web_services.openAccount.get_defaultUserContext = function() { return web_services.openAccount._staticInstance.get_defaultUserContext(); }
web_services.openAccount.set_defaultSucceededCallback = function(value) { web_services.openAccount._staticInstance.set_defaultSucceededCallback(value); }
web_services.openAccount.get_defaultSucceededCallback = function() { return web_services.openAccount._staticInstance.get_defaultSucceededCallback(); }
web_services.openAccount.set_defaultFailedCallback = function(value) { web_services.openAccount._staticInstance.set_defaultFailedCallback(value); }
web_services.openAccount.get_defaultFailedCallback = function() { return web_services.openAccount._staticInstance.get_defaultFailedCallback(); }
web_services.openAccount.set_path("/__webservices/openAccount.asmx");
web_services.openAccount.OpenAccount= function(oad,onSuccess,onFailed,userContext) {web_services.openAccount._staticInstance.OpenAccount(oad,onSuccess,onFailed,userContext); }
web_services.openAccount.createLead= function(oad,onSuccess,onFailed,userContext) {web_services.openAccount._staticInstance.createLead(oad,onSuccess,onFailed,userContext); }
web_services.openAccount.CheckUserNameAvailibilty= function(username,onSuccess,onFailed,userContext) {web_services.openAccount._staticInstance.CheckUserNameAvailibilty(username,onSuccess,onFailed,userContext); }
web_services.openAccount.getParentCurrency= function(parentID,onSuccess,onFailed,userContext) {web_services.openAccount._staticInstance.getParentCurrency(parentID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(web_services.OpenAccountData) === 'undefined') {
web_services.OpenAccountData=gtc("web_services.OpenAccountData");
web_services.OpenAccountData.registerClass('web_services.OpenAccountData');
}
if (typeof(web_services.OpenAccountResults) === 'undefined') {
web_services.OpenAccountResults=gtc("web_services.OpenAccountResults");
web_services.OpenAccountResults.registerClass('web_services.OpenAccountResults');
}

