function checkCalcpaymentvalues(){if(document.Calcpayment.amount.value.length==0){alert('Please enter a loan amount'); return false; }else if(isNaN(document.Calcpayment.amount.value.replace(',',''))==true){alert('Please enter a numeric loan amount.'); return false; }else if(document.Calcpayment.yrrate.value.length==0){alert('Please enter an interest rate'); return false; }else if(isNaN(document.Calcpayment.yrrate.value.replace(',',''))==true){alert('Please enter a numeric interest rate'); return false; }else if(document.Calcpayment.yrs.value.length==0){alert('Please enter a term in years'); return false; }else if(isNaN(document.Calcpayment.yrs.value.replace(',',''))==true){alert('Please enter a numeric term in years'); return false; }else if(document.Calcpayment.propertyvalue.value.length==0){alert('Please enter a property value'); return false; }else if(isNaN(document.Calcpayment.propertyvalue.value.replace(',',''))==true){alert('Please enter a numeric property value.'); return false; }else{document.Calcpayment.submit(); }}document.write('
');