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