var ElectronicMailer=function() {
ElectronicMailer.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ElectronicMailer.prototype={
EmailContactForm:function(strName,strAddress,strCity,strState,strZip,strOccupation,strHomePhone,strCellPhone,strEmail,strComments,succeededCallback, failedCallback, userContext) {
return this._invoke(ElectronicMailer.get_path(), 'EmailContactForm',false,{strName:strName,strAddress:strAddress,strCity:strCity,strState:strState,strZip:strZip,strOccupation:strOccupation,strHomePhone:strHomePhone,strCellPhone:strCellPhone,strEmail:strEmail,strComments:strComments},succeededCallback,failedCallback,userContext); },
EmailAdvertiseForm:function(strName,strAddress,strCity,strState,strZip,strOccupation,strHomePhone,strCellPhone,strEmail,strComments,succeededCallback, failedCallback, userContext) {
return this._invoke(ElectronicMailer.get_path(), 'EmailAdvertiseForm',false,{strName:strName,strAddress:strAddress,strCity:strCity,strState:strState,strZip:strZip,strOccupation:strOccupation,strHomePhone:strHomePhone,strCellPhone:strCellPhone,strEmail:strEmail,strComments:strComments},succeededCallback,failedCallback,userContext); },
EmailSubscribeForm:function(strName,strAddress,strCity,strState,strZip,strOccupation,strHomePhone,strCellPhone,strEmail,strComments,succeededCallback, failedCallback, userContext) {
return this._invoke(ElectronicMailer.get_path(), 'EmailSubscribeForm',false,{strName:strName,strAddress:strAddress,strCity:strCity,strState:strState,strZip:strZip,strOccupation:strOccupation,strHomePhone:strHomePhone,strCellPhone:strCellPhone,strEmail:strEmail,strComments:strComments},succeededCallback,failedCallback,userContext); },
EmailInvolvedForm:function(strName,strAddress,strCity,strState,strZip,strOccupation,strHomePhone,strCellPhone,strEmail,strComments,succeededCallback, failedCallback, userContext) {
return this._invoke(ElectronicMailer.get_path(), 'EmailInvolvedForm',false,{strName:strName,strAddress:strAddress,strCity:strCity,strState:strState,strZip:strZip,strOccupation:strOccupation,strHomePhone:strHomePhone,strCellPhone:strCellPhone,strEmail:strEmail,strComments:strComments},succeededCallback,failedCallback,userContext); }}
ElectronicMailer.registerClass('ElectronicMailer',Sys.Net.WebServiceProxy);
ElectronicMailer._staticInstance = new ElectronicMailer();
ElectronicMailer.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ElectronicMailer._staticInstance._path = value; }
ElectronicMailer.get_path = function() { return ElectronicMailer._staticInstance._path; }
ElectronicMailer.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); }
ElectronicMailer._staticInstance._timeout = value; }
ElectronicMailer.get_timeout = function() { 
return ElectronicMailer._staticInstance._timeout; }
ElectronicMailer.set_defaultUserContext = function(value) { 
ElectronicMailer._staticInstance._userContext = value; }
ElectronicMailer.get_defaultUserContext = function() { 
return ElectronicMailer._staticInstance._userContext; }
ElectronicMailer.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ElectronicMailer._staticInstance._succeeded = value; }
ElectronicMailer.get_defaultSucceededCallback = function() { 
return ElectronicMailer._staticInstance._succeeded; }
ElectronicMailer.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ElectronicMailer._staticInstance._failed = value; }
ElectronicMailer.get_defaultFailedCallback = function() { 
return ElectronicMailer._staticInstance._failed; }
ElectronicMailer.set_path("/controls/webservices/ElectronicMailer.asmx");
ElectronicMailer.EmailContactForm= function(strName,strAddress,strCity,strState,strZip,strOccupation,strHomePhone,strCellPhone,strEmail,strComments,onSuccess,onFailed,userContext) {ElectronicMailer._staticInstance.EmailContactForm(strName,strAddress,strCity,strState,strZip,strOccupation,strHomePhone,strCellPhone,strEmail,strComments,onSuccess,onFailed,userContext); }
ElectronicMailer.EmailAdvertiseForm= function(strName,strAddress,strCity,strState,strZip,strOccupation,strHomePhone,strCellPhone,strEmail,strComments,onSuccess,onFailed,userContext) {ElectronicMailer._staticInstance.EmailAdvertiseForm(strName,strAddress,strCity,strState,strZip,strOccupation,strHomePhone,strCellPhone,strEmail,strComments,onSuccess,onFailed,userContext); }
ElectronicMailer.EmailSubscribeForm= function(strName,strAddress,strCity,strState,strZip,strOccupation,strHomePhone,strCellPhone,strEmail,strComments,onSuccess,onFailed,userContext) {ElectronicMailer._staticInstance.EmailSubscribeForm(strName,strAddress,strCity,strState,strZip,strOccupation,strHomePhone,strCellPhone,strEmail,strComments,onSuccess,onFailed,userContext); }
ElectronicMailer.EmailInvolvedForm= function(strName,strAddress,strCity,strState,strZip,strOccupation,strHomePhone,strCellPhone,strEmail,strComments,onSuccess,onFailed,userContext) {ElectronicMailer._staticInstance.EmailInvolvedForm(strName,strAddress,strCity,strState,strZip,strOccupation,strHomePhone,strCellPhone,strEmail,strComments,onSuccess,onFailed,userContext); }
