{"id":1423,"date":"2022-08-12T15:21:26","date_gmt":"2022-08-12T19:21:26","guid":{"rendered":"https:\/\/ppta.ca\/tools\/calculatrice-hypothecaire\/"},"modified":"2022-10-05T10:26:38","modified_gmt":"2022-10-05T14:26:38","slug":"mortgage-loan-calculator","status":"publish","type":"page","link":"https:\/\/ppta.ca\/en\/tools\/mortgage-loan-calculator\/","title":{"rendered":"Mortgage Loan Calculator"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row type=&#8221;in_grid&#8221; text_align=&#8221;inherit&#8221; el_class=&#8221;calculateur-row&#8221;][vc_column][vc_row_inner type=&#8221;full_width&#8221; text_align=&#8221;left&#8221; el_class=&#8221;padding-b-50&#8243;][vc_column_inner]<a href=\"\/en\/tools\/\" target=\"_self\" class=\"dist-btn type3\">All tools<\/a>[\/vc_column_inner][\/vc_row_inner][vc_column_text el_class=&#8221;calculateur-toptitle&#8221;]Calculators \u2014 Miscellaneous[\/vc_column_text][vc_column_text el_class=&#8221;text-center&#8221;]<\/p>\n<h2>Mortgage Loan Calculator<\/h2>\n<p>[\/vc_column_text][vc_row_inner type=&#8221;full_width&#8221; text_align=&#8221;inherit&#8221; el_class=&#8221;calculateur-inner-row padding-b-120&#8243;][vc_column_inner]<div class=\"dist-shortcode-container wpb_content_element\">\u00a0\n <script type=\"text\/javascript\">\n     \nvar compteur=1;\n\nvar total_capital = 0;\n\nvar solde_total = 0;\n\nvar capital_acc=0;\n\nvar interet_acc=0;\n\n\n\nfunction verification(){\n\n\n\nif (window.document.calc.capital.value == 0 || window.document.calc.capital_2.value == \"\"){\n\n    alert(\"You must enter a capital.\");\n\n    window.document.calc.prix.focus();\n\n}\n\nelse\n\n{\n\n    if (window.document.calc.periode.value==\"\" || window.document.calc.periode.value == \" \"){\n\n        alert(\"You must enter a period.\");\n\n        window.document.calc.periode.focus();\n\n\n\n    }\n\n    else\n\n    {\n\n        if (window.document.calc.taux.value==\"\" || window.document.calc.taux.value == \" \"){\n\n            alert(\"You must enter a mortgage rate.\");\n\n            window.document.calc.taux.focus();\n\n        }\n\n        else\n\n        {\n\n            calcul()\n\n        }\n\n\n\n    }\n\n\n\n}\n\n\n\n}\n\n\n\nfunction place(that, maxlong,champcible2) {\n\n\n\nvar tour=0;\n\nvar trouve=\"false\";\n\nvar temp = that.value;\n\nvar longueur = temp.length;\n\nvar pospoint=0;\n\nvar point='false';\n\nvar sous=\"\";\n\nvar dollars=\"\";\n\n\n\nwhile(tour<longueur){\n\n    caractere = temp.charAt(tour)\n\n    if (caractere==\",\"){\n\n        avant = temp.substring(0,tour);\n\n        apres = temp.substring(tour+1,longueur);\n\n        temp = avant + \".\" + apres;\n\n        point = 'true';\n\n        pospoint = tour;\n\n    }\n\n    if (caractere==\" \"){\n\n        avant = temp.substring(0,tour);\n\n        apres = temp.substring(tour+1,longueur);\n\n        temp=avant + apres;     \n\n        tour=tour-1;\n\n        longueur=longueur-1;\n\n    }\n\n    if (caractere==\".\"){\n\n        point = 'true';\n\n        pospoint = tour;\n\n    }\n\n\n\n    tour=tour+1;\n\n};\n\nif (point == 'true'){\n\n\n\n\n\n    if (longueur == pospoint+1){\n\n        sous = \",00\";\n\n\n\n        tour=0\n\n        if (longueur>4){\n\n            while (tour<longueur-4){\n\n                dollars = dollars + temp.charAt(tour)\n\n                tour=tour+1;\n\n            }\n\n            dollars = dollars + \" \" + temp.charAt(tour) + temp.charAt(tour+1) + temp.charAt(tour+2)\n\n        }\n\n        else\n\n        {\n\n            tour=0\n\n            while (tour<longueur-1){\n\n                dollars = dollars + temp.charAt(tour)\n\n                tour=tour+1;\n\n            }\n\n        }\n\n    }\n\n    else\n\n    {\n\n        if (temp.charAt(pospoint+1) != \"\" ){\n\n            sous = \",\" + temp.charAt(pospoint+1)\n\n\n\n            if (temp.charAt(pospoint+2) != \"\" ){\n\n            \n\n                tour=0\n\n                sous = sous + temp.charAt(pospoint+2)\n\n                if (longueur>6){\n\n                    while (tour<longueur-6){\n\n                        dollars = dollars + temp.charAt(tour)\n\n                        tour=tour+1;\n\n                    }\n\n                    dollars = dollars + \" \" + temp.charAt(tour) + temp.charAt(tour+1) +                     temp.charAt(tour+2)\n\n    \n\n                }\n\n                else\n\n                {   \n\n                    tour=0\n\n                        while (tour<longueur-3){\n\n                        dollars = dollars + temp.charAt(tour)\n\n                        tour=tour+1;\n\n                        }\n\n                }\n\n            }\n\n            else\n\n            {\n\n                sous = sous + \"0\"\n\n                tour=0\n\n                if (longueur>5){\n\n                    while (tour<longueur-5){\n\n                        dollars = dollars + temp.charAt(tour)\n\n                        tour=tour+1;\n\n                    }\n\n                    dollars = dollars + \" \" + temp.charAt(tour) + temp.charAt(tour+1) +                     temp.charAt(tour+2) \n\n                }\n\n                else\n\n                {\n\n                    tour=0\n\n                    while (tour<longueur-2){\n\n                        dollars = dollars + temp.charAt(tour)\n\n                        tour=tour+1;\n\n                    }\n\n                }\n\n            }\n\n        }\n\n    }\n\n}\n\nelse\n\n{\n\n    sous = \",00\"\n\n    tour=0\n\n    if (longueur>3){\n\n        while (tour<(longueur-3)){\n\n            dollars = dollars + temp.charAt(tour)\n\n            tour=tour+1;\n\n        }\n\n        dollars = dollars + \" \" + temp.charAt(tour) + temp.charAt(tour+1) + temp.charAt(tour+2)\n\n    }\n\n    else\n\n    {\n\n        tour=0\n\n        while (tour<longueur){\n\n            dollars = dollars + temp.charAt(tour)\n\n            tour=tour+1;\n\n        }\n\n    }   \n\n}\n\n\n\nif (dollars==\"\"){\n\n    dollars=\"0\";\n\n}\n\n\n\nvar temp2 = dollars + sous;\n\n\n\nif (champcible2=='paiement'){\n\n    window.document.calc.paiement_2.value = temp2;\n\n    window.document.calc.paiement.value = temp;\n\n}\n\nif (champcible2=='depot'){\n\n    window.document.calc.depot_2.value = temp2;\n\n    if(window.document.calc.depot_2.value=='0,00'){\n\n        temp=0;\n\n    };\n\n    window.document.calc.depot.value = temp;\n\n    window.document.calc.capital_2.value =parseFloat(window.document.calc.capital.value) - temp;\n\n    window.document.calc.capital.value = parseFloat(window.document.calc.capital_2.value);\n\n    place(window.document.calc.capital_2,10,'capital');\n\n\n\n}\n\nif (champcible2=='capital'){\n\n    window.document.calc.capital_2.value = temp2;\n\n    window.document.calc.capital.value = temp;\n\n}\n\nif (champcible2=='prix'){\n\n    window.document.calc.prix.value = temp2;\n\n    window.document.calc.capital_2.value =temp - parseFloat(window.document.calc.depot.value);\n\n    window.document.calc.capital.value = parseFloat(window.document.calc.capital_2.value);\n\n    place(window.document.calc.capital_2,10,'capital');\n\n}\n\nif (champcible2=='solde_01'){\n\n    window.document.calc.solde_01.value = temp2;\n\n    window.document.calc.solde_01_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_02'){\n\n    window.document.calc.solde_02.value = temp2;\n\n    window.document.calc.solde_02_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_03'){\n\n    window.document.calc.solde_03.value = temp2;\n\n    window.document.calc.solde_03_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_04'){\n\n    window.document.calc.solde_04.value = temp2;\n\n    window.document.calc.solde_04_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_05'){\n\n    window.document.calc.solde_05.value = temp2;\n\n    window.document.calc.solde_05_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_06'){\n\n    window.document.calc.solde_06.value = temp2;\n\n    window.document.calc.solde_06_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_07'){\n\n    window.document.calc.solde_07.value = temp2;\n\n    window.document.calc.solde_07_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_08'){\n\n    window.document.calc.solde_08.value = temp2;\n\n    window.document.calc.solde_08_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_09'){\n\n    window.document.calc.solde_09.value = temp2;\n\n    window.document.calc.solde_09_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_10'){\n\n    window.document.calc.solde_10.value = temp2;\n\n    window.document.calc.solde_10_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_11'){\n\n    window.document.calc.solde_11.value = temp2;\n\n    window.document.calc.solde_11_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_12'){\n\n    window.document.calc.solde_12.value = temp2;\n\n    window.document.calc.solde_12_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_13'){\n\n    window.document.calc.solde_13.value = temp2;\n\n    window.document.calc.solde_13_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_14'){\n\n    window.document.calc.solde_14.value = temp2;\n\n    window.document.calc.solde_14_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_15'){\n\n    window.document.calc.solde_15.value = temp2;\n\n    window.document.calc.solde_15_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_16'){\n\n    window.document.calc.solde_16.value = temp2;\n\n    window.document.calc.solde_16_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_17'){\n\n    window.document.calc.solde_17.value = temp2;\n\n    window.document.calc.solde_17_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_18'){\n\n    window.document.calc.solde_18.value = temp2;\n\n    window.document.calc.solde_18_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_19'){\n\n    window.document.calc.solde_19.value = temp2;\n\n    window.document.calc.solde_19_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_20'){\n\n    window.document.calc.solde_20.value = temp2;\n\n    window.document.calc.solde_20_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_21'){\n\n    window.document.calc.solde_21.value = temp2;\n\n    window.document.calc.solde_21_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_22'){\n\n    window.document.calc.solde_22.value = temp2;\n\n    window.document.calc.solde_22_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_23'){\n\n    window.document.calc.solde_23.value = temp2;\n\n    window.document.calc.solde_23_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_24'){\n\n    window.document.calc.solde_24.value = temp2;\n\n    window.document.calc.solde_24_2.value = temp;\n\n}\n\n\n\nif (champcible2=='solde_25'){\n\n    window.document.calc.solde_25.value = temp2;\n\n    window.document.calc.solde_25_2.value = temp;\n\n}\n\n\n\nif (champcible2=='interet_01'){\n\n    window.document.calc.interet_01.value = temp2;\n\n}\n\nif (champcible2=='interet_02'){\n\n    window.document.calc.interet_02.value = temp2;\n\n}\n\nif (champcible2=='interet_03'){\n\n    window.document.calc.interet_03.value = temp2;\n\n}\n\nif (champcible2=='interet_04'){\n\n    window.document.calc.interet_04.value = temp2;\n\n}\n\nif (champcible2=='interet_05'){\n\n    window.document.calc.interet_05.value = temp2;\n\n}\n\nif (champcible2=='interet_06'){\n\n    window.document.calc.interet_06.value = temp2;\n\n}\n\nif (champcible2=='interet_07'){\n\n    window.document.calc.interet_07.value = temp2;\n\n}\n\nif (champcible2=='interet_08'){\n\n    window.document.calc.interet_08.value = temp2;\n\n}\n\nif (champcible2=='interet_09'){\n\n    window.document.calc.interet_09.value = temp2;\n\n}\n\nif (champcible2=='interet_10'){\n\n    window.document.calc.interet_10.value = temp2;\n\n}\n\nif (champcible2=='interet_11'){\n\n    window.document.calc.interet_11.value = temp2;\n\n}\n\nif (champcible2=='interet_12'){\n\n    window.document.calc.interet_12.value = temp2;\n\n}\n\nif (champcible2=='interet_13'){\n\n    window.document.calc.interet_13.value = temp2;\n\n}\n\nif (champcible2=='interet_14'){\n\n    window.document.calc.interet_14.value = temp2;\n\n}\n\nif (champcible2=='interet_15'){\n\n    window.document.calc.interet_15.value = temp2;\n\n}\n\nif (champcible2=='interet_16'){\n\n    window.document.calc.interet_16.value = temp2;\n\n}\n\nif (champcible2=='interet_17'){\n\n    window.document.calc.interet_17.value = temp2;\n\n}\n\nif (champcible2=='interet_18'){\n\n    window.document.calc.interet_18.value = temp2;\n\n}\n\nif (champcible2=='interet_19'){\n\n    window.document.calc.interet_19.value = temp2;\n\n}\n\nif (champcible2=='interet_20'){\n\n    window.document.calc.interet_20.value = temp2;\n\n}\n\nif (champcible2=='interet_21'){\n\n    window.document.calc.interet_21.value = temp2;\n\n}\n\nif (champcible2=='interet_22'){\n\n    window.document.calc.interet_22.value = temp2;\n\n}\n\nif (champcible2=='interet_23'){\n\n    window.document.calc.interet_23.value = temp2;\n\n}\n\nif (champcible2=='interet_24'){\n\n    window.document.calc.interet_24.value = temp2;\n\n}\n\nif (champcible2=='interet_25'){\n\n    window.document.calc.interet_25.value = temp2;\n\n}\n\n\n\n\n\nif (champcible2=='capital_01'){\n\n    window.document.calc.capital_01.value = temp2;\n\n    window.document.calc.capital_01_2.value = temp;\n\n}\n\nif (champcible2=='capital_02'){\n\n    window.document.calc.capital_02.value = temp2;\n\n    window.document.calc.capital_02_2.value = temp;\n\n}\n\nif (champcible2=='capital_03'){\n\n    window.document.calc.capital_03.value = temp2;\n\n    window.document.calc.capital_03_2.value = temp;\n\n}\n\nif (champcible2=='capital_04'){\n\n    window.document.calc.capital_04.value = temp2;\n\n    window.document.calc.capital_04_2.value = temp;\n\n}\n\nif (champcible2=='capital_05'){\n\n    window.document.calc.capital_05.value = temp2;\n\n    window.document.calc.capital_05_2.value = temp;\n\n}\n\nif (champcible2=='capital_06'){\n\n    window.document.calc.capital_06.value = temp2;\n\n    window.document.calc.capital_06_2.value = temp;\n\n}\n\nif (champcible2=='capital_07'){\n\n    window.document.calc.capital_07.value = temp2;\n\n    window.document.calc.capital_07_2.value = temp;\n\n}\n\nif (champcible2=='capital_08'){\n\n    window.document.calc.capital_08.value = temp2;\n\n    window.document.calc.capital_08_2.value = temp;\n\n}\n\nif (champcible2=='capital_09'){\n\n    window.document.calc.capital_09.value = temp2;\n\n    window.document.calc.capital_09_2.value = temp;\n\n}\n\nif (champcible2=='capital_10'){\n\n    window.document.calc.capital_10.value = temp2;\n\n    window.document.calc.capital_10_2.value = temp;\n\n}\n\nif (champcible2=='capital_11'){\n\n    window.document.calc.capital_11.value = temp2;\n\n    window.document.calc.capital_11_2.value = temp;\n\n}\n\nif (champcible2=='capital_12'){\n\n    window.document.calc.capital_12.value = temp2;\n\n    window.document.calc.capital_12_2.value = temp;\n\n}\n\nif (champcible2=='capital_13'){\n\n    window.document.calc.capital_13.value = temp2;\n\n    window.document.calc.capital_13_2.value = temp;\n\n}\n\nif (champcible2=='capital_14'){\n\n    window.document.calc.capital_14.value = temp2;\n\n    window.document.calc.capital_14_2.value = temp;\n\n}\n\nif (champcible2=='capital_15'){\n\n    window.document.calc.capital_15.value = temp2;\n\n    window.document.calc.capital_15_2.value = temp;\n\n}\n\nif (champcible2=='capital_16'){\n\n    window.document.calc.capital_16.value = temp2;\n\n    window.document.calc.capital_16_2.value = temp;\n\n}\n\nif (champcible2=='capital_17'){\n\n    window.document.calc.capital_17.value = temp2;\n\n    window.document.calc.capital_17_2.value = temp;\n\n}\n\nif (champcible2=='capital_18'){\n\n    window.document.calc.capital_18.value = temp2;\n\n    window.document.calc.capital_18_2.value = temp;\n\n}\n\nif (champcible2=='capital_19'){\n\n    window.document.calc.capital_19.value = temp2;\n\n    window.document.calc.capital_19_2.value = temp;\n\n}\n\nif (champcible2=='capital_20'){\n\n    window.document.calc.capital_20.value = temp2;\n\n    window.document.calc.capital_20_2.value = temp;\n\n}\n\nif (champcible2=='capital_21'){\n\n    window.document.calc.capital_21.value = temp2;\n\n    window.document.calc.capital_21_2.value = temp;\n\n}\n\nif (champcible2=='capital_22'){\n\n    window.document.calc.capital_22.value = temp2;\n\n    window.document.calc.capital_22_2.value = temp;\n\n}\n\nif (champcible2=='capital_23'){\n\n    window.document.calc.capital_23.value = temp2;\n\n    window.document.calc.capital_23_2.value = temp;\n\n}\n\nif (champcible2=='capital_24'){\n\n    window.document.calc.capital_24.value = temp2;\n\n    window.document.calc.capital_24_2.value = temp;\n\n}\n\nif (champcible2=='capital_25'){\n\n    window.document.calc.capital_25.value = temp2;\n\n    window.document.calc.capital_25_2.value = temp;\n\n}\n\n\n\nif (champcible2=='capitalacc_01'){\n\n    window.document.calc.capitalacc_01.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_02'){\n\n    window.document.calc.capitalacc_02.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_03'){\n\n    window.document.calc.capitalacc_03.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_04'){\n\n    window.document.calc.capitalacc_04.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_05'){\n\n    window.document.calc.capitalacc_05.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_06'){\n\n    window.document.calc.capitalacc_06.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_07'){\n\n    window.document.calc.capitalacc_07.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_08'){\n\n    window.document.calc.capitalacc_08.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_09'){\n\n    window.document.calc.capitalacc_09.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_10'){\n\n    window.document.calc.capitalacc_10.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_11'){\n\n    window.document.calc.capitalacc_11.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_12'){\n\n    window.document.calc.capitalacc_12.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_13'){\n\n    window.document.calc.capitalacc_13.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_14'){\n\n    window.document.calc.capitalacc_14.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_15'){\n\n    window.document.calc.capitalacc_15.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_16'){\n\n    window.document.calc.capitalacc_16.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_17'){\n\n    window.document.calc.capitalacc_17.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_18'){\n\n    window.document.calc.capitalacc_18.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_19'){\n\n    window.document.calc.capitalacc_19.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_20'){\n\n    window.document.calc.capitalacc_20.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_21'){\n\n    window.document.calc.capitalacc_21.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_22'){\n\n    window.document.calc.capitalacc_22.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_23'){\n\n    window.document.calc.capitalacc_23.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_24'){\n\n    window.document.calc.capitalacc_24.value = temp2;\n\n}\n\nif (champcible2=='capitalacc_25'){\n\n    window.document.calc.capitalacc_25.value = temp2;\n\n}\n\n\n\nif (champcible2=='interetacc_01'){\n\n    window.document.calc.interetacc_01.value = temp2;\n\n}\n\nif (champcible2=='interetacc_02'){\n\n    window.document.calc.interetacc_02.value = temp2;\n\n}\n\nif (champcible2=='interetacc_03'){\n\n    window.document.calc.interetacc_03.value = temp2;\n\n}\n\nif (champcible2=='interetacc_04'){\n\n    window.document.calc.interetacc_04.value = temp2;\n\n}\n\nif (champcible2=='interetacc_05'){\n\n    window.document.calc.interetacc_05.value = temp2;\n\n}\n\nif (champcible2=='interetacc_06'){\n\n    window.document.calc.interetacc_06.value = temp2;\n\n}\n\nif (champcible2=='interetacc_07'){\n\n    window.document.calc.interetacc_07.value = temp2;\n\n}\n\nif (champcible2=='interetacc_08'){\n\n    window.document.calc.interetacc_08.value = temp2;\n\n}\n\nif (champcible2=='interetacc_09'){\n\n    window.document.calc.interetacc_09.value = temp2;\n\n}\n\nif (champcible2=='interetacc_10'){\n\n    window.document.calc.interetacc_10.value = temp2;\n\n}\n\nif (champcible2=='interetacc_11'){\n\n    window.document.calc.interetacc_11.value = temp2;\n\n}\n\nif (champcible2=='interetacc_12'){\n\n    window.document.calc.interetacc_12.value = temp2;\n\n}\n\nif (champcible2=='interetacc_13'){\n\n    window.document.calc.interetacc_13.value = temp2;\n\n}\n\nif (champcible2=='interetacc_14'){\n\n    window.document.calc.interetacc_14.value = temp2;\n\n}\n\nif (champcible2=='interetacc_15'){\n\n    window.document.calc.interetacc_15.value = temp2;\n\n}\n\nif (champcible2=='interetacc_16'){\n\n    window.document.calc.interetacc_16.value = temp2;\n\n}\n\nif (champcible2=='interetacc_17'){\n\n    window.document.calc.interetacc_17.value = temp2;\n\n}\n\nif (champcible2=='interetacc_18'){\n\n    window.document.calc.interetacc_18.value = temp2;\n\n}\n\nif (champcible2=='interetacc_19'){\n\n    window.document.calc.interetacc_19.value = temp2;\n\n}\n\nif (champcible2=='interetacc_20'){\n\n    window.document.calc.interetacc_20.value = temp2;\n\n}\n\nif (champcible2=='interetacc_21'){\n\n    window.document.calc.interetacc_21.value = temp2;\n\n}\n\nif (champcible2=='interetacc_22'){\n\n    window.document.calc.interetacc_22.value = temp2;\n\n}\n\nif (champcible2=='interetacc_23'){\n\n    window.document.calc.interetacc_23.value = temp2;\n\n}\n\nif (champcible2=='interetacc_24'){\n\n    window.document.calc.interetacc_24.value = temp2;\n\n}\n\nif (champcible2=='interetacc_25'){\n\n    window.document.calc.interetacc_25.value = temp2;\n\n}\n\n\n\n}\n\n\n\nfunction calcul(){\n\ncapital = parseFloat(window.document.calc.capital.value);\n\ntaux = parseFloat(window.document.calc.taux.value);\n\nperiode = parseInt(window.document.calc.periode.value);\n\ndepot = parseFloat(window.document.calc.depot.value);\n\n\n\nfor (i=0; i < window.document.calc.frequence.length; i++)\n\n    {  \n\n    if(window.document.calc.frequence[i].selected==true)\n\n        {\n\n        frequence = window.document.calc.frequence[i].value\n\n        }\n\n    }\n\ntaux = (taux \/ frequence) \/ 100;\n\nnp = (frequence * periode);\n\ntaux = parseFloat(taux);\n\ncapital = parseFloat(capital);\n\nnp = parseFloat(np);\n\nq=Math.pow((1+taux),np);\n\npaiement = ((capital * q)\/(q-1)) * taux\n\n\n\nwindow.document.calc.paiement_2.value = (Math.round(paiement*100))\/100;\n\nplace(window.document.calc.paiement_2,10,'paiement');\n\n\n\nsolde_total = Math.round(parseFloat(window.document.calc.paiement.value) * np *100)\/100;\n\n\n\nremplirtableau(\"debut\");\n\n}\n\n\n\nfunction placetauxperiode(that,maxlong) {\n\n\n\nvar tour=0;\n\nvar trouve=\"false\";\n\nvar temp = that.value;\n\nvar longueur = temp.length;\n\nvar pospoint=0;\n\nvar point='false';\n\n\n\nwhile(tour<longueur){\n\n    caractere = temp.charAt(tour)\n\n    if (caractere==\",\"){\n\n        avant = temp.substring(0,tour);\n\n        apres = temp.substring(tour+1,longueur);\n\n        temp = avant + \".\" + apres;\n\n        point = 'true';\n\n        pospoint = tour;\n\n    }\n\n    if (caractere==\" \"){\n\n        avant = temp.substring(0,tour);\n\n        apres = temp.substring(tour+1,longueur);\n\n        temp=avant + apres;     \n\n        tour=tour-1;\n\n        longueur=longueur-1;\n\n    }\n\n    if (caractere==\".\"){\n\n        point = 'true';\n\n        pospoint = tour;\n\n    }\n\n\n\n    tour=tour+1;\n\n};\n\n\n\nif (that.name ==\"taux\"){\n\n    window.document.calc.taux.value = temp\n\n}\n\nelse\n\n{\n\n    window.document.calc.periode.value = temp\n\n}\n\n}\n\n\n\nfunction remplirtableau(moment){\n\n\n\ntaux = parseFloat(window.document.calc.taux.value);\n\nperiode = parseInt(window.document.calc.periode.value);\n\n\n\nfor (i=0; i < window.document.calc.frequence.length; i++)\n\n    {  \n\n    if(window.document.calc.frequence[i].selected==true)\n\n        {\n\n        frequence = window.document.calc.frequence[i].value\n\n        }\n\n    }\n\ntaux = (taux \/ frequence) \/ 100;\n\nnp = (frequence * periode);\n\n\n\nvar cpt;\n\nvar interet;\n\nvar capital;\n\nvar capital2;\n\nvar interet2;\n\n\n\nif (moment==\"debut\"){\n\n    compteur = 1;\n\n    total_capital = 0;\n\n    capital_acc=0;\n\n    interet_acc=0;\n\n    solde_total = parseFloat(window.document.calc.capital.value) ;\n\n}\n\n\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_01.value=compteur;\n\n    window.document.calc.solde_01.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_01,10,'solde_01');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value) - total_capital )*  taux * 100)\/100);\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_01.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_01.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_01,10,'interetacc_01');\n\n    place(window.document.calc.capitalacc_01,10,'capitalacc_01');\n\n\n\n    window.document.calc.interet_01.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_01.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_01,10,'interet_01');\n\n    place(window.document.calc.capital_01,10,'capital_01');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_01.value=\"\";\n\nwindow.document.calc.capital_01.value=\"\";\n\nwindow.document.calc.interet_01.value=\"\";\n\nwindow.document.calc.capitalacc_01.value=\"\";\n\nwindow.document.calc.interetacc_01.value=\"\";\n\nwindow.document.calc.solde_01.value=\"\";\n\n}\n\n\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_02.value=compteur;\n\n    window.document.calc.solde_02.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_02,10,'solde_02');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_02.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_02.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_02,10,'interetacc_02');\n\n    place(window.document.calc.capitalacc_02,10,'capitalacc_02');\n\n\n\n    window.document.calc.interet_02.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_02.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_02,10,'interet_02');\n\n    place(window.document.calc.capital_02,10,'capital_02');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_02.value=\"\";\n\nwindow.document.calc.capital_02.value=\"\";\n\nwindow.document.calc.interet_02.value=\"\";\n\nwindow.document.calc.solde_02.value=\"\";\n\nwindow.document.calc.capitalacc_02.value=\"\";\n\nwindow.document.calc.interetacc_02.value=\"\";\n\n}\n\n\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_03.value=compteur;\n\n    window.document.calc.solde_03.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_03,10,'solde_03');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_03.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_03.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_03,10,'interetacc_03');\n\n    place(window.document.calc.capitalacc_03,10,'capitalacc_03');\n\n\n\n    window.document.calc.interet_03.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_03.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_03,10,'interet_03');\n\n    place(window.document.calc.capital_03,10,'capital_03');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_03.value=\"\";\n\nwindow.document.calc.capital_03.value=\"\";\n\nwindow.document.calc.interet_03.value=\"\";\n\nwindow.document.calc.solde_03.value=\"\";\n\nwindow.document.calc.capitalacc_03.value=\"\";\n\nwindow.document.calc.interetacc_03.value=\"\";\n\n}\n\n\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_04.value=compteur;\n\n    window.document.calc.solde_04.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_04,10,'solde_04');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_04.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_04.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_04,10,'interetacc_04');\n\n    place(window.document.calc.capitalacc_04,10,'capitalacc_04');\n\n\n\n    window.document.calc.interet_04.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_04.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_04,10,'interet_04');\n\n    place(window.document.calc.capital_04,10,'capital_04');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_04.value=\"\";\n\nwindow.document.calc.capital_04.value=\"\";\n\nwindow.document.calc.interet_04.value=\"\";\n\nwindow.document.calc.solde_04.value=\"\";\n\nwindow.document.calc.capitalacc_04.value=\"\";\n\nwindow.document.calc.interetacc_04.value=\"\";\n\n}\n\n\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_05.value=compteur;\n\n    window.document.calc.solde_05.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_05,10,'solde_05');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_05.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_05.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_05,10,'interetacc_05');\n\n    place(window.document.calc.capitalacc_05,10,'capitalacc_05');\n\n\n\n    window.document.calc.interet_05.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_05.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_05,10,'interet_05');\n\n    place(window.document.calc.capital_05,10,'capital_05');\n\n    solde_total = solde_total - capital2;\n\n\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_05.value=\"\";\n\nwindow.document.calc.capital_05.value=\"\";\n\nwindow.document.calc.interet_05.value=\"\";\n\nwindow.document.calc.solde_05.value=\"\";\n\nwindow.document.calc.capitalacc_05.value=\"\";\n\nwindow.document.calc.interetacc_05.value=\"\";\n\n}\n\n\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_06.value=compteur;\n\n    window.document.calc.solde_06.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_06,10,'solde_06');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_06.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_06.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_06,10,'interetacc_06');\n\n    place(window.document.calc.capitalacc_06,10,'capitalacc_06');\n\n\n\n    window.document.calc.interet_06.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_06.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_06,10,'interet_06');\n\n    place(window.document.calc.capital_06,10,'capital_06');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_06.value=\"\";\n\nwindow.document.calc.capital_06.value=\"\";\n\nwindow.document.calc.interet_06.value=\"\";\n\nwindow.document.calc.solde_06.value=\"\";\n\nwindow.document.calc.capitalacc_06.value=\"\";\n\nwindow.document.calc.interetacc_06.value=\"\";\n\n}\n\n\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_07.value=compteur;\n\n    window.document.calc.solde_07.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_07,10,'solde_07');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_07.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_07.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_07,10,'interetacc_07');\n\n    place(window.document.calc.capitalacc_07,10,'capitalacc_07');\n\n\n\n    window.document.calc.interet_07.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_07.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_07,10,'interet_07');\n\n    place(window.document.calc.capital_07,10,'capital_07');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_07.value=\"\";\n\nwindow.document.calc.capital_07.value=\"\";\n\nwindow.document.calc.interet_07.value=\"\";\n\nwindow.document.calc.solde_07.value=\"\";\n\nwindow.document.calc.capitalacc_07.value=\"\";\n\nwindow.document.calc.interetacc_07.value=\"\";\n\n}\n\n\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_08.value=compteur;\n\n    window.document.calc.solde_08.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_08,10,'solde_08');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_08.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_08.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_08,10,'interetacc_08');\n\n    place(window.document.calc.capitalacc_08,10,'capitalacc_08');\n\n\n\n    window.document.calc.interet_08.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_08.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_08,10,'interet_08');\n\n    place(window.document.calc.capital_08,10,'capital_08');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_08.value=\"\";\n\nwindow.document.calc.capital_08.value=\"\";\n\nwindow.document.calc.interet_08.value=\"\";\n\nwindow.document.calc.solde_08.value=\"\";\n\nwindow.document.calc.capitalacc_08.value=\"\";\n\nwindow.document.calc.interetacc_08.value=\"\";\n\n}\n\n\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_09.value=compteur;\n\n    window.document.calc.solde_09.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_09,10,'solde_09');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_09.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_09.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_09,10,'interetacc_09');\n\n    place(window.document.calc.capitalacc_09,10,'capitalacc_09');\n\n\n\n    window.document.calc.interet_09.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_09.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_09,10,'interet_09');\n\n    place(window.document.calc.capital_09,10,'capital_09');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_09.value=\"\";\n\nwindow.document.calc.capital_09.value=\"\";\n\nwindow.document.calc.interet_09.value=\"\";\n\nwindow.document.calc.solde_09.value=\"\";\n\nwindow.document.calc.capitalacc_09.value=\"\";\n\nwindow.document.calc.interetacc_09.value=\"\";\n\n}\n\n\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_10.value=compteur;\n\n    window.document.calc.solde_10.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_10,10,'solde_10');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_10.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_10.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_10,10,'interetacc_10');\n\n    place(window.document.calc.capitalacc_10,10,'capitalacc_10');\n\n\n\n    window.document.calc.interet_10.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_10.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_10,10,'interet_10');\n\n    place(window.document.calc.capital_10,10,'capital_10');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_10.value=\"\";\n\nwindow.document.calc.capital_10.value=\"\";\n\nwindow.document.calc.interet_10.value=\"\";\n\nwindow.document.calc.solde_10.value=\"\";\n\nwindow.document.calc.capitalacc_10.value=\"\";\n\nwindow.document.calc.interetacc_10.value=\"\";\n\n}\n\n\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_11.value=compteur;\n\n    window.document.calc.solde_11.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_11,10,'solde_11');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_11.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_11.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_11,10,'interetacc_11');\n\n    place(window.document.calc.capitalacc_11,10,'capitalacc_11');\n\n\n\n    window.document.calc.interet_11.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_11.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_11,10,'interet_11');\n\n    place(window.document.calc.capital_11,10,'capital_11');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_11.value=\"\";\n\nwindow.document.calc.capital_11.value=\"\";\n\nwindow.document.calc.interet_11.value=\"\";\n\nwindow.document.calc.solde_11.value=\"\";\n\nwindow.document.calc.capitalacc_11.value=\"\";\n\nwindow.document.calc.interetacc_11.value=\"\";\n\n}\n\n\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_12.value=compteur;\n\n    window.document.calc.solde_12.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_12,10,'solde_12');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_12.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_12.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_12,10,'interetacc_12');\n\n    place(window.document.calc.capitalacc_12,10,'capitalacc_12');\n\n\n\n    window.document.calc.interet_12.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_12.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_12,10,'interet_12');\n\n    place(window.document.calc.capital_12,10,'capital_12');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_12.value=\"\";\n\nwindow.document.calc.capital_12.value=\"\";\n\nwindow.document.calc.interet_12.value=\"\";\n\nwindow.document.calc.solde_12.value=\"\";\n\nwindow.document.calc.capitalacc_12.value=\"\";\n\nwindow.document.calc.interetacc_12.value=\"\";\n\n}\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_13.value=compteur;\n\n    window.document.calc.solde_13.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_13,10,'solde_13');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_13.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_13.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_13,10,'interetacc_13');\n\n    place(window.document.calc.capitalacc_13,10,'capitalacc_13');\n\n\n\n    window.document.calc.interet_13.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_13.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_13,10,'interet_13');\n\n    place(window.document.calc.capital_13,10,'capital_13');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_13.value=\"\";\n\nwindow.document.calc.capital_13.value=\"\";\n\nwindow.document.calc.interet_13.value=\"\";\n\n\n\nwindow.document.calc.solde_13.value=\"\";\n\nwindow.document.calc.capitalacc_13.value=\"\";\n\nwindow.document.calc.interetacc_13.value=\"\";\n\n}\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_14.value=compteur;\n\n    window.document.calc.solde_14.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_14,10,'solde_14');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_14.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_14.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_14,10,'interetacc_14');\n\n    place(window.document.calc.capitalacc_14,10,'capitalacc_14');\n\n\n\n    window.document.calc.interet_14.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_14.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_14,10,'interet_14');\n\n    place(window.document.calc.capital_14,10,'capital_14');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_14.value=\"\";\n\nwindow.document.calc.capital_14.value=\"\";\n\nwindow.document.calc.interet_14.value=\"\";\n\nwindow.document.calc.solde_14.value=\"\";\n\nwindow.document.calc.capitalacc_14.value=\"\";\n\nwindow.document.calc.interetacc_14.value=\"\";\n\n}\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_15.value=compteur;\n\n    window.document.calc.solde_15.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_15,10,'solde_15');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_15.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_15.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_15,10,'interetacc_15');\n\n    place(window.document.calc.capitalacc_15,10,'capitalacc_15');\n\n\n\n    window.document.calc.interet_15.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_15.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_15,10,'interet_15');\n\n    place(window.document.calc.capital_15,10,'capital_15');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_15.value=\"\";\n\nwindow.document.calc.capital_15.value=\"\";\n\nwindow.document.calc.interet_15.value=\"\";\n\nwindow.document.calc.solde_15.value=\"\";\n\nwindow.document.calc.capitalacc_15.value=\"\";\n\nwindow.document.calc.interetacc_15.value=\"\";\n\n}\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_16.value=compteur;\n\n    window.document.calc.solde_16.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_16,10,'solde_16');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_16.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_16.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_16,10,'interetacc_16');\n\n    place(window.document.calc.capitalacc_16,10,'capitalacc_16');\n\n\n\n    window.document.calc.interet_16.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_16.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_16,10,'interet_16');\n\n    place(window.document.calc.capital_16,10,'capital_16');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_16.value=\"\";\n\nwindow.document.calc.capital_16.value=\"\";\n\nwindow.document.calc.interet_16.value=\"\";\n\nwindow.document.calc.solde_16.value=\"\";\n\nwindow.document.calc.capitalacc_16.value=\"\";\n\nwindow.document.calc.interetacc_16.value=\"\";\n\n}\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_17.value=compteur;\n\n    window.document.calc.solde_17.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_17,10,'solde_17');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_17.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_17.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_17,10,'interetacc_17');\n\n    place(window.document.calc.capitalacc_17,10,'capitalacc_17');\n\n\n\n    window.document.calc.interet_17.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_17.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_17,10,'interet_17');\n\n    place(window.document.calc.capital_17,10,'capital_17');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_17.value=\"\";\n\nwindow.document.calc.capital_17.value=\"\";\n\nwindow.document.calc.interet_17.value=\"\";\n\nwindow.document.calc.solde_17.value=\"\";\n\nwindow.document.calc.capitalacc_17.value=\"\";\n\nwindow.document.calc.interetacc_17.value=\"\";\n\n}\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_18.value=compteur;\n\n    window.document.calc.solde_18.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_18,10,'solde_18');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_18.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_18.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_18,10,'interetacc_18');\n\n    place(window.document.calc.capitalacc_18,10,'capitalacc_18');\n\n\n\n    window.document.calc.interet_18.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_18.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_18,10,'interet_18');\n\n    place(window.document.calc.capital_18,10,'capital_18');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_18.value=\"\";\n\nwindow.document.calc.capital_18.value=\"\";\n\nwindow.document.calc.interet_18.value=\"\";\n\nwindow.document.calc.solde_18.value=\"\";\n\nwindow.document.calc.capitalacc_18.value=\"\";\n\nwindow.document.calc.interetacc_18.value=\"\";\n\n}\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_19.value=compteur;\n\n    window.document.calc.solde_19.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_19,10,'solde_19');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_19.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_19.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_19,10,'interetacc_19');\n\n    place(window.document.calc.capitalacc_19,10,'capitalacc_19');\n\n\n\n    window.document.calc.interet_19.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_19.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_19,10,'interet_19');\n\n    place(window.document.calc.capital_19,10,'capital_19');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_19.value=\"\";\n\nwindow.document.calc.capital_19.value=\"\";\n\nwindow.document.calc.interet_19.value=\"\";\n\nwindow.document.calc.solde_19.value=\"\";\n\nwindow.document.calc.capitalacc_19.value=\"\";\n\nwindow.document.calc.interetacc_19.value=\"\";\n\n}\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_20.value=compteur;\n\n    window.document.calc.solde_20.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_20,10,'solde_20');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_20.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_20.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_20,10,'interetacc_20');\n\n    place(window.document.calc.capitalacc_20,10,'capitalacc_20');\n\n\n\n    window.document.calc.interet_20.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_20.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_20,10,'interet_20');\n\n    place(window.document.calc.capital_20,10,'capital_20');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_20.value=\"\";\n\nwindow.document.calc.capital_20.value=\"\";\n\nwindow.document.calc.interet_20.value=\"\";\n\nwindow.document.calc.solde_20.value=\"\";\n\nwindow.document.calc.capitalacc_20.value=\"\";\n\nwindow.document.calc.interetacc_20.value=\"\";\n\n}\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_21.value=compteur;\n\n    window.document.calc.solde_21.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_21,10,'solde_21');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_21.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_21.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_21,10,'interetacc_21');\n\n    place(window.document.calc.capitalacc_21,10,'capitalacc_21');\n\n\n\n    window.document.calc.interet_21.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_21.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_21,10,'interet_21');\n\n    place(window.document.calc.capital_21,10,'capital_21');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_21.value=\"\";\n\nwindow.document.calc.capital_21.value=\"\";\n\nwindow.document.calc.interet_21.value=\"\";\n\nwindow.document.calc.solde_21.value=\"\";\n\nwindow.document.calc.capitalacc_21.value=\"\";\n\nwindow.document.calc.interetacc_21.value=\"\";\n\n}\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_22.value=compteur;\n\n    window.document.calc.solde_22.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_22,10,'solde_22');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_22.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_22.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_22,10,'interetacc_22');\n\n    place(window.document.calc.capitalacc_22,10,'capitalacc_22');\n\n\n\n    window.document.calc.interet_22.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_22.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_22,10,'interet_22');\n\n    place(window.document.calc.capital_22,10,'capital_22');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_22.value=\"\";\n\nwindow.document.calc.capital_22.value=\"\";\n\nwindow.document.calc.interet_22.value=\"\";\n\nwindow.document.calc.solde_22.value=\"\";\n\nwindow.document.calc.capitalacc_22.value=\"\";\n\nwindow.document.calc.interetacc_22.value=\"\";\n\n}\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_23.value=compteur;\n\n    window.document.calc.solde_23.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_23,10,'solde_23');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_23.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_23.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_23,10,'interetacc_23');\n\n    place(window.document.calc.capitalacc_23,10,'capitalacc_23');\n\n\n\n    window.document.calc.interet_23.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_23.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_23,10,'interet_23');\n\n    place(window.document.calc.capital_23,10,'capital_23');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_23.value=\"\";\n\nwindow.document.calc.capital_23.value=\"\";\n\nwindow.document.calc.interet_23.value=\"\";\n\nwindow.document.calc.solde_23.value=\"\";\n\nwindow.document.calc.capitalacc_23.value=\"\";\n\nwindow.document.calc.interetacc_23.value=\"\";\n\n}\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_24.value=compteur;\n\n    window.document.calc.solde_24.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_24,10,'solde_24');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_24.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_24.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_24,10,'interetacc_24');\n\n    place(window.document.calc.capitalacc_24,10,'capitalacc_24');\n\n\n\n    window.document.calc.interet_24.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_24.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_24,10,'interet_24');\n\n    place(window.document.calc.capital_24,10,'capital_24');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_24.value=\"\";\n\nwindow.document.calc.capital_24.value=\"\";\n\nwindow.document.calc.interet_24.value=\"\";\n\nwindow.document.calc.solde_24.value=\"\";\n\nwindow.document.calc.capitalacc_24.value=\"\";\n\nwindow.document.calc.interetacc_24.value=\"\";\n\n}\n\nif (np>=(compteur*frequence)){\n\n    window.document.calc.paiement_25.value=compteur;\n\n    window.document.calc.solde_25.value = Math.round(parseFloat(solde_total) *100)\/100;\n\n    place(window.document.calc.solde_25,10,'solde_25');\n\n    compteur=compteur+1;\n\n    cpt=0\n\n    interet=0;\n\n    capital=0;\n\n    interet2=0;\n\n    capital2=0;\n\n\n\n    while(cpt<frequence){\n\n        interet = (Math.round((parseFloat(window.document.calc.capital.value)) - total_capital )*  taux * 100)\/100;\n\n        capital= Math.round((parseFloat(window.document.calc.paiement.value) -interet) *100)\/100;\n\n        capital2 = capital2 + capital\n\n        interet2 = interet2 + interet\n\n        total_capital = capital + parseFloat(total_capital)\n\n        cpt=cpt+1\n\n\n\n    }\n\n    capital_acc = capital_acc +capital2;\n\n    interet_acc = interet_acc +interet2;\n\n\n\n    window.document.calc.interetacc_25.value=Math.round(interet_acc *100)\/100;\n\n    window.document.calc.capitalacc_25.value=Math.round(capital_acc *100)\/100;\n\n    place(window.document.calc.interetacc_25,10,'interetacc_25');\n\n    place(window.document.calc.capitalacc_25,10,'capitalacc_25');\n\n\n\n    window.document.calc.interet_25.value=Math.round(interet2 *100)\/100;\n\n    window.document.calc.capital_25.value=Math.round(capital2 *100)\/100;\n\n    place(window.document.calc.interet_25,10,'interet_25');\n\n    place(window.document.calc.capital_25,10,'capital_25');\n\n    solde_total = solde_total - capital2;\n\n}\n\nelse\n\n{\n\nwindow.document.calc.paiement_25.value=\"\";\n\nwindow.document.calc.capital_25.value=\"\";\n\nwindow.document.calc.interet_25.value=\"\";\n\nwindow.document.calc.solde_25.value=\"\";\n\nwindow.document.calc.capitalacc_25.value=\"\";\n\nwindow.document.calc.interetacc_25.value=\"\";\n\n}\n\n}\n\n\n\nfunction rienecrire(){\n\n\n\nwindow.document.calc.taux.focus();\n\n\n\n}\n\n\n <\/script>\n\n <form name=\"calc\" id=\"calc\" action=\"javascript:void(null);\" class=\"regform\">\n    <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" class=\"tableau-info-pret\">\n        <tbody>\n            <tr>\n                <td class=\"table-header\" colspan=\"2\">Information about the loan<\/td>\n            <\/tr>\n            <tr>\n                <td>Property Price<\/td>\n                <td>\n                    <input type=\"text\" size=\"10\" name=\"prix\" onchange=\"place(this,10,'prix')\" class=\"input_dollar\"> <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>Down Payment<\/td>\n                <td>\n                    <input type=\"text\" size=\"10\" name=\"depot_2\" onchange=\"place(this,10,'depot')\" class=\"input_dollar\"> <\/td>\n            <\/tr>\n            <tr>\n                <td>Mortgage<\/td>\n                <td>\n                    <input type=\"text\" size=\"10\" name=\"capital_2\" onchange=\"place(this,10,'capital')\" onfocus=\"rienecrire()\" class=\"input_dollar\"> <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>Interest Rate<\/td>\n                <td>\n                    <input type=\"text\" size=\"10\" name=\"taux\" onchange=\"placetauxperiode(this,'10')\" onblur=\"window.document.calc.periode.focus()\" class=\"input_pourcentage\"> <\/td>\n            <\/tr>\n            <tr>\n                <td>Number of Years<\/td>\n                <td>\n                    <input type=\"text\" size=\"10\" name=\"periode\" onchange=\"placetauxperiode(this,'10')\" class=\"input_ans\"> <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>Payment Frequency<\/td>\n                <td>\n                    <select size=\"1\" name=\"frequence\" style=\"float:right;\">\n                        <option value=\"52\"> weekly <\/option>\n                        <option value=\"26\"> bi-weekly <\/option>\n                        <option value=\"12\" selected=\"selected\"> monthly <\/option>\n                        <option value=\"1\"> annual <\/option>\n                    <\/select>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td colspan=\"2\">\n                    <input type=\"button\" value=\"Calculate\" onclick=\"javascript:verification();\" class=\"dist-btn\">\n                <\/td>\n            <\/tr>\n            <tr class=\"tr-gold\">\n                <td>Payment<\/td>\n                <td>\n                    <input type=\"text\" size=\"10\" name=\"paiement_2\" class=\"input_dollar\" disabled disabled><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n    <br><br>\n    <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" class=\"tableau-echeancier\">\n        <tbody>\n            <tr class=\"table-header\">\n                <td colspan=\"6\">Payment Schedule Table<\/td>\n            <\/tr>\n            <tr class=\"tr-gold\">\n                <td class=\"td-centre\">Year<\/td>\n                <td class=\"td-centre\">Capital<\/td>\n                <td class=\"td-centre\">Interest<\/td>\n                <td class=\"td-centre\">Accumulated Capital<\/td>\n                <td class=\"td-centre\">Accumulated Interest<\/td>\n                <td class=\"td-centre\">Balance                    <br>(at start of year)<\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    <input type=\"text\" name=\"paiement_01\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_01\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_01\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_01\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_01\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_01\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>\n                    <input type=\"text\" name=\"paiement_02\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_02\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_02\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_02\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_02\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_02\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    <input type=\"text\" name=\"paiement_03\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_03\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_03\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_03\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_03\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_03\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>\n                    <input type=\"text\" name=\"paiement_04\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_04\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_04\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_04\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_04\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_04\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    <input type=\"text\" name=\"paiement_05\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_05\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_05\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_05\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_05\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_05\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>\n                    <input type=\"text\" name=\"paiement_06\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_06\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_06\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_06\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_06\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_06\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    <input type=\"text\" name=\"paiement_07\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_07\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_07\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_07\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_07\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_07\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>\n                    <input type=\"text\" name=\"paiement_08\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_08\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_08\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_08\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_08\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_08\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    <input type=\"text\" name=\"paiement_09\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_09\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_09\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_09\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_09\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_09\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>\n                    <input type=\"text\" name=\"paiement_10\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_10\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_10\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_10\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_10\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_10\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    <input type=\"text\" name=\"paiement_11\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_11\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_11\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_11\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_11\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_11\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>\n                    <input type=\"text\" name=\"paiement_12\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_12\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_12\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_12\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_12\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_12\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    <input type=\"text\" name=\"paiement_13\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_13\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_13\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_13\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_13\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_13\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>\n                    <input type=\"text\" name=\"paiement_14\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_14\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_14\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_14\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_14\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_14\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    <input type=\"text\" name=\"paiement_15\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_15\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_15\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_15\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_15\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_15\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>\n                    <input type=\"text\" name=\"paiement_16\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_16\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_16\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_16\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_16\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_16\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    <input type=\"text\" name=\"paiement_17\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_17\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_17\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_17\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_17\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_17\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>\n                    <input type=\"text\" name=\"paiement_18\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_18\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_18\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_18\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_18\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_18\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    <input type=\"text\" name=\"paiement_19\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_19\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_19\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_19\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_19\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_19\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>\n                    <input type=\"text\" name=\"paiement_20\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_20\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_20\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_20\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_20\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_20\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    <input type=\"text\" name=\"paiement_21\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_21\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_21\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_21\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_21\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_21\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>\n                    <input type=\"text\" name=\"paiement_22\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_22\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_22\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_22\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_22\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_22\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    <input type=\"text\" name=\"paiement_23\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_23\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_23\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_23\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_23\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_23\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr class=\"tr-gris\">\n                <td>\n                    <input type=\"text\" name=\"paiement_24\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_24\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_24\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_24\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_24\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_24\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    <input type=\"text\" name=\"paiement_25\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capital_25\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interet_25\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"capitalacc_25\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"interetacc_25\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n                <td>\n                    <input type=\"text\" name=\"solde_25\" class=\"input_resultat_hypotheque\" disabled>\n                <\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n    <input type=\"hidden\" name=\"solde_01_2\">\n    <input type=\"hidden\" name=\"solde_02_2\">\n    <input type=\"hidden\" name=\"solde_03_2\">\n    <input type=\"hidden\" name=\"solde_04_2\">\n    <input type=\"hidden\" name=\"solde_05_2\">\n    <input type=\"hidden\" name=\"solde_06_2\">\n    <input type=\"hidden\" name=\"solde_07_2\">\n    <input type=\"hidden\" name=\"solde_08_2\">\n    <input type=\"hidden\" name=\"solde_09_2\">\n    <input type=\"hidden\" name=\"solde_10_2\">\n    <input type=\"hidden\" name=\"solde_11_2\">\n    <input type=\"hidden\" name=\"solde_12_2\">\n    <input type=\"hidden\" name=\"solde_13_2\">\n    <input type=\"hidden\" name=\"solde_14_2\">\n    <input type=\"hidden\" name=\"solde_15_2\">\n    <input type=\"hidden\" name=\"solde_16_2\">\n    <input type=\"hidden\" name=\"solde_17_2\">\n    <input type=\"hidden\" name=\"solde_18_2\">\n    <input type=\"hidden\" name=\"solde_19_2\">\n    <input type=\"hidden\" name=\"solde_20_2\">\n    <input type=\"hidden\" name=\"solde_21_2\">\n    <input type=\"hidden\" name=\"solde_22_2\">\n    <input type=\"hidden\" name=\"solde_23_2\">\n    <input type=\"hidden\" name=\"solde_24_2\">\n    <input type=\"hidden\" name=\"solde_25_2\">\n    <input type=\"hidden\" name=\"capital_01_2\">\n    <input type=\"hidden\" name=\"capital_02_2\">\n    <input type=\"hidden\" name=\"capital_03_2\">\n    <input type=\"hidden\" name=\"capital_04_2\">\n    <input type=\"hidden\" name=\"capital_05_2\">\n    <input type=\"hidden\" name=\"capital_06_2\">\n    <input type=\"hidden\" name=\"capital_07_2\">\n    <input type=\"hidden\" name=\"capital_08_2\">\n    <input type=\"hidden\" name=\"capital_09_2\">\n    <input type=\"hidden\" name=\"capital_10_2\">\n    <input type=\"hidden\" name=\"capital_11_2\">\n    <input type=\"hidden\" name=\"capital_12_2\">\n    <input type=\"hidden\" name=\"capital_13_2\">\n    <input type=\"hidden\" name=\"capital_14_2\">\n    <input type=\"hidden\" name=\"capital_15_2\">\n    <input type=\"hidden\" name=\"capital_16_2\">\n    <input type=\"hidden\" name=\"capital_17_2\">\n    <input type=\"hidden\" name=\"capital_18_2\">\n    <input type=\"hidden\" name=\"capital_19_2\">\n    <input type=\"hidden\" name=\"capital_20_2\">\n    <input type=\"hidden\" name=\"capital_21_2\">\n    <input type=\"hidden\" name=\"capital_22_2\">\n    <input type=\"hidden\" name=\"capital_23_2\">\n    <input type=\"hidden\" name=\"capital_24_2\">\n    <input type=\"hidden\" name=\"capital_25_2\">\n    <input type=\"hidden\" name=\"paiement\">\n    <input type=\"hidden\" name=\"depot\" value=\"0\">\n    <input type=\"hidden\" name=\"capital\"> <\/form>\n\n<\/div>[\/vc_column_inner][\/vc_row_inner][vc_column_text el_class=&#8221;text-center&#8221;]Note: The calculator is provided for information purposes only. PPTA is committed to keeping this tool up to date, but cannot guarantee that the information and results obtained will be accurate, reliable or complete. PPTA is not responsible for any loss or damage that may arise from the use of this calculator, we invite you to <a class=\"gold-color\" href=\"https:\/\/ppta.ca\/en\/about-us\/the-team\/\">consult your advisor<\/a> to benefit from a personalized and complete service.[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row type=&#8221;in_grid&#8221; text_align=&#8221;inherit&#8221; el_class=&#8221;calculateur-row&#8221;][vc_column][vc_row_inner type=&#8221;full_width&#8221; text_align=&#8221;left&#8221; el_class=&#8221;padding-b-50&#8243;][vc_column_inner][\/vc_column_inner][\/vc_row_inner][vc_column_text el_class=&#8221;calculateur-toptitle&#8221;]Calculators \u2014 Miscellaneous[\/vc_column_text][vc_column_text el_class=&#8221;text-center&#8221;] Mortgage Loan Calculator [\/vc_column_text][vc_row_inner type=&#8221;full_width&#8221; text_align=&#8221;inherit&#8221; el_class=&#8221;calculateur-inner-row padding-b-120&#8243;][vc_column_inner][\/vc_column_inner][\/vc_row_inner][vc_column_text el_class=&#8221;text-center&#8221;]Note: The calculator is provided for information purposes only. PPTA is committed to keeping this tool up to date, but cannot guarantee that the information and results obtained will be accurate, reliable or complete. PPTA is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1395,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":""},"class_list":["post-1423","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/ppta.ca\/en\/wp-json\/wp\/v2\/pages\/1423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ppta.ca\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ppta.ca\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ppta.ca\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ppta.ca\/en\/wp-json\/wp\/v2\/comments?post=1423"}],"version-history":[{"count":2,"href":"https:\/\/ppta.ca\/en\/wp-json\/wp\/v2\/pages\/1423\/revisions"}],"predecessor-version":[{"id":1425,"href":"https:\/\/ppta.ca\/en\/wp-json\/wp\/v2\/pages\/1423\/revisions\/1425"}],"up":[{"embeddable":true,"href":"https:\/\/ppta.ca\/en\/wp-json\/wp\/v2\/pages\/1395"}],"wp:attachment":[{"href":"https:\/\/ppta.ca\/en\/wp-json\/wp\/v2\/media?parent=1423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}