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