Finance Pre-approval Form
/* Do not remove this code. */
function reloadImg1538022000100449081() {
var captcha = document.getElementById('imgid1538022000100449081');
if(captcha.src.indexOf('&d') !== -1 ) {
captcha.src = captcha.src.substring(0, captcha.src.indexOf('&d'))+'&d'+new Date().getTime();
}else{
captcha.src = captcha.src+'&d'+new Date().getTime();
}
}
function validateEmail1538022000100449081()
{
var form = document.forms['WebToLeads1538022000100449081'];
var emailFld = form.querySelectorAll('[ftype=email]');
var i;
for (i = 0; i < emailFld.length; i++)
{
var emailVal = emailFld[i].value;
if((emailVal.replace(/^\s+|\s+$/g, '')).length!=0 )
{
var atpos=emailVal.indexOf('@');
var dotpos=emailVal.lastIndexOf('.');
if (atpos<1 || dotpos=emailVal.length)
{
alert('Please enter a valid email address. ');
emailFld[i].focus();
return false;
}
}
}
return true;
}
function checkMandatory1538022000100449081() {
var mndFileds = new Array('Last Name','Email','Mobile','LEADCF66','LEADCF34','LEADCF42','LEADCF45','LEADCF46');
var fldLangVal = new Array('Last\x20Name','Email','Mobile','Amount\x20Required','What\x20are\x20you\x20looking\x20to\x20purchase\x3F','How\x20long\x20has\x20the\x20business\x20been\x20operating\x3F','Do\x20you\x20have\x20any\x20credit\x20defaults\x3F','Do\x20you\x20own\x20your\x20own\x20home\x3F');
for(i=0;i