var sendForm=function() {
sendForm.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
sendForm.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return sendForm._staticInstance.get_path();},
postAgentWithSourceAndArmy:function(ipAddress,strName,strPhone,strAge,strEmail,strGender,strCitizen,strStartIn,strTrip,strPrefWork,strVisa,strField0,strField1,strField2,strField3,strField4,strField5,strComment,strRef,strAgree,strSourceId,strArmy,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'postAgentWithSourceAndArmy',false,{ipAddress:ipAddress,strName:strName,strPhone:strPhone,strAge:strAge,strEmail:strEmail,strGender:strGender,strCitizen:strCitizen,strStartIn:strStartIn,strTrip:strTrip,strPrefWork:strPrefWork,strVisa:strVisa,strField0:strField0,strField1:strField1,strField2:strField2,strField3:strField3,strField4:strField4,strField5:strField5,strComment:strComment,strRef:strRef,strAgree:strAgree,strSourceId:strSourceId,strArmy:strArmy},succeededCallback,failedCallback,userContext); },
postAgent:function(ipAddress,strName,strPhone,strAge,strEmail,strGender,strCitizen,strStartIn,strTrip,strWork,strVisa,strField0,strField1,strField2,strField3,strField4,strField5,strComment,strRef,strAgree,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'postAgent',false,{ipAddress:ipAddress,strName:strName,strPhone:strPhone,strAge:strAge,strEmail:strEmail,strGender:strGender,strCitizen:strCitizen,strStartIn:strStartIn,strTrip:strTrip,strWork:strWork,strVisa:strVisa,strField0:strField0,strField1:strField1,strField2:strField2,strField3:strField3,strField4:strField4,strField5:strField5,strComment:strComment,strRef:strRef,strAgree:strAgree},succeededCallback,failedCallback,userContext); },
saveVisaClient:function(name,phone,mail,affId,ip,country,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'saveVisaClient',false,{name:name,phone:phone,mail:mail,affId:affId,ip:ip,country:country},succeededCallback,failedCallback,userContext); }}
sendForm.registerClass('sendForm',Sys.Net.WebServiceProxy);
sendForm._staticInstance = new sendForm();
sendForm.set_path = function(value) { sendForm._staticInstance.set_path(value); }
sendForm.get_path = function() { return sendForm._staticInstance.get_path(); }
sendForm.set_timeout = function(value) { sendForm._staticInstance.set_timeout(value); }
sendForm.get_timeout = function() { return sendForm._staticInstance.get_timeout(); }
sendForm.set_defaultUserContext = function(value) { sendForm._staticInstance.set_defaultUserContext(value); }
sendForm.get_defaultUserContext = function() { return sendForm._staticInstance.get_defaultUserContext(); }
sendForm.set_defaultSucceededCallback = function(value) { sendForm._staticInstance.set_defaultSucceededCallback(value); }
sendForm.get_defaultSucceededCallback = function() { return sendForm._staticInstance.get_defaultSucceededCallback(); }
sendForm.set_defaultFailedCallback = function(value) { sendForm._staticInstance.set_defaultFailedCallback(value); }
sendForm.get_defaultFailedCallback = function() { return sendForm._staticInstance.get_defaultFailedCallback(); }
sendForm.set_path("/services/sendForm.asmx");
sendForm.postAgentWithSourceAndArmy= function(ipAddress,strName,strPhone,strAge,strEmail,strGender,strCitizen,strStartIn,strTrip,strPrefWork,strVisa,strField0,strField1,strField2,strField3,strField4,strField5,strComment,strRef,strAgree,strSourceId,strArmy,onSuccess,onFailed,userContext) {sendForm._staticInstance.postAgentWithSourceAndArmy(ipAddress,strName,strPhone,strAge,strEmail,strGender,strCitizen,strStartIn,strTrip,strPrefWork,strVisa,strField0,strField1,strField2,strField3,strField4,strField5,strComment,strRef,strAgree,strSourceId,strArmy,onSuccess,onFailed,userContext); }
sendForm.postAgent= function(ipAddress,strName,strPhone,strAge,strEmail,strGender,strCitizen,strStartIn,strTrip,strWork,strVisa,strField0,strField1,strField2,strField3,strField4,strField5,strComment,strRef,strAgree,onSuccess,onFailed,userContext) {sendForm._staticInstance.postAgent(ipAddress,strName,strPhone,strAge,strEmail,strGender,strCitizen,strStartIn,strTrip,strWork,strVisa,strField0,strField1,strField2,strField3,strField4,strField5,strComment,strRef,strAgree,onSuccess,onFailed,userContext); }
sendForm.saveVisaClient= function(name,phone,mail,affId,ip,country,onSuccess,onFailed,userContext) {sendForm._staticInstance.saveVisaClient(name,phone,mail,affId,ip,country,onSuccess,onFailed,userContext); }

