Type.registerNamespace('Mantis.EyeBlaster.Services');
Mantis.EyeBlaster.Services.ContactUsService=function() {
Mantis.EyeBlaster.Services.ContactUsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Mantis.EyeBlaster.Services.ContactUsService.prototype={
SendContactLog:function(fname,lname,email,phone,company,companyType,subject,comment,howdidyouhear,register,country,state,isCustomer,succeededCallback, failedCallback, userContext) {
return this._invoke(Mantis.EyeBlaster.Services.ContactUsService.get_path(), 'SendContactLog',false,{fname:fname,lname:lname,email:email,phone:phone,company:company,companyType:companyType,subject:subject,comment:comment,howdidyouhear:howdidyouhear,register:register,country:country,state:state,isCustomer:isCustomer},succeededCallback,failedCallback,userContext); }}
Mantis.EyeBlaster.Services.ContactUsService.registerClass('Mantis.EyeBlaster.Services.ContactUsService',Sys.Net.WebServiceProxy);
Mantis.EyeBlaster.Services.ContactUsService._staticInstance = new Mantis.EyeBlaster.Services.ContactUsService();
Mantis.EyeBlaster.Services.ContactUsService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Mantis.EyeBlaster.Services.ContactUsService._staticInstance._path = value; }
Mantis.EyeBlaster.Services.ContactUsService.get_path = function() { return Mantis.EyeBlaster.Services.ContactUsService._staticInstance._path; }
Mantis.EyeBlaster.Services.ContactUsService.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); }
Mantis.EyeBlaster.Services.ContactUsService._staticInstance._timeout = value; }
Mantis.EyeBlaster.Services.ContactUsService.get_timeout = function() { 
return Mantis.EyeBlaster.Services.ContactUsService._staticInstance._timeout; }
Mantis.EyeBlaster.Services.ContactUsService.set_defaultUserContext = function(value) { 
Mantis.EyeBlaster.Services.ContactUsService._staticInstance._userContext = value; }
Mantis.EyeBlaster.Services.ContactUsService.get_defaultUserContext = function() { 
return Mantis.EyeBlaster.Services.ContactUsService._staticInstance._userContext; }
Mantis.EyeBlaster.Services.ContactUsService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Mantis.EyeBlaster.Services.ContactUsService._staticInstance._succeeded = value; }
Mantis.EyeBlaster.Services.ContactUsService.get_defaultSucceededCallback = function() { 
return Mantis.EyeBlaster.Services.ContactUsService._staticInstance._succeeded; }
Mantis.EyeBlaster.Services.ContactUsService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Mantis.EyeBlaster.Services.ContactUsService._staticInstance._failed = value; }
Mantis.EyeBlaster.Services.ContactUsService.get_defaultFailedCallback = function() { 
return Mantis.EyeBlaster.Services.ContactUsService._staticInstance._failed; }
Mantis.EyeBlaster.Services.ContactUsService.set_path("/Services/ContactUsService.asmx");
Mantis.EyeBlaster.Services.ContactUsService.SendContactLog= function(fname,lname,email,phone,company,companyType,subject,comment,howdidyouhear,register,country,state,isCustomer,onSuccess,onFailed,userContext) {Mantis.EyeBlaster.Services.ContactUsService._staticInstance.SendContactLog(fname,lname,email,phone,company,companyType,subject,comment,howdidyouhear,register,country,state,isCustomer,onSuccess,onFailed,userContext); }
