function loanamount(){$(".helper-title").text("Loan Amount"),$(".helper-copy, #helper-copy-amount").text("Please choose the amount you need. You can borrow between $100 to $5,000. The final amount may also depend on the state you reside in and your lender.")}function loanpurpose(){$(".helper-title").text("Purpose of Loan"),$(".helper-copy, #helper-copy-purpose").text("Please select the purpose for your loan. If you do not see your reason in the dropdown, select 'other'.")}function loancredit(){$(".helper-title").text("Credit Score"),$(".helper-copy, #helper-copy-credit").text("Select your credit rating. If you are unsure of your current rating, please select 'Fair'.")}function loanfname(){$(".helper-title").text("Legal First Name"),$(".helper-copy, #helper-copy-fname").text("Please enter your first name as it is spelled on your ID.")}function loanlname(){$(".helper-title").text("Legal Last Name"),$(".helper-copy, #helper-copy-lname").text("Please enter your last name as it is spelled on your ID.")}function loandob(){$(".helper-title").text("Date of Birth"),$(".helper-copy, #helper-copy-dob").text("Please select your birth date. Note that you must be at least 18 years of age to be eligible to make a short term loan request.")}function loanemail(){$(".helper-title").text("Email Address"),$(".helper-copy, #helper-copy-email").text("Please enter an email address we can reach you at.")}function loanphone(){$(".helper-title").text("Phone Number"),$(".helper-copy, #helper-copy-phone").text("Please enter your cell phone or home phone number.")}function loanaddress(){$(".helper-title").text("Home Address"),$(".helper-copy, #helper-copy-address").text("Please enter the address you currently live at, which includes your street name, house number and, if applicable, apartment number.")}function loanzip(){$(".helper-title").text("Zip Code"),$(".helper-copy, #helper-copy-zip").text("Please enter a valid US Zip Code consisting of 5 digits without spaces.")}function loancity(){$(".helper-title").text("City"),$(".helper-copy, #helper-copy-city").text("Please enter a valid US City.")}function loanstate(){$(".helper-title").text("State"),$(".helper-copy, #helper-copy-state").text("Please enter a valid US State.")}function loanres(){$(".helper-title").text("Time at Residence"),$(".helper-copy, #helper-copy-res").text("Please select the amount of time you have lived at your current address.")}function loanrentown(){$(".helper-title").text("Home Ownership"),$(".helper-copy, #helper-copy-rentown").text("Please select whether you rent or own your residence.")}function loanlicense(){$(".helper-title").text("Driver's License"),$(".helper-copy, #helper-copy-license").text("Please enter a valid US Driver's License. Your Driver’s License and Social Security numbers are required for your protection. Your lender may use it to confirm your identity and other uses that they may deem necessary.")}function loanlicstate(){$(".helper-title").text("License State"),$(".helper-copy, #helper-copy-licstate").text("Please select the state where your Driver's License was issued.")}function loanssn(){$(".helper-title").text("Social Security Number"),$(".helper-copy, #helper-copy-ssn").text("Please enter a 9 digit number that is unique to you and is used to track your Social Security benefits. Your Driver’s License and Social Security numbers are required for your protection. Your lender may use it to confirm your identity and other uses that they may deem necessary.")}function loanempprimary(){$(".helper-title").text("Primary Income"),$(".helper-copy, #helper-copy-empprimary").text("Please select your primary source of income. If you are in active military service, please select 'Employed (Military)'.")}function loanempname(){$(".helper-title").text("Name of Employer"),$(".helper-copy, #helper-copy-empname").text("Please specify the organization you receive your income from. You can enter here your employer's name or the name of the organization.")}function loanemptitle(){$(".helper-title").text("Position or Title"),$(".helper-copy, #helper-copy-emptitle").text("Please enter the title or position of your current job.")}function loanempphone(){$(".helper-title").text("Work Phone"),$(".helper-copy, #helper-copy-empphone").text("Please enter the work phone number of your current job.")}function loanempyear(){$(".helper-title").text("Time at Current Job"),$(".helper-copy, #helper-copy-empyear").text("Please indicate how long you have been with your current employer.")}function loanempmonthly(){$(".helper-title").text("Monthly Income"),$(".helper-copy, #helper-copy-empmonthly").text("Please enter the amount of your monthly take-home pay.")}function loanempdeposit(){$(".helper-title").text("How Do You Receive Your Pay"),$(".helper-copy, #helper-copy-empdeposit").text("Please indicate how your funds are deposited into your bank account.")}function loanemppay(){$(".helper-title").text("Pay Frequency"),$(".helper-copy, #helper-copy-emppay").text("Please choose how often you get your paycheck.")}function loanemppaydate(){$(".helper-title").text("Date of Next Payday"),$(".helper-copy, #helper-copy-emppaydate").text("Please select your next pay date from the pop-up calendar.")}function loanbank(){$(".helper-title").text("Bank Name"),$(".helper-copy, #helper-copy-bank").text("Please indicate which US Bank your funds are to be deposited to.")}function loanrouting(){$(".helper-title").text("ABA/Routing Number"),$(".helper-copy, #helper-copy-routing").text("An ABA/Routing number is a 9 digit bank code used in the United States. You can find it at the bottom of your cheque."),$(".helper-image-routing").show()}function loanaccount(){$(".helper-title").text("Account Number"),$(".helper-copy, #helper-copy-account").text("Please enter the number of your account where you would like to get your funds deposited into. You can find it at the bottom of your cheque."),$(".helper-image-account").show()}function common(){$(".helper-image").hide()}function mobcommon(){}function focusme(){$("#rdio-first-btn").click(),$("#rdio-first-btn").focus()}function scrolltonav(){$(window).width(),$("html, body").animate({scrollTop:+$("body").offset().top},0)}function mobilesteptracker(){$(".progress-pips").removeClass("pip-reached"),$(".progress-fill").removeClass("oneoftwo twooftwo"),$("#section1").hasClass("current")?($(".form-step-location, .form-progress-step").removeClass("completed-step"),$(".progress-fill").addClass("oneoftwo"),$("#pip-step1").addClass("pip-reached")):$("#section2").hasClass("current")&&($(".form-step-location, .form-progress-step").removeClass("completed-step"),$("#step-1, #step-1b").addClass("completed-step"),$(".progress-fill").addClass("twooftwo"),$("#pip-step1").addClass("pip-reached"),$("#pip-step2").addClass("pip-reached"))}$(".mob-nav-toggle").on("click",function(){$(this).toggleClass("menu-animation"),$(".nav-links").toggleClass("open-menu"),$("html").toggleClass("lock-body"),$(".nav-logo, .nav-toggle").toggleClass("fixed-nav")}),$(".panel-collapse").on("show.bs.collapse",function(){$(this).parent().find(".question-box h3").text("A:"),$(this).parent().find(".question-box h3").addClass("q-re-align")}),$(".panel-collapse").on("hidden.bs.collapse",function(){$(this).parent().find(".question-box h3").text("Q:"),$(this).parent().find(".question-box h3").removeClass("q-re-align")}),$(".helper-image").hide(),$(".mob-helper-copy").slideToggle(),$("#amount, .help-amount").on("focus click",function(){common(),loanamount()}),$("#mob-help-amount").on("click",function(){loanamount(),$("#helper-copy-amount").slideToggle()}),$("#loan_purpose, .help-purpose").on("focus click",function(){common(),loanpurpose()}),$("#mob-help-purpose").on("click",function(){loanpurpose(),$("#helper-copy-purpose").slideToggle()}),$("#creditscore, .help-credit").on("focus click",function(){common(),loancredit()}),$("#mob-help-credit").on("click",function(){loancredit(),$("#helper-copy-credit").slideToggle()}),$("#fname, .help-fname").on("focus click",function(){common(),loanfname()}),$("#mob-help-fname").on("click",function(){loanfname(),$("#helper-copy-fname").slideToggle()}),$("#lname, .help-lname").on("focus click",function(){common(),loanlname()}),$("#mob-help-lname").on("click",function(){loanlname(),$("#helper-copy-lname").slideToggle()}),$("#dob, .help-dob").on("focus click",function(){common(),loandob()}),$("#mob-help-dob").on("click",function(){loandob(),$("#helper-copy-dob").slideToggle()}),$("#email, .help-email").on("focus click",function(){common(),loanemail()}),$("#mob-help-email").on("click",function(){loanemail(),$("#helper-copy-email").slideToggle()}),$("#home_phone, .help-phone").on("focus click",function(){common(),loanphone()}),$("#mob-help-phone").on("click",function(){loanphone(),$("#helper-copy-phone").slideToggle()}),$("#address, .help-address").on("focus click",function(){common(),loanaddress()}),$("#mob-help-address").on("click",function(){loanaddress(),$("#helper-copy-address").slideToggle()}),$("#zip_code, .help-zip").on("focus click",function(){common(),loanzip()}),$("#mob-help-zip").on("click",function(){loanzip(),$("#helper-copy-zip").slideToggle()}),$("#city, .help-city").on("focus click",function(){common(),loancity()}),$("#mob-help-city").on("click",function(){loancity(),$("#helper-copy-city").slideToggle()}),$("#state, .help-state").on("focus click",function(){common(),loanstate()}),$("#mob-help-state").on("click",function(){loanstate(),$("#helper-copy-state").slideToggle()}),$("#res_year, .help-res").on("focus click",function(){common(),loanres()}),$("#mob-help-res").on("click",function(){loanres(),$("#helper-copy-res").slideToggle()}),$("#rent, #own, .help-rentown").on("focus click",function(){common(),loanrentown()}),$("#mob-help-rentown").on("click",function(){loanrentown(),$("#helper-copy-rentown").slideToggle()}),$("#license, .help-license").on("focus click",function(){common(),loanlicense()}),$("#mob-help-license").on("click",function(){loanlicense(),$("#helper-copy-license").slideToggle()}),$("#lic_state, .help-licstate").on("focus click",function(){common(),loanlicstate()}),$("#mob-help-licstate").on("click",function(){loanlicstate(),$("#helper-copy-licstate").slideToggle()}),$("#ssn, .help-ssn").on("focus click",function(){common(),loanssn()}),$("#mob-help-ssn").on("click",function(){loanssn(),$("#helper-copy-ssn").slideToggle()}),$(".emp-btn, .emp-btn-radio, .help-empprimary").on("focus click",function(){common(),loanempprimary()}),$("#mob-help-empprimary").on("click",function(){loanempprimary(),$("#helper-copy-empprimary").slideToggle()}),$("#emp, .help-empname").on("focus click",function(){common(),loanempname()}),$("#mob-help-empname").on("click",function(){loanempname(),$("#helper-copy-empname").slideToggle()}),$("#emp_title, .help-emptitle").on("focus click",function(){common(),loanemptitle()}),$("#mob-help-emptitle").on("click",function(){loanemptitle(),$("#helper-copy-emptitle").slideToggle()}),$("#emp_phone, .help-empphone").on("focus click",function(){common(),loanempphone()}),$("#mob-help-empphone").on("click",function(){loanempphone(),$("#helper-copy-empphone").slideToggle()}),$("#emp_year, .help-empyear").on("focus click",function(){common(),loanempyear()}),$("#mob-help-empyear").on("click",function(){loanempyear(),$("#helper-copy-empyear").slideToggle()}),$("#income, .help-empmonthly").on("focus click",function(){common(),loanempmonthly()}),$("#mob-help-empmonthly").on("click",function(){loanempmonthly(),$("#helper-copy-empmonthly").slideToggle()}),$("#direct_deposit, .help-deposit").on("focus click",function(){common(),loanempdeposit()}),$("#mob-help-empdeposit").on("click",function(){loanempdeposit(),$("#helper-copy-empdeposit").slideToggle()}),$("#emp_pay, .help-emppay").on("focus click",function(){common(),loanemppay()}),$("#mob-help-emppay").on("click",function(){loanemppay(),$("#helper-copy-emppay").slideToggle()}),$("#pay_date, .help-paydate").on("focus click",function(){common(),loanemppaydate()}),$("#mob-help-emppaydate").on("click",function(){loanemppaydate(),$("#helper-copy-emppaydate").slideToggle()}),$("#bank_name, .help-bank").on("focus click",function(){common(),loanbank()}),$("#mob-help-bank").on("click",function(){loanbank(),$("#helper-copy-bank").slideToggle()}),$("#bank_routing, .help-routing").on("focus click",function(){common(),loanrouting()}),$("#mob-help-routing").on("click",function(){loanrouting(),$("#helper-copy-routing").slideToggle()}),$("#bank_accnt, .help-account").on("focus click",function(){common(),loanaccount()}),$("#mob-help-account").on("click",function(){loanaccount(),$("#helper-copy-account").slideToggle()}),$("#tcpa-checkbox, .help-tcpa").on("focus click",function(){common(),$(".helper-title").text("TCPA"),$(".helper-copy").text("The Telephone Consumer Protection Act (TCPA) regulates telemarketing calls, auto-dialed calls, prerecorded calls, text messages, and unsolicited faxes. Checking/clicking this field is required to continue.")}),$("#android-select-01").focus(function(){focusme()}),$(function(){var o=$(".form-section"),t=$(".form-step-location"),n=$(".form-progress-step");function l(e){o.removeClass("current").eq(e).addClass("current"),t.removeClass("current").eq(e).addClass("current"),n.removeClass("current").eq(e).addClass("current")}function c(){return o.index(o.filter(".current"))}$(".form-continue-button").on("click keypress",function(e){32==e.which&&(console.log("spacebar"),e.preventDefault()),$("#confirm").parsley().validate({group:"block-"+c()})&&(l(c()+1),scrolltonav(),mobilesteptracker(),document.activeElement.blur())}),$("#confirm input, #confirm select").keypress(function(e){13!=e.which||$(".last-form-step").hasClass("current")||(e.preventDefault(),$("#confirm").parsley().validate({group:"block-"+c()})&&(l(c()+1),scrolltonav(),mobilesteptracker(),document.activeElement.blur()))}),$(".form-back-button").on("click keypress",function(){l(c()-1),scrolltonav(),mobilesteptracker(),document.activeElement.blur()}),$("#step-1, #step-1b").on("click keypress",function(){console.log("step1"),1==c()?(l(c()-1),scrolltonav(),mobilesteptracker(),document.activeElement.blur()):2==c()&&(l(c()-2),scrolltonav(),mobilesteptracker(),document.activeElement.blur())}),$("#step-2, #step-2b").on("click keypress",function(){0==c()?$("#confirm").parsley().validate({group:"block-"+c()})&&(l(c()+1),scrolltonav(),mobilesteptracker(),document.activeElement.blur()):2==c()&&(l(c()-1),scrolltonav(),mobilesteptracker(),document.activeElement.blur())}),$("#step-3, #step-3b").on("click keypress",function(){0==c()?$("#confirm").parsley().validate({group:"block-"+c()})&&$("#confirm").parsley().validate({group:"block-"+(c()+1)})?(l(c()+2),scrolltonav(),mobilesteptracker(),document.activeElement.blur()):$("#confirm").parsley().validate({group:"block-"+c()})&&(l(c()+1),scrolltonav(),mobilesteptracker(),document.activeElement.blur()):1==c()&&$("#confirm").parsley().validate({group:"block-"+c()})&&(l(c()+1),scrolltonav(),mobilesteptracker(),document.activeElement.blur())}),o.each(function(e,o){$(o).find(":input").attr("data-parsley-group","block-"+e)}),l(0),mobilesteptracker()}),$(document).ready(function(){var e=$("#city").val(),o=$("#state").val();$(".city-populator").text(e),$(".state-populator").text(o),0