<html><head> <title>Seller Estimated Closing Costs</title> <link href="main.css" type="text/css" rel="stylesheet"> <script src="genScripts.js"></script> <script language="javascript"><!-- function totalTopPrice() { return document.forms(0)["totalText"].value = removeSymbols(document.forms(0)["sale price of property (estimated)"].value) - removeSymbols(document.forms(0)["less mortgage balanced (estimated)"].value) - removeSymbols(document.forms(0)["less other encumbrances"].value); } function removeSymbols(string) { if ((string != null)&&(string!="")) { var numString = "0123456789."; string = string.toString(); var len = string.length; for (var i=len-1;i >= 0;i--) { isNum = false; for (var j=0;j < 11;j++) { if (string.charAt(i) == numString.charAt(j)) { isNum = true; } } if (isNum == false){ if ((i==0)&&(string.charAt(i)=="-")) { //do nothing, keep this character } else { string = (string.slice(0,i) + string.slice(i+1,string.length)); } } } } if ((string == "")||(string == null)) { string = "0"; } return parseFloat(string); } function calculateTotalDeductions() { var total = 0; total += removeSymbols(document.main.EscrowCharges.value); total += removeSymbols(document.main.DocumentPreparation.value); total += removeSymbols(document.main.TitleCharges.value); total += removeSymbols(document.main.TransferTax.value); total += removeSymbols(document.main.FHAVALenderDiscount.value); total += removeSymbols(document.main.MortgagePrePaymentPenalty.value); total += removeSymbols(document.main.RealEstateTaxes.value); total += removeSymbols(document.main.Survey.value); total += removeSymbols(document.main.TermiteInspection.value); total += removeSymbols(document.main.CorrectiveWork.value); total += removeSymbols(document.main.HomeProtectionPlan.value); total += removeSymbols(document.main.UnpaidAssessments.value); total += removeSymbols(document.main.RealEstateCommission.value); total += removeSymbols(document.main.OtherPad.value); document.main.TotalDeductions.value = total; return total; } function calculateNetToSeller() { document.main.NetToSeller.value = totalTopPrice() - calculateTotalDeductions(); return totalTopPrice() - calculateTotalDeductions(); } // --></script> <style type="text/css"> <!-- .style1 {color: #636563} --> </style> </head> <body> <form name="main"> <table width="440" cellpadding="1" cellspacing="2" border="0"> <tr><td align="center" valign="top"> <span class="style1" style="font-weight: bold"><font style="font-size: 14pt;" size="5" face="verdana, helvetica, tahoma, arial">Seller Estimated Closing Costs</font></span> <table width="440" cellspacing="1" border="0"> <tr> <td colspan="2"><hr size="2" color="#636563"></td> </tr> <tr> <td valign="top">Sale Price of Property (Estimated)</td> <td valign="top">$<input name="sale price of property (estimated)" maxlength="50" size="15" type="text"></td> </tr> <tr> <td valign="top">Less Mortgage Balanced (Estimated)</td> <td valign="top">$<input name="less mortgage balanced (estimated)" maxlength="50" size="15" type="text"></td> </tr> <tr> <td valign="top">Less Other Encumbrances</td> <td valign="top">$<input name="less other encumbrances" maxlength="50" size="15" type="text"></td> </tr> <tr> <td valign="top"><input onClick="totalTopPrice()" value="Calculate Estimated Equity" name="Total" type="button"></td> <td valign="top">$<input style="font-weight: bold; color: rgb(153, 0, 0);" name="totalText" maxlength="20" size="15" type="text"></td> </tr> <tr> <td colspan="2" valign="top"><hr size="2" color="#636563"></td> </tr> <tr> <td valign="top">Escrow Charges</td> <td valign="top">$<input name="EscrowCharges" maxlength="15" size="15" type="text"></td> </tr> <tr> <td valign="top">Document Preparation</td> <td valign="top">$<input name="DocumentPreparation" maxlength="50" size="15" type="text"></td> </tr> <tr> <td valign="top">Title Charges</td> <td valign="top">$<input name="TitleCharges" maxlength="30" size="15" type="text"></td> </tr> <tr> <td valign="top">Transfer Tax</td> <td valign="top">$<input name="TransferTax" maxlength="30" size="15" type="text"></td> </tr> <tr> <td valign="top">FHA, VA or Lender Discount</td> <td valign="top">$<input name="FHAVALenderDiscount" maxlength="50" size="15" type="text"></td> </tr> <tr> <td valign="top">Mortgage Pre-Payment Penalty</td> <td valign="top">$<input name="MortgagePrePaymentPenalty" maxlength="80" size="15" type="text"></td> </tr> <tr> <td valign="top">Real Estate Taxes</td> <td valign="top">$<input name="RealEstateTaxes" maxlength="50" size="15" type="text"></td> </tr> <tr> <td valign="top">Appraisal</td> <td valign="top">$<input name="Appraisal" maxlength="60" size="15" type="text"></td> </tr> <tr> <td valign="top">Survey</td> <td valign="top">$<input name="Survey" maxlength="70" size="15" type="text"></td> </tr> <tr> <td valign="top">Termite Inspection</td> <td valign="top">$<input name="TermiteInspection" maxlength="70" size="15" type="text"></td> </tr> <tr> <td valign="top">Corrective Work</td> <td valign="top">$<input name="CorrectiveWork" maxlength="70" size="15" type="text"></td> </tr> <tr> <td valign="top">Home Protection Plan</td> <td valign="top">$<input name="HomeProtectionPlan" maxlength="70" size="15" type="text"></td> </tr> <tr> <td valign="top">Unpaid Assessments</td> <td valign="top">$<input name="UnpaidAssessments" maxlength="70" size="15" type="text"></td> </tr> <tr> <td valign="top">Real Estate Commission</td> <td valign="top">$<input name="RealEstateCommission" maxlength="70" size="15" type="text"></td> </tr> <tr> <td valign="top">Other / Pad</td> <td valign="top">$<input name="OtherPad" maxlength="70" size="15" type="text"></td> </tr> <tr> <td valign="top"><input onClick="calculateTotalDeductions()" value="Calculate Total Deductions" name="btnTotalDeductions" type="button"></td> <td valign="top">$<input style="font-weight: bold; color: rgb(153, 0, 0);" name="TotalDeductions" maxlength="30" size="15" type="text"></td> </tr> <tr> <td valign="top"><input onClick="calculateNetToSeller()" value="Calculate Net To Seller" name="btnNetToSeller" type="button"></td> <td valign="top">$<input style="font-weight: bold; color: rgb(153, 0, 0);" name="NetToSeller" maxlength="30" size="15" type="text"></td> </tr> </table> </td></tr> </table> </form></body></html>