Type.registerNamespace('Mortgageleadhandler');
Mortgageleadhandler.postmLead=function() {
Mortgageleadhandler.postmLead.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Mortgageleadhandler.postmLead.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Mortgageleadhandler.postmLead._staticInstance.get_path();},
PostLead:function(mortType,loanvalue,ftb,propfound,propvalue,mortcomp,mortTerm,title,firstname,lastname,house_no,town,city,postCode,homeTel,workTel,mobile,email,newsletter,notes,selfcert,badcredit,dob,userIP,Conveyancy,newbuild,currlend,currrate,dealendsMM,dealendsYYYY,refid,provid,provname,buystage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostLead',false,{mortType:mortType,loanvalue:loanvalue,ftb:ftb,propfound:propfound,propvalue:propvalue,mortcomp:mortcomp,mortTerm:mortTerm,title:title,firstname:firstname,lastname:lastname,house_no:house_no,town:town,city:city,postCode:postCode,homeTel:homeTel,workTel:workTel,mobile:mobile,email:email,newsletter:newsletter,notes:notes,selfcert:selfcert,badcredit:badcredit,dob:dob,userIP:userIP,Conveyancy:Conveyancy,newbuild:newbuild,currlend:currlend,currrate:currrate,dealendsMM:dealendsMM,dealendsYYYY:dealendsYYYY,refid:refid,provid:provid,provname:provname,buystage:buystage},succeededCallback,failedCallback,userContext); },
logit:function(thestring,thefile,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'logit',false,{thestring:thestring,thefile:thefile},succeededCallback,failedCallback,userContext); },
sendErr:function(thecopy,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'sendErr',false,{thecopy:thecopy},succeededCallback,failedCallback,userContext); },
loguser:function(thename,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'loguser',false,{thename:thename},succeededCallback,failedCallback,userContext); }}
Mortgageleadhandler.postmLead.registerClass('Mortgageleadhandler.postmLead',Sys.Net.WebServiceProxy);
Mortgageleadhandler.postmLead._staticInstance = new Mortgageleadhandler.postmLead();
Mortgageleadhandler.postmLead.set_path = function(value) { Mortgageleadhandler.postmLead._staticInstance.set_path(value); }
Mortgageleadhandler.postmLead.get_path = function() { return Mortgageleadhandler.postmLead._staticInstance.get_path(); }
Mortgageleadhandler.postmLead.set_timeout = function(value) { Mortgageleadhandler.postmLead._staticInstance.set_timeout(value); }
Mortgageleadhandler.postmLead.get_timeout = function() { return Mortgageleadhandler.postmLead._staticInstance.get_timeout(); }
Mortgageleadhandler.postmLead.set_defaultUserContext = function(value) { Mortgageleadhandler.postmLead._staticInstance.set_defaultUserContext(value); }
Mortgageleadhandler.postmLead.get_defaultUserContext = function() { return Mortgageleadhandler.postmLead._staticInstance.get_defaultUserContext(); }
Mortgageleadhandler.postmLead.set_defaultSucceededCallback = function(value) { Mortgageleadhandler.postmLead._staticInstance.set_defaultSucceededCallback(value); }
Mortgageleadhandler.postmLead.get_defaultSucceededCallback = function() { return Mortgageleadhandler.postmLead._staticInstance.get_defaultSucceededCallback(); }
Mortgageleadhandler.postmLead.set_defaultFailedCallback = function(value) { Mortgageleadhandler.postmLead._staticInstance.set_defaultFailedCallback(value); }
Mortgageleadhandler.postmLead.get_defaultFailedCallback = function() { return Mortgageleadhandler.postmLead._staticInstance.get_defaultFailedCallback(); }
Mortgageleadhandler.postmLead.set_path("/postmLead.asmx");
Mortgageleadhandler.postmLead.PostLead= function(mortType,loanvalue,ftb,propfound,propvalue,mortcomp,mortTerm,title,firstname,lastname,house_no,town,city,postCode,homeTel,workTel,mobile,email,newsletter,notes,selfcert,badcredit,dob,userIP,Conveyancy,newbuild,currlend,currrate,dealendsMM,dealendsYYYY,refid,provid,provname,buystage,onSuccess,onFailed,userContext) {Mortgageleadhandler.postmLead._staticInstance.PostLead(mortType,loanvalue,ftb,propfound,propvalue,mortcomp,mortTerm,title,firstname,lastname,house_no,town,city,postCode,homeTel,workTel,mobile,email,newsletter,notes,selfcert,badcredit,dob,userIP,Conveyancy,newbuild,currlend,currrate,dealendsMM,dealendsYYYY,refid,provid,provname,buystage,onSuccess,onFailed,userContext); }
Mortgageleadhandler.postmLead.logit= function(thestring,thefile,onSuccess,onFailed,userContext) {Mortgageleadhandler.postmLead._staticInstance.logit(thestring,thefile,onSuccess,onFailed,userContext); }
Mortgageleadhandler.postmLead.sendErr= function(thecopy,onSuccess,onFailed,userContext) {Mortgageleadhandler.postmLead._staticInstance.sendErr(thecopy,onSuccess,onFailed,userContext); }
Mortgageleadhandler.postmLead.loguser= function(thename,onSuccess,onFailed,userContext) {Mortgageleadhandler.postmLead._staticInstance.loguser(thename,onSuccess,onFailed,userContext); }

