Type.registerNamespace('com.realprosystems.agentsystem.AjaxServices');
com.realprosystems.agentsystem.AjaxServices.ContactWebService=function() {
com.realprosystems.agentsystem.AjaxServices.ContactWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
com.realprosystems.agentsystem.AjaxServices.ContactWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return com.realprosystems.agentsystem.AjaxServices.ContactWebService._staticInstance.get_path();},
SendContactForm:function(fromname,fromemail,subject,message,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendContactForm',false,{fromname:fromname,fromemail:fromemail,subject:subject,message:message},succeededCallback,failedCallback,userContext); }}
com.realprosystems.agentsystem.AjaxServices.ContactWebService.registerClass('com.realprosystems.agentsystem.AjaxServices.ContactWebService',Sys.Net.WebServiceProxy);
com.realprosystems.agentsystem.AjaxServices.ContactWebService._staticInstance = new com.realprosystems.agentsystem.AjaxServices.ContactWebService();
com.realprosystems.agentsystem.AjaxServices.ContactWebService.set_path = function(value) { com.realprosystems.agentsystem.AjaxServices.ContactWebService._staticInstance.set_path(value); }
com.realprosystems.agentsystem.AjaxServices.ContactWebService.get_path = function() { return com.realprosystems.agentsystem.AjaxServices.ContactWebService._staticInstance.get_path(); }
com.realprosystems.agentsystem.AjaxServices.ContactWebService.set_timeout = function(value) { com.realprosystems.agentsystem.AjaxServices.ContactWebService._staticInstance.set_timeout(value); }
com.realprosystems.agentsystem.AjaxServices.ContactWebService.get_timeout = function() { return com.realprosystems.agentsystem.AjaxServices.ContactWebService._staticInstance.get_timeout(); }
com.realprosystems.agentsystem.AjaxServices.ContactWebService.set_defaultUserContext = function(value) { com.realprosystems.agentsystem.AjaxServices.ContactWebService._staticInstance.set_defaultUserContext(value); }
com.realprosystems.agentsystem.AjaxServices.ContactWebService.get_defaultUserContext = function() { return com.realprosystems.agentsystem.AjaxServices.ContactWebService._staticInstance.get_defaultUserContext(); }
com.realprosystems.agentsystem.AjaxServices.ContactWebService.set_defaultSucceededCallback = function(value) { com.realprosystems.agentsystem.AjaxServices.ContactWebService._staticInstance.set_defaultSucceededCallback(value); }
com.realprosystems.agentsystem.AjaxServices.ContactWebService.get_defaultSucceededCallback = function() { return com.realprosystems.agentsystem.AjaxServices.ContactWebService._staticInstance.get_defaultSucceededCallback(); }
com.realprosystems.agentsystem.AjaxServices.ContactWebService.set_defaultFailedCallback = function(value) { com.realprosystems.agentsystem.AjaxServices.ContactWebService._staticInstance.set_defaultFailedCallback(value); }
com.realprosystems.agentsystem.AjaxServices.ContactWebService.get_defaultFailedCallback = function() { return com.realprosystems.agentsystem.AjaxServices.ContactWebService._staticInstance.get_defaultFailedCallback(); }
com.realprosystems.agentsystem.AjaxServices.ContactWebService.set_path("/ContactWebService.asmx");
com.realprosystems.agentsystem.AjaxServices.ContactWebService.SendContactForm= function(fromname,fromemail,subject,message,onSuccess,onFailed,userContext) {com.realprosystems.agentsystem.AjaxServices.ContactWebService._staticInstance.SendContactForm(fromname,fromemail,subject,message,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('com.realprosystems.web.agentsystem');
if (typeof(com.realprosystems.web.agentsystem.AjaxResult) === 'undefined') {
com.realprosystems.web.agentsystem.AjaxResult=gtc("com.realprosystems.web.agentsystem.AjaxResult");
com.realprosystems.web.agentsystem.AjaxResult.registerClass('com.realprosystems.web.agentsystem.AjaxResult');
}
