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

