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