document.writeln('<html xmlns="http://www.w3.org/1999/xhtml">');document.writeln("<head>");document.writeln("    <title></title>");document.writeln('    <link rel="stylesheet" href="http://www.bankrate.com/free-content/css/bankrate-fcc-calculators.css" type ="text/css" />');document.writeln('    <script type="text/javascript">');document.writeln('        var nhCalSizeOfWidget = "";');document.writeln('        var nhCalDdlFontValue = "";');document.writeln('        var nhCalSelectedColor = "";');document.writeln('        var nhCalValues = "";');document.writeln('        var browserVersion = "";');document.writeln("        nhCalValues = document.getElementById('nhCal').value;");document.writeln("        function nhCalInit() {");document.writeln("            var arrVal = nhCalValues.split(',');");document.writeln("            nhCalSelectedColor = arrVal[0];");document.writeln("            nhCalDdlFontValue = arrVal[1];");document.writeln("            nhCalSizeOfWidget = arrVal[2];");document.writeln("            browserVersion = Browser.Version();");document.writeln("            nhCalGetColor(nhCalSelectedColor);");document.writeln("            nhCalWidgetSize();");document.writeln("            nhCalSetFontFamily();");document.writeln("        }");document.writeln("");document.writeln("var Browser = {");document.writeln("                Version: function() {");document.writeln("                    var version = 999; // we assume a sane browser");document.writeln('                    if (navigator.appVersion.indexOf("MSIE") != -1)');document.writeln("                    // bah, IE again, lets downgrade version number");document.writeln('                        version = parseFloat(navigator.appVersion.split("MSIE")[1]);');document.writeln("                        //alert(Browser.version());");document.writeln("                    return version;");document.writeln("                }");document.writeln("               }");document.writeln("        function nhCalGetColor(colorID) {");document.writeln("            nhCalSelectedColor = colorID;");document.writeln('            if (colorID == "1") {');document.writeln('                document.getElementById("nhCalheaderDiv").className = "BankrateFCC_boxhead-container-small" + " BankrateFCC_calc-blue-border";');document.writeln('                document.getElementById("nhCalBodyDiv").className = "BankrateFCC_calc-container-small" + " BankrateFCC_calc-blue" + " BankrateFCC_calc-blue-border";');document.writeln('                document.getElementById("nhCalResultDiv").className = "BankrateFCC_results-container" + " BankrateFCC_calc-blue-border";');document.writeln('                document.getElementById("nhCalfooterDiv").className = "BankrateFCC_footer-container small" + " BankrateFCC_calc-dkblue";');document.writeln("            }");document.writeln('            if (colorID == "2") {');document.writeln('                document.getElementById("nhCalheaderDiv").className = "BankrateFCC_boxhead-container-small" + " BankrateFCC_calc-orange-border";');document.writeln('                document.getElementById("nhCalBodyDiv").className = "BankrateFCC_calc-container-small" + " BankrateFCC_calc-orange" + " BankrateFCC_calc-orange-border";');document.writeln('                document.getElementById("nhCalResultDiv").className = "BankrateFCC_results-container" + " BankrateFCC_calc-orange-border";');document.writeln('                document.getElementById("nhCalfooterDiv").className = "BankrateFCC_footer-container small" + " BankrateFCC_calc-dkorange";');document.writeln("            }");document.writeln('            if (colorID == "3") {');document.writeln('                document.getElementById("nhCalheaderDiv").className = "BankrateFCC_boxhead-container-small" + " BankrateFCC_calc-gray-border";');document.writeln('                document.getElementById("nhCalBodyDiv").className = "BankrateFCC_calc-container-small" + " BankrateFCC_calc-gray" + " BankrateFCC_calc-gray-border";');document.writeln('                document.getElementById("nhCalResultDiv").className = "BankrateFCC_results-container" + " BankrateFCC_calc-gray-border";');document.writeln('                document.getElementById("nhCalfooterDiv").className = "BankrateFCC_footer-container small" + " BankrateFCC_calc-dkgray";');document.writeln("            }");document.writeln('            if (colorID == "4") {');document.writeln('                document.getElementById("nhCalheaderDiv").className = "BankrateFCC_boxhead-container-small" + " BankrateFCC_calc-green-border";');document.writeln('                document.getElementById("nhCalBodyDiv").className = "BankrateFCC_calc-container-small" + " BankrateFCC_calc-green" + " BankrateFCC_calc-green-border";');document.writeln('                document.getElementById("nhCalResultDiv").className = "BankrateFCC_results-container" + " BankrateFCC_calc-green-border";');document.writeln('                document.getElementById("nhCalfooterDiv").className = "BankrateFCC_footer-container small" + " BankrateFCC_calc-dkgreen";');document.writeln("            }");document.writeln("        }");document.writeln("");document.writeln("        function nhCalSetFontFamily() {");document.writeln('            document.getElementById("nhCalBodyDiv").style.fontFamily = nhCalDdlFontValue;');document.writeln('            document.getElementById("nhCalSubheadDiv").style.fontFamily = nhCalDdlFontValue;');document.writeln('            document.getElementById("nhCalSubheadDiv2").style.fontFamily = nhCalDdlFontValue;');document.writeln('            document.getElementById("nhCalSubheadDiv3").style.fontFamily = nhCalDdlFontValue;');document.writeln('            document.getElementById("nhCaltitleDiv").style.fontFamily = nhCalDdlFontValue;');document.writeln("            nhCalWidgetSize();");document.writeln("        }");document.writeln("");document.writeln("        function nhCalWidgetSize() {");document.writeln('            document.getElementById("nhCalheaderDiv").style.width = parseInt(nhCalSizeOfWidget) + "px";');document.writeln('            document.getElementById("nhCalfooterDiv").style.width = parseInt(nhCalSizeOfWidget) + parseInt(2) + "px";');document.writeln("        var moz = (typeof document.implementation != 'undefined') && (typeof document.implementation.createDocument != 'undefined');");document.writeln("        var ie = (typeof window.ActiveXObject != 'undefined');");document.writeln("            if (moz) {");document.writeln('                document.getElementById("nhCalBodyDiv").style.width = nhCalSizeOfWidget - parseInt(20) + "px";');document.writeln("            }");document.writeln("            else if (ie) {");document.writeln('                document.getElementById("nhCalDivSpace").style.display = "none";');document.write("                if(Checkfun())");document.writeln("              {");document.writeln('                  document.getElementById("nhCalBodyDiv").style.width = nhCalSizeOfWidget - parseInt(20) + "px";');document.writeln("              }");document.writeln("              else");document.writeln("              {");document.writeln('                  document.getElementById("nhCalBodyDiv").style.width = parseFloat(nhCalSizeOfWidget) + "px";');document.writeln('                  document.getElementById("nhCalfooterDiv").style.width = parseInt(nhCalSizeOfWidget) + "px";');document.writeln("              }");document.writeln('               if(nhCalSizeOfWidget=="275"){');document.writeln('                   document.getElementById("btnNHCalculate").style.marginLeft="80px";');document.writeln("               }");document.writeln('               else if(nhCalSizeOfWidget=="300"){');document.writeln('                   document.getElementById("btnNHCalculate").style.marginLeft="90px";');document.writeln("               }");document.writeln('               else if(nhCalSizeOfWidget=="350"){');document.writeln('                   document.getElementById("btnNHCalculate").style.marginLeft="120px";');document.writeln("               }");document.writeln("            }");document.writeln('               if(nhCalSizeOfWidget=="275"){');document.writeln("                 for(var i=1;i<=14;i++)");document.writeln('                  document.getElementById("nhip" +i).style.width="180px";');document.writeln('                  document.getElementById("nhip15").style.width="145px";');document.writeln('                  document.getElementById("nhip16").style.width="145px";');document.writeln('                  document.getElementById("nhCalSubheadDiv3").style.width = "230px";');document.writeln("               }");document.writeln('               else if(nhCalSizeOfWidget=="300"){');document.writeln("                 for(var i=1;i<=14;i++)");document.writeln('                  document.getElementById("nhip" +i).style.width="205px";');document.writeln('                  document.getElementById("nhip15").style.width="175px";');document.writeln('                  document.getElementById("nhip16").style.width="175px";');document.writeln('                  document.getElementById("nhCalSubheadDiv3").style.width = "255px";');document.writeln("               }");document.writeln('               else if(nhCalSizeOfWidget=="350"){');document.writeln("                 for(var i=1;i<=14;i++)");document.writeln('                  document.getElementById("nhip" +i).style.width="255px";');document.writeln('                  document.getElementById("nhip15").style.width="220px";');document.writeln('                  document.getElementById("nhip16").style.width="220px";');document.writeln('                  document.getElementById("nhCalSubheadDiv3").style.width = "290px";');document.writeln("               }");document.writeln('            if (nhCalSizeOfWidget == "275" && nhCalDdlFontValue == "Verdana") {');document.writeln('                document.getElementById("nhCalBRLogo").style.width = "100" + "px";');document.writeln("            }");document.writeln("        }");document.writeln("");document.writeln("        function nhCalValidateMinMax(txtID, spanID, minVal, maxVal) {");document.writeln("            var boolResult = false;");document.writeln("            var txtValue = document.getElementById(txtID).value;");document.writeln("            txtValue = nhCalCleanVariable(txtValue);");document.writeln('            if (txtValue != "") {');document.writeln("                if (parseFloat(txtValue) == txtValue) {");document.writeln("                    if (txtValue >= minVal && txtValue <= maxVal) {");document.writeln("                        boolResult = true;");document.writeln("                    }");document.writeln("                    else {");document.writeln('                        document.getElementById(spanID).innerHTML = "*Please enter a value between " + minVal + " and " + maxVal + ".";');document.writeln("                    }");document.writeln("                }");document.writeln("                else {");document.writeln('                    document.getElementById(spanID).innerHTML = "*Please enter a number value.";');document.writeln("                }");document.writeln("            }");document.writeln("            else {");document.writeln('                document.getElementById(spanID).innerHTML = "*This field cannot be blank.";');document.writeln("            }");document.writeln("            return boolResult;");document.writeln("        }");document.writeln("");document.writeln("        function nhCalValidateInterestRate(txtID, spanID, minVal, maxVal) {");document.writeln("            var boolResult = false;");document.writeln("            var txtValue = document.getElementById(txtID).value;");document.writeln("            txtValue = nhCalCleanVariable(txtValue);");document.writeln('            if (txtValue != "") {');document.writeln("                if (parseFloat(txtValue) == txtValue) {");document.writeln("                    if (txtValue > minVal && txtValue <= maxVal) {");document.writeln("                        boolResult = true;");document.writeln("                    }");document.writeln("                    else if (txtValue <= minVal) {");document.writeln('                        document.getElementById(spanID).innerHTML = "*Please enter a value greater than " + minVal + ".";');document.writeln("                    }");document.writeln("                    else if (txtValue > maxVal) {");document.writeln('                        document.getElementById(spanID).innerHTML = "*Please enter a value between " + minVal + " and " + maxVal + ".";');document.writeln("                    }");document.writeln("                }");document.writeln("                else {");document.writeln('                    document.getElementById(spanID).innerHTML = "*Please enter a number value.";');document.writeln("                }");document.writeln("            }");document.writeln("            else {");document.writeln('                document.getElementById(spanID).innerHTML = "*This field cannot be blank.";');document.writeln("            }");document.writeln("            return boolResult;");document.writeln("        }");document.writeln("");document.writeln("        function nhCalCleanVariable(string) {");document.writeln('            string = string.split(" ").join("");');document.writeln('            string = string.split(",").join("");');document.writeln('            string = string.split("%").join("");');document.writeln('            string = string.split("$").join("");');document.writeln("            return string;");document.writeln("        }");document.writeln("");document.writeln("        function nhCalClearErrorSpan() {");document.writeln('            document.getElementById("errNHTotalWages").innerHTML = "";');document.writeln('            document.getElementById("errNHInvestment").innerHTML = "";');document.writeln('            document.getElementById("errNHAlimony").innerHTML = "";');document.writeln('            document.getElementById("errNHOther").innerHTML = "";');document.writeln('            document.getElementById("errNHDownPayment").innerHTML = "";');document.writeln('            document.getElementById("errNHLoanTerm").innerHTML = "";');document.writeln('            document.getElementById("errNHInterestRate").innerHTML = "";');document.writeln('            document.getElementById("errNHHomeownerInsurance").innerHTML = "";');document.writeln('            document.getElementById("errNHRealStateTax").innerHTML = "";');document.writeln('            document.getElementById("errNHCarPayment").innerHTML = "";');document.writeln('            document.getElementById("errNHAlimonyPaid").innerHTML = "";');document.writeln('            document.getElementById("errNHCreditCardPayment").innerHTML = "";');document.writeln('            document.getElementById("errNHOtherDebts").innerHTML = "";');document.writeln("        }");document.writeln("");document.writeln("        function newHouseCalculate() {");document.writeln("            nhCalClearErrorSpan();");document.writeln('            var nTotalWages = nhCalCleanVariable(document.getElementById("txtNHTotalWages").value);');document.writeln('            var nInvestment = nhCalCleanVariable(document.getElementById("txtNHInvestment").value);');document.writeln('            var nAlimony = nhCalCleanVariable(document.getElementById("txtNHAlimony").value);');document.writeln('            var nOther = nhCalCleanVariable(document.getElementById("txtNHOther").value);');document.writeln('            var nDownPayment = nhCalCleanVariable(document.getElementById("txtNHDownPayment").value);');document.writeln('            var nLoanTerm = nhCalCleanVariable(document.getElementById("txtNHLoanTerm").value);');document.writeln('            var nInterestRate = nhCalCleanVariable(document.getElementById("txtNHInterestRate").value);');document.writeln('            var nHomeownerInsurance = nhCalCleanVariable(document.getElementById("txtNHHomeownerInsurance").value);');document.writeln('            var nRealStateTax = nhCalCleanVariable(document.getElementById("txtNHRealStateTax").value);');document.writeln('            var nCarPayment = nhCalCleanVariable(document.getElementById("txtNHCarPayment").value);');document.writeln('            var nAlimonyPaid = nhCalCleanVariable(document.getElementById("txtNHAlimonyPaid").value);');document.writeln('            var nCreditcardPayment = nhCalCleanVariable(document.getElementById("txtNHCreditCardPayment").value);');document.writeln('            var nOtherDebts = nhCalCleanVariable(document.getElementById("txtNHOtherDebts").value);');document.writeln("");document.writeln('            var bTotalWages = nhCalValidateMinMax("txtNHTotalWages", "errNHTotalWages", 0, 99999999);');document.writeln('            var bInvestment = nhCalValidateMinMax("txtNHInvestment", "errNHInvestment", 0, 99999999);');document.writeln('            var bAlimony = nhCalValidateMinMax("txtNHAlimony", "errNHAlimony", 0, 99999999);');document.writeln('            var bOther = nhCalValidateMinMax("txtNHOther", "errNHOther", 0, 99999999);');document.writeln('            var bDownPayment = nhCalValidateMinMax("txtNHDownPayment", "errNHDownPayment", 0, 99999999);');document.writeln('            var bLoanTerm = nhCalValidateMinMax("txtNHLoanTerm", "errNHLoanTerm", 1, 99);');document.writeln('            var bInterestRate = nhCalValidateInterestRate("txtNHInterestRate", "errNHInterestRate", 0, 99);');document.writeln('            var bHomeownerInsurance = nhCalValidateMinMax("txtNHHomeownerInsurance", "errNHHomeownerInsurance", 0, 99999);');document.writeln('            var bRealStateTax = nhCalValidateMinMax("txtNHRealStateTax", "errNHRealStateTax", 0, 99999);');document.writeln('            var bCarPayment = nhCalValidateMinMax("txtNHCarPayment", "errNHCarPayment", 0, 99999999);');document.writeln('            var bAlimonyPaid = nhCalValidateMinMax("txtNHAlimonyPaid", "errNHAlimonyPaid", 0, 99999999);');document.writeln('            var bCreditcardPayment = nhCalValidateMinMax("txtNHCreditCardPayment", "errNHCreditCardPayment", 0, 99999999);');document.writeln('            var bOtherDebts = nhCalValidateMinMax("txtNHOtherDebts", "errNHOtherDebts", 0, 99999999);');document.writeln("");document.writeln("            if (bAlimony && bAlimonyPaid && bCarPayment && bCreditcardPayment && bDownPayment && bHomeownerInsurance && bInterestRate && bInvestment && bLoanTerm && bOther && bOtherDebts && bRealStateTax && bTotalWages) {");document.writeln('                document.getElementById("txtNHTotalWages").value = nTotalWages;');document.writeln('                document.getElementById("txtNHInvestment").value = nInvestment;');document.writeln('                document.getElementById("txtNHAlimony").value = nAlimony;');document.writeln('                document.getElementById("txtNHOther").value = nOther;');document.writeln('                document.getElementById("txtNHDownPayment").value = nDownPayment;');document.writeln('                document.getElementById("txtNHLoanTerm").value = nLoanTerm;');document.writeln('                document.getElementById("txtNHInterestRate").value = nInterestRate;');document.writeln('                document.getElementById("txtNHHomeownerInsurance").value = nHomeownerInsurance;');document.writeln('                document.getElementById("txtNHRealStateTax").value = nRealStateTax;');document.writeln('                document.getElementById("txtNHCarPayment").value = nCarPayment;');document.writeln('                document.getElementById("txtNHAlimonyPaid").value = nAlimonyPaid;');document.writeln('                document.getElementById("txtNHCreditCardPayment").value = nCreditcardPayment;');document.writeln('                document.getElementById("txtNHOtherDebts").value = nOtherDebts;');document.writeln("");document.writeln("                var nTotalMonthlyIncome = parseFloat(nTotalWages) + parseFloat(nInvestment) + parseFloat(nAlimony) + parseFloat(nOther);");document.writeln("");document.writeln("                var Number1, nTotalAffordablePayment;");document.writeln("                var nTotal_It = parseFloat(nTotalWages) + parseFloat(nInvestment) + parseFloat(nAlimony) + parseFloat(nOther);");document.writeln("                var nTotal_Et = (parseFloat(nHomeownerInsurance) / 12) + (parseFloat(nRealStateTax) / 12) + (parseFloat(nCarPayment) * 1) + (parseFloat(nAlimonyPaid) * 1) + (parseFloat(nCreditcardPayment) * 1) + (parseFloat(nOtherDebts) * 1);");document.writeln("                var nTotalMonthlyExpenses = nTotal_Et;");document.writeln("                var nTotalBmo = .28 * parseFloat(nTotal_It);");document.writeln("                var nTotalBap = .36 * parseFloat(nTotal_It) - parseFloat(nTotal_Et);");document.writeln("                if (nTotalBmo < nTotalBap) {");document.writeln("                    Number1 = nTotalBmo;");document.writeln("                    nTotalAffordablePayment = nTotalBmo;");document.writeln("                }");document.writeln("                else {");document.writeln("                    Number1 = nTotalBap;");document.writeln("                }");document.writeln("                if (Number1 > 0) {");document.writeln("                    nTotalAffordablePayment = Number1;");document.writeln("                }");document.writeln("                else {");document.writeln("                    nTotalAffordablePayment = 0;");document.writeln("                }");document.writeln("                var nTRate = parseFloat(nInterestRate) / 1200;");document.writeln("                var nAdditionalRate = (1 + parseFloat(nTRate));");document.writeln("                var nMonth = (12 * parseFloat(nLoanTerm));");document.writeln("                var nT_G = Math.pow(nAdditionalRate, nMonth);");document.writeln("                var nTotalAffordableAmount = parseFloat(nTotalAffordablePayment) * (parseFloat(nT_G) - 1) / (parseFloat(nT_G) * parseFloat(nTRate)) + parseFloat(nDownPayment);");document.writeln("");document.writeln('               if(browserVersion=="6"){');document.writeln('               document.getElementById("divForIe6").style.display="none";');document.writeln('               document.getElementById("divSpaceIe6").style.display="block";');document.writeln("            }");document.writeln('                document.getElementById("nhCalResultDiv").style.display = "block";');document.writeln('                document.getElementById("lblNHTotalMonthlyIncome").innerHTML = (nTotalMonthlyIncome).toFixed(2);');document.writeln('                document.getElementById("lblNHTotalMonthlyExpences").innerHTML = (nTotalMonthlyExpenses).toFixed(2);');document.writeln('                document.getElementById("lblNHAffordablePayment").innerHTML = "$" + nTotalAffordablePayment.toFixed(2);');document.writeln('                document.getElementById("lblNHAffordableAmount").innerHTML = "$" + nTotalAffordableAmount.toFixed(2);');document.writeln('	              document.getElementById("spanNHCalculate").innerHTML="Recalculate";');document.writeln("            }");document.writeln("        }");document.writeln("");document.writeln("      function Checkfun(){");document.writeln("        var i=0;");document.writeln("        var strToFind =/DOCTYPE/;");document.writeln("        var docCount = 0;");document.writeln("        var docChekStatus = false;");document.writeln("        var flagt_comment = false;");document.writeln("        var loopexec = true;");document.writeln("        for(i=0; i< document.all.length; i++)");document.writeln("        {");document.writeln("          if(loopexec){");document.writeln("            if(document.all[i].text != null)");document.writeln("            {");document.writeln("                var nVal = document.all[i].text;");document.writeln("                var substr = nVal.substring('1', '4');");document.writeln("                  if(substr != \"\" && substr == '!--')");document.writeln("                    flagt_comment =true;");document.writeln("");document.writeln("                if(findPos != -1)");document.writeln("                {");document.writeln("                  var substr1 = nVal.substring('1', '4');");document.writeln("                  if(substr1 != \"\" && substr1 != '!--'){");document.writeln("                    var findPos = nVal.search(strToFind);");document.writeln("                    var posd = nVal.substring(parseInt(findPos - 1), findPos);");document.writeln("                    if(posd == '!')");document.writeln("                    {");document.writeln("                      docCount = parseInt(docCount) + 1;");document.writeln("                      loopexec = false;");document.writeln("                    }");document.writeln("                  }");document.writeln("                }");document.writeln("            }");document.writeln("          }");document.writeln("        }");document.writeln("        if(docCount >= 1 && !flagt_comment)");document.writeln("           docChekStatus = true;");document.writeln("        return docChekStatus;");document.writeln("      }");document.writeln("    <\/script>");document.writeln("</head>");document.writeln("<body>");document.writeln('               <div id="nhCalBodyDiv" class="BankrateFCC_calc-container-small">');document.writeln('              <div class="BankrateFCC_subhead"  id="nhCalSubheadDiv" >Gross Monthly Income</div>');document.writeln('              <div class="BankrateFCC_col1" id="nhip1">Wages ($):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <input type="text" class="BankrateFCC_sel-options" id="txtNHTotalWages" value="" />');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln('                <span id="errNHTotalWages" class="BankrateFCC_form-error"></span>');document.writeln("              </div>");document.writeln("");document.writeln('              <div class="BankrateFCC_col1" id="nhip2">Investments/Dividends ($):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <input type="text" class="BankrateFCC_sel-options" id="txtNHInvestment" value="" />');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln('                <span id="errNHInvestment" class="BankrateFCC_form-error"></span>');document.writeln("              </div>");document.writeln("");document.writeln('              <div class="BankrateFCC_col1" id="nhip3">Alimony received ($):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <input type="text" class="BankrateFCC_sel-options" id="txtNHAlimony" value="" />');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln('                <span id="errNHAlimony" class="BankrateFCC_form-error"></span>');document.writeln("              </div>");document.writeln("");document.writeln('              <div class="BankrateFCC_col1" id="nhip4">Other ($):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <input type="text" class="BankrateFCC_sel-options" id="txtNHOther" value="" />');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln('                <span id="errNHOther" class="BankrateFCC_form-error"></span>');document.writeln("              </div>");document.writeln("");document.writeln('              <div class="BankrateFCC_col1" id="nhip15">Total monthly income ($):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <b><span id="lblNHTotalMonthlyIncome">0</span></b>');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln("              </div>");document.writeln("");document.writeln('              <div class="BankrateFCC_subhead"  id="nhCalSubheadDiv2" >New Home Info :</div>');document.writeln('              <div class="BankrateFCC_col1" id="nhip5">Down payment ($):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <input type="text" class="BankrateFCC_sel-options" id="txtNHDownPayment" value="" />');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln('                <span id="errNHDownPayment" class="BankrateFCC_form-error"></span>');document.writeln("              </div>");document.writeln("");document.writeln('              <div class="BankrateFCC_col1" id="nhip6">Loan term (years):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <input type="text" class="BankrateFCC_sel-options" id="txtNHLoanTerm" value="" />');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln('                <span id="errNHLoanTerm" class="BankrateFCC_form-error"></span>');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_col1" id="nhip7">Interest rate (%):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <input type="text" class="BankrateFCC_sel-options" id="txtNHInterestRate" value="" />');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln('                <span id="errNHInterestRate" class="BankrateFCC_form-error"></span>');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_col1" id="nhip8">Homeowner\'s insurance ($/year):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <input type="text" class="BankrateFCC_sel-options" id="txtNHHomeownerInsurance" value="" />');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln('                <span id="errNHHomeownerInsurance" class="BankrateFCC_form-error"></span>');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_col1" id="nhip9">Real estate taxes ($/year):	</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <input type="text" class="BankrateFCC_sel-options" id="txtNHRealStateTax" value="" />');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_col1" id="nhip10">Monthly Expenses:</div>');document.writeln('              <div class="BankrateFCC_colFull">');document.writeln('                <span id="errNHRealStateTax" class="BankrateFCC_form-error"></span>');document.writeln("              </div>");document.writeln("");document.writeln('              <div class="BankrateFCC_col1" id="nhip11">Car payment ($):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <input type="text" class="BankrateFCC_sel-options" id="txtNHCarPayment" value="" />');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln('                <span id="errNHCarPayment" class="BankrateFCC_form-error"></span>');document.writeln("              </div>");document.writeln("");document.writeln('              <div class="BankrateFCC_col1" id="nhip12">Alimony paid ($):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <input type="text" class="BankrateFCC_sel-options" id="txtNHAlimonyPaid" value="" />');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln('                <span id="errNHAlimonyPaid" class="BankrateFCC_form-error"></span>');document.writeln("              </div>");document.writeln("");document.writeln('              <div class="BankrateFCC_col1" id="nhip13">Credit card payment ($):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <input type="text" class="BankrateFCC_sel-options" id="txtNHCreditCardPayment" value="" />');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln('                <span id="errNHCreditCardPayment" class="BankrateFCC_form-error"></span>');document.writeln("              </div>");document.writeln("");document.writeln('              <div class="BankrateFCC_col1" id="nhip14">Other debts ($):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <input type="text" class="BankrateFCC_sel-options" id="txtNHOtherDebts" value="" />');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln('                <span id="errNHOtherDebts" class="BankrateFCC_form-error"></span>');document.writeln("              </div>");document.writeln("");document.writeln('              <div class="BankrateFCC_col1" id="nhip16">Total monthly expenses ($):</div>');document.writeln('              <div class="BankrateFCC_col2">');document.writeln('                <b><span id="lblNHTotalMonthlyExpences">0</span></b>');document.writeln("              </div>");document.writeln("");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln("              </div>");document.writeln('              <div id="nhCalSubheadDiv3" class="BankrateFCC_subhead">');document.writeln("                <span>Total monthly expenses (including insurance and real estate tax payments)</span>");document.writeln("              </div>");document.writeln('              <div id="nhCalDivSpace" style="display:block;" class="BankrateFCC_colFull">');document.writeln("              </div>");document.writeln('              <div class="BankrateFCC_colFull">');document.writeln("              </div>");document.writeln('              <div id="btnNHCalculate" class="BankrateFCC_button-small right">');document.writeln("                <div >");document.writeln('                  <a href="javascript:onclick = newHouseCalculate()" >');document.writeln('                    <span id="spanNHCalculate">Calculate</span>');document.writeln("                  </a>");document.writeln("                </div>");document.writeln("              </div>");document.writeln('              <div id="nhCalResultDiv" style="display:none;" class="BankrateFCC_results-container">');document.writeln('                <div class="BankrateFCC_results-col1">');document.writeln("                  <b>Available Mortgage Limits:</b>");document.writeln("                </div>");document.writeln('                <div id="divSpaceIe6" style="display:none;">');document.writeln("<br></br>");document.writeln("                </div>");document.writeln('                <div id="divForIe6"  class="BankrateFCC_colFull">');document.writeln("                </div>");document.writeln('                <div id="nhCalResult1" class="BankrateFCC_results-col1">Available mortgage payment:</div>');document.writeln('                <div class="BankrateFCC_results-col2">');document.writeln('                  <span id="lblNHAffordablePayment">$0</span>');document.writeln("                </div>");document.writeln('                <div id="nhCalResult2" class="BankrateFCC_results-col1">Affordable home amount($):</div>');document.writeln('                <div class="BankrateFCC_results-col2">');document.writeln('                  <span id="lblNHAffordableAmount">$0</span>');document.writeln("                </div>");document.writeln("              </div>");document.writeln("            </div>");document.writeln("");document.writeln("</body>");document.writeln("</html>");
