
{"id":1953,"date":"2025-09-10T12:27:50","date_gmt":"2025-09-10T12:27:50","guid":{"rendered":"https:\/\/alpfinance.ca\/?page_id=1953"},"modified":"2025-10-08T15:11:31","modified_gmt":"2025-10-08T15:11:31","slug":"mortgages-home-loans","status":"publish","type":"page","link":"https:\/\/alpfinance.ca\/en\/mortgages-home-loans\/","title":{"rendered":"Mortgages and Home Loans"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1953\" class=\"elementor elementor-1953 elementor-1379\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a3e8c54 page-header e-flex e-con-boxed e-con e-parent\" data-id=\"a3e8c54\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;position&quot;:&quot;fixed&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-fdecc4a e-con-full e-flex e-con e-child\" data-id=\"fdecc4a\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-b8b823c e-con-full e-flex e-con e-child\" data-id=\"b8b823c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-de8d273 elementor-widget elementor-widget-heading\" data-id=\"de8d273\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Mortgages and Home Loans<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-08ab666 page-first-block e-flex e-con-boxed e-con e-parent\" data-id=\"08ab666\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-94f518f e-con-full e-flex e-con e-child\" data-id=\"94f518f\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f14ba0d elementor-widget elementor-widget-text-editor\" data-id=\"f14ba0d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<h3 style=\"text-align: center; margin-bottom: 0;\">Flexible solutions for your real estate financing<\/h3>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fd289d3 elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"fd289d3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">Obtaining a mortgage is a key step in buying a property. Whether through your bank, mortgage brokers, or alternative lenders, our experts help you find the best mortgage for your needs.<\/span><\/p><p><span style=\"font-weight: 400;\">Use our mortgage calculator to estimate your loan amount, monthly payments, and installments based on interest rates.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-49f3568 e-con-full e-flex e-con e-child\" data-id=\"49f3568\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-c2db70e e-con-full e-flex e-con e-child\" data-id=\"c2db70e\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-335b717 e-con-full e-flex elementor-invisible e-con e-child\" data-id=\"335b717\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;animation&quot;:&quot;fadeInLeft&quot;,&quot;animation_mobile&quot;:&quot;fadeIn&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-824630e elementor-widget elementor-widget-image\" data-id=\"824630e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"684\" src=\"https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_02-scaled-1-1024x684.jpg\" class=\"attachment-large size-large wp-image-1955\" alt=\"\" srcset=\"https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_02-scaled-1-1024x684.jpg 1024w, https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_02-scaled-1-300x200.jpg 300w, https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_02-scaled-1-768x513.jpg 768w, https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_02-scaled-1-1536x1025.jpg 1536w, https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_02-scaled-1-2048x1367.jpg 2048w, https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_02-scaled-1-449x300.jpg 449w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-8f4a4a7 e-con-full alp-title-spacing e-flex elementor-invisible e-con e-child\" data-id=\"8f4a4a7\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;animation&quot;:&quot;fadeInRight&quot;,&quot;animation_mobile&quot;:&quot;fadeIn&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-155ae03 elementor-widget elementor-widget-text-editor\" data-id=\"155ae03\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default elementor-inline-editing pen\" style=\"font-weight: 400;\" contenteditable=\"true\" data-elementor-setting-key=\"title\" data-pen-placeholder=\"\u00c9crivez ici...\">Why choose our mortgage solutions?<\/h2>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b884e44 elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"b884e44\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Through <strong>Mortgage alliance<\/strong>, we have access to the best terms on the market. <span style=\"font-weight: 400;\">Working with our specialists means benefiting from the guidance of a mortgage broker to:<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Compare mortgage rates and secure the best financing<\/span><span style=\"font-weight: 400;\"><br \/><\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Calculate your payments and plan for total costs<\/span><span style=\"font-weight: 400;\"><br \/><\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Avoid common mistakes when obtaining a mortgage<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\">Access specialized products tailored to every real estate project<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b0c5899 elementor-widget elementor-widget-button\" data-id=\"b0c5899\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"\/en\/contact\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Talk to an advisor<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-a7577c1 e-con-full e-flex e-con e-child\" data-id=\"a7577c1\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-c0d1f1b e-con-full e-flex e-con e-child\" data-id=\"c0d1f1b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-183fdef e-con-full e-flex elementor-invisible e-con e-child\" data-id=\"183fdef\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;animation&quot;:&quot;bounceInRight&quot;,&quot;animation_mobile&quot;:&quot;bounceIn&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e0aef27 elementor-widget elementor-widget-image\" data-id=\"e0aef27\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"683\" height=\"1024\" src=\"https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_01-scaled-1-683x1024.jpg\" class=\"attachment-large size-large wp-image-1957\" alt=\"\" srcset=\"https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_01-scaled-1-683x1024.jpg 683w, https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_01-scaled-1-200x300.jpg 200w, https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_01-scaled-1-768x1151.jpg 768w, https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_01-scaled-1-1025x1536.jpg 1025w, https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_01-scaled-1-1366x2048.jpg 1366w, https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/pret_hypothecaire_01-scaled-1.jpg 1708w\" sizes=\"(max-width: 683px) 100vw, 683px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-bdc6608 e-con-full alp-title-spacing e-flex e-con e-child\" data-id=\"bdc6608\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-dfd4e90 elementor-widget elementor-widget-text-editor\" data-id=\"dfd4e90\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default elementor-inline-editing pen\" style=\"font-weight: 400;\" contenteditable=\"true\" data-elementor-setting-key=\"title\" data-pen-placeholder=\"\u00c9crivez ici...\">Our mortgage products and key solutions<\/h2>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0ddcecd elementor-widget__width-initial mbzero elementor-widget elementor-widget-text-editor\" data-id=\"0ddcecd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<ul><li aria-level=\"1\"><a href=\"\/en\/mortgage\/\"><strong>Conventional mortgage:<\/strong><\/a> A traditional solution for financing the purchase of your property, with predictable payments and competitive rates.<\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b><a href=\"\/en\/alternative-mortgage-lenders\/\">Alternative mortgage lenders<\/a>:<\/b><span style=\"font-weight: 400;\"> A solution if your bank declines your application.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b><a href=\"\/en\/commercial-mortgages\/\">Commercial mortgages<\/a>:<\/b><span style=\"font-weight: 400;\"> Financing for businesses and real estate projects.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b><a href=\"\/en\/construction-mortgages\/\">Construction mortgages<\/a>:<\/b><span style=\"font-weight: 400;\"> Step-by-step loans to build your property.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b><a href=\"\/en\/debt-consolidation-services\/\">Debt consolidation services<\/a>:<\/b><span style=\"font-weight: 400;\"> Combine loans and simplify payments.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b><a href=\"\/en\/access-first-home\">Access your first home<\/a>:<\/b><span style=\"font-weight: 400;\"> Facilitate access to property ownership.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b><a href=\"\/en\/multi-unit-mortgage\/\">Multi-unit mortgage<\/a>:<\/b><span style=\"font-weight: 400;\"> Finance a rental or income-generating property.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b><a href=\"\/en\/mortgage-pre-approvals\/\">Mortgage pre-approvals<\/a>:<\/b><span style=\"font-weight: 400;\"> Know your purchasing power in advance.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b><a href=\"\/en\/mortgage-refinancing\/\">Mortgage refinancing<\/a>:<\/b><span style=\"font-weight: 400;\"> Use your home equity for new projects.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b><a href=\"\/en\/mortgage-renewal\/\">Mortgage renewal<\/a>:<\/b><span style=\"font-weight: 400;\"> Renegotiate your terms at the end of the term.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b><a href=\"\/en\/mortgage-transfer\/\">Mortgage transfer<\/a>:<\/b><span style=\"font-weight: 400;\"> Switch to a different lender for better conditions.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b><a href=\"\/en\/private-mortgage-loan\/\">Private mortgages<\/a>:<\/b><span style=\"font-weight: 400;\"> Quick and flexible option offered by private investors.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b><a href=\"\/en\/reverse-mortgage\/\">Reverse mortgages<\/a>:<\/b><span style=\"font-weight: 400;\"> Use your home equity to fund your retirement.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b><a href=\"\/en\/second-mortgage\/\">Second mortgage<\/a>:<\/b> Access your property\u2019s net value for a project or debt consolidation.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-40c4472 e-con-full e-flex e-con e-child\" data-id=\"40c4472\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-897c238 e-con-full alp-title e-flex e-con e-child\" data-id=\"897c238\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-323555f elementor-widget elementor-widget-text-editor\" data-id=\"323555f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<h2 style=\"text-align: center;\">Advantages of working with us for your mortgage<\/h2>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-53e34fd e-con-full e-flex e-con e-child\" data-id=\"53e34fd\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;animation&quot;:&quot;none&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-152c84e e-con-full e-flex e-con e-child\" data-id=\"152c84e\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-7de8647 e-con-full e-flex elementor-invisible e-con e-child\" data-id=\"7de8647\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;animation&quot;:&quot;fadeInDown&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-de5f7ee elementor-widget elementor-widget-image\" data-id=\"de5f7ee\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1\" height=\"1\" src=\"https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/competitifs-colored.svg\" class=\"attachment-large size-large wp-image-1719\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-569defa elementor-widget elementor-widget-text-editor\" data-id=\"569defa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Competitive Rates<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-97695e3 elementor-widget elementor-widget-text-editor\" data-id=\"97695e3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\">Compare interest rates from multiple institutions.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-21c4bdc e-con-full e-flex elementor-invisible e-con e-child\" data-id=\"21c4bdc\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;animation&quot;:&quot;fadeInDown&quot;,&quot;animation_delay&quot;:200}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c96ce0f elementor-widget elementor-widget-image\" data-id=\"c96ce0f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1\" height=\"1\" src=\"https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/accompagnement-colored.svg\" class=\"attachment-large size-large wp-image-1739\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-12dd97f elementor-widget elementor-widget-text-editor\" data-id=\"12dd97f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Personalized Support<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5c817b0 elementor-widget elementor-widget-text-editor\" data-id=\"5c817b0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\">Our experts guide you through every mortgage decision.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-dca70b2 e-con-full e-flex elementor-invisible e-con e-child\" data-id=\"dca70b2\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;animation&quot;:&quot;fadeInDown&quot;,&quot;animation_delay&quot;:400}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5effb3b elementor-widget elementor-widget-image\" data-id=\"5effb3b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1\" height=\"1\" src=\"https:\/\/alpfinance.ca\/wp-content\/uploads\/2025\/09\/serenite-colored.svg\" class=\"attachment-large size-large wp-image-1737\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b2a1646 elementor-widget elementor-widget-text-editor\" data-id=\"b2a1646\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Peace of Mind<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8abc24c elementor-widget elementor-widget-text-editor\" data-id=\"8abc24c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\">Move forward confidently with your real estate project.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-5a3120c e-con-full alp-title e-flex e-con e-child\" data-id=\"5a3120c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6fe0e77 elementor-widget elementor-widget-text-editor\" data-id=\"6fe0e77\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<h2 style=\"text-align: center;\">FAQ \u2013 Mortgage renewal, calculator, and discharge<\/h2>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-65d124a alp-faq elementor-invisible elementor-widget elementor-widget-n-accordion\" data-id=\"65d124a\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;default_state&quot;:&quot;all_collapsed&quot;,&quot;max_items_expended&quot;:&quot;multiple&quot;,&quot;n_accordion_animation_duration&quot;:{&quot;unit&quot;:&quot;ms&quot;,&quot;size&quot;:200,&quot;sizes&quot;:[]},&quot;_animation&quot;:&quot;zoomIn&quot;}\" data-widget_type=\"nested-accordion.default\">\n\t\t\t\t\t\t\t<div class=\"e-n-accordion\" aria-label=\"Accordion. Open links with Enter or Space, close with Escape, and navigate with Arrow Keys\">\n\t\t\t\t\t\t<details id=\"e-n-accordion-item-1060\" class=\"e-n-accordion-item\" >\n\t\t\t\t<summary class=\"e-n-accordion-item-title\" data-accordion-index=\"1\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"e-n-accordion-item-1060\" >\n\t\t\t\t\t<span class='e-n-accordion-item-title-header'><div class=\"e-n-accordion-item-title-text\"> How do I get a mortgage? <\/div><\/span>\n\t\t\t\t\t\t\t<span class='e-n-accordion-item-title-icon'>\n\t\t\t<span class='e-opened' ><svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-chevron-up\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z\"><\/path><\/svg><\/span>\n\t\t\t<span class='e-closed'><svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-chevron-down\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z\"><\/path><\/svg><\/span>\n\t\t<\/span>\n\n\t\t\t\t\t\t<\/summary>\n\t\t\t\t<div role=\"region\" aria-labelledby=\"e-n-accordion-item-1060\" class=\"elementor-element elementor-element-a15b675 e-con-full e-flex e-con e-child\" data-id=\"a15b675\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div role=\"region\" aria-labelledby=\"e-n-accordion-item-1060\" class=\"elementor-element elementor-element-3e7cb3f e-con-full e-flex e-con e-child\" data-id=\"3e7cb3f\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2165317 elementor-widget elementor-widget-text-editor\" data-id=\"2165317\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>A mortgage requires presenting your income, debts, and credit score. Our experts help you choose between bank offers and mortgage brokers.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/details>\n\t\t\t\t\t\t<details id=\"e-n-accordion-item-1061\" class=\"e-n-accordion-item\" >\n\t\t\t\t<summary class=\"e-n-accordion-item-title\" data-accordion-index=\"2\" tabindex=\"-1\" aria-expanded=\"false\" aria-controls=\"e-n-accordion-item-1061\" >\n\t\t\t\t\t<span class='e-n-accordion-item-title-header'><div class=\"e-n-accordion-item-title-text\"> What is a mortgage discharge? <\/div><\/span>\n\t\t\t\t\t\t\t<span class='e-n-accordion-item-title-icon'>\n\t\t\t<span class='e-opened' ><svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-chevron-up\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z\"><\/path><\/svg><\/span>\n\t\t\t<span class='e-closed'><svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-chevron-down\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z\"><\/path><\/svg><\/span>\n\t\t<\/span>\n\n\t\t\t\t\t\t<\/summary>\n\t\t\t\t<div role=\"region\" aria-labelledby=\"e-n-accordion-item-1061\" class=\"elementor-element elementor-element-2615507 e-con-full e-flex e-con e-child\" data-id=\"2615507\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div role=\"region\" aria-labelledby=\"e-n-accordion-item-1061\" class=\"elementor-element elementor-element-24d9d04 e-con-full e-flex e-con e-child\" data-id=\"24d9d04\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2fed825 elementor-widget elementor-widget-text-editor\" data-id=\"2fed825\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>A mortgage discharge is the official document confirming that your loan has been fully repaid.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/details>\n\t\t\t\t\t\t<details id=\"e-n-accordion-item-1062\" class=\"e-n-accordion-item\" >\n\t\t\t\t<summary class=\"e-n-accordion-item-title\" data-accordion-index=\"3\" tabindex=\"-1\" aria-expanded=\"false\" aria-controls=\"e-n-accordion-item-1062\" >\n\t\t\t\t\t<span class='e-n-accordion-item-title-header'><div class=\"e-n-accordion-item-title-text\"> What\u2019s the difference between renewal and refinancing? <\/div><\/span>\n\t\t\t\t\t\t\t<span class='e-n-accordion-item-title-icon'>\n\t\t\t<span class='e-opened' ><svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-chevron-up\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z\"><\/path><\/svg><\/span>\n\t\t\t<span class='e-closed'><svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-chevron-down\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z\"><\/path><\/svg><\/span>\n\t\t<\/span>\n\n\t\t\t\t\t\t<\/summary>\n\t\t\t\t<div role=\"region\" aria-labelledby=\"e-n-accordion-item-1062\" class=\"elementor-element elementor-element-8ccaf50 e-con-full e-flex e-con e-child\" data-id=\"8ccaf50\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div role=\"region\" aria-labelledby=\"e-n-accordion-item-1062\" class=\"elementor-element elementor-element-e327608 e-con-full e-flex e-con e-child\" data-id=\"e327608\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-08a87ac elementor-widget elementor-widget-text-editor\" data-id=\"08a87ac\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Mortgage renewal occurs at the end of the term, while refinancing allows you to adjust the borrowed amount or access your home equity.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/details>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-95081cf e-con-full alp-title e-flex e-con e-child\" data-id=\"95081cf\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-17c4711 elementor-widget elementor-widget-shortcode\" data-id=\"17c4711\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n\t\t\t<div id=\"prosomo_calculators_1\" style=\"display: none;\">\n\n\t\t\t\t<script>\n\t\t\t\t\tvar prosomo_calculator_1_lang = \"en\";\n\n\t\t\t\t\tvar prosomo_calculator_1_dict = {};\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr'] = {};\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['dollar_before'] = \"\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['dollar_after'] = \" $\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['number_thousand'] = \" \";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['number_decimal'] = \",\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['title'] = \"Calcul des versements hypoth\u00e9caires\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_price_of_property'] = \"Co\u00fbt de la propri\u00e9t\u00e9\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_down_payment'] = \"Mise de fonds\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_mortgage_amount'] = \"Montant de l'emprunt\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_interest_rate'] = \"Taux d'int\u00e9r\u00eat (%)\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_amortization_years'] = \"Amortissement (ans)\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_cmhc_iam'] = \"Je suis un...\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_first_time'] = \"Acheteur d'une premi\u00e8re maison\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_home_buyer'] = \"Acheteur immobilier\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_cmhc_property'] = \"Type de propri\u00e9t\u00e9\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_property_existing'] = \"Existante\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_property_new'] = \"Nouvelle construction\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_cmhc_amount'] = \"Co\u00fbt de l\u2019assurance pr\u00eat hypoth\u00e9caire\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['cmhc_error'] = \"La mise de fonds doit repr\u00e9senter au moins 5 % du co\u00fbt de la propri\u00e9t\u00e9.\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['show_more_button'] = \"Afficher le tableau complet\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['show_less_button'] = \"R\u00e9duire\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_5_years'] = \"5 ans\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_10_years'] = \"10 ans\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_15_years'] = \"15 ans\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_20_years'] = \"20 ans\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_25_years'] = \"25 ans\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_30_years'] = \"30 ans\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_payment_frequency'] = \"Fr\u00e9quence des versements\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_calculate'] = \"Calculer\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_payment_amount'] = \"Montant des versements\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_monthly_payment_chart'] = \"Afficher le tableau complet\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_month'] = \"Mois\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_year'] = \"Ann\u00e9e\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_interest'] = \"Int\u00e9r\u00eats\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_capital'] = \"Capital\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_residual_balance'] = \"Solde r\u00e9siduel\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_annual'] = \"Annuel\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_semi_annual'] = \"Semi annuel\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_monthly'] = \"Mensuel\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_every_2_weeks'] = \"Aux 2 semaines\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_everyweek'] = \"\u00c0 la semaine\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_every_2_weeks_acc'] = \"Acc\u00e9l\u00e9r\u00e9 - aux 2 semaines\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_everyweek_acc'] = \"Acc\u00e9l\u00e9r\u00e9 - \u00e0 la semaine\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_periodic_payment'] = \"Paiement p\u00e9riodique\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_interest_error_1'] = \"Le taux d'int\u00e9r\u00eat (\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_interest_error_2'] = \") cause une erreur!\\nEntrer les donn\u00e9es \u00e0 nouveau s.v.p.\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_amortization_error_1'] = \"L'amortissement (\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_amortization_error_2'] = \") doit \u00eatre plus grand que le terme (\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_amortization_error_3'] = \") !\\nEntrer les donn\u00e9es \u00e0 nouveau s.v.p.\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_error'] = \" ERREUR \";\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_down_payment'] = \"Mise de fonds\";\n\n\n\t\t\t\t\tprosomo_calculator_1_dict['en'] = {};\n\t\t\t\t\tprosomo_calculator_1_dict['en']['dollar_before'] = \"$\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['dollar_after'] = \"\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['number_thousand'] = \",\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['number_decimal'] = \".\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['en']['title'] = \"Calculate Mortgage Payments\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_price_of_property'] = \"Price of property\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_down_payment'] = \"Down payment\t\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_mortgage_amount'] = \"Mortgage amount\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_interest_rate'] = \"Interest rate (%)\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_amortization_years'] = \"Amortization (years)\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_cmhc_iam'] = \"I am a...\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_first_time'] = \"First-time homebuyer\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_home_buyer'] = \"Homebuyer\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_cmhc_property'] = \"Property type\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_property_existing'] = \"Existing\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_property_new'] = \"New build\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_cmhc_amount'] = \"Mortgage loan insurance cost\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['cmhc_error'] = \"The down payment must be at least 5% of the property\u2019s cost.\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['show_more_button'] = \"Show full table\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['show_less_button'] = \"Show less\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_5_years'] = \"5 years\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_10_years'] = \"10 years\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_15_years'] = \"15 years\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_20_years'] = \"20 years\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_25_years'] = \"25 years\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_30_years'] = \"30 years\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_payment_frequency'] = \"Payment frequency\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_monthly'] = \"Monthly\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_calculate'] = \"Calculate\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_payment_amount'] = \"Payment amount\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_monthly_payment_chart'] = \"Show full table\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_month'] = \"Month\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_year'] = \"Year\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_interest'] = \"Interest\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_capital'] = \"Capital\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_residual_balance'] = \"Residual balance\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_annual'] = \"Annual\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_semi_annual'] = \"Semi annual\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_monthly'] = \"Monthly\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_every_2_weeks'] = \"Every two weeks\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_everyweek'] = \"Weekly\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_every_2_weeks_acc'] = \"Accelerated - every 2 weeks\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_everyweek_acc'] = \"Accelerated - weekly\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_periodic_payment'] = \"Periodic payment\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_interest_error_1'] = \"The interest rate (\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_interest_error_2'] = \") causes an error!\\nPlease enter the data again.\";\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_error'] = \" ERROR \";\n\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_amortization_error_1'] = \"The depreciation (\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_amortization_error_2'] = \") must be greater than the term (\";\n\t\t\t\t\tprosomo_calculator_1_dict['fr']['text_amortization_error_3'] = \")!\\nPlease enter the data again.\";\n\n\t\t\t\t\tprosomo_calculator_1_dict['en']['text_down_payment'] = \"Down payment\";\n\n\t\t\t\t\tfunction prosomo_calculator_1_showString(key) {\n\n\t\t\t\t\t\tif (window.prosomo_calculator_1_dict[window.prosomo_calculator_1_lang][key]) {\n\t\t\t\t\t\t\tdocument.write(window.prosomo_calculator_1_dict[window.prosomo_calculator_1_lang][key]);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\/\/document.write(\"ERROR!!!!\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction prosomo_calculator_1_returnString(key) {\n\n\t\t\t\t\t\tif (window.prosomo_calculator_1_dict[window.prosomo_calculator_1_lang][key]) {\n\t\t\t\t\t\t\treturn window.prosomo_calculator_1_dict[window.prosomo_calculator_1_lang][key];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\/\/return \"ERR!!!!\";\n\t\t\t\t\t\t\treturn \"\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction prosomo_calculator_1_Decimals(entry, decim) {\n\n\t\t\t\t\t\tentry += \"\"; \/\/ Make sure that input is a text string\n\t\t\t\t\t\tvar original_entry = entry; \/\/ Keep the original of the string\n\t\t\t\t\t\tvar amount = parseFloat(entry); \/\/ Take the floating value\n\t\t\t\t\t\tvar valpos = \"\";\n\t\t\t\t\t\tvar valdec = \"\";\n\t\t\t\t\t\tif (isNaN(amount)) \/\/ Return entry value if not convertible\n\t\t\t\t\t\t\treturn original_entry;\n\t\t\t\t\t\tif (decim == 2) {\n\t\t\t\t\t\t\tamount = Math.round(100 * amount); \/\/ Put amount under, rounded to the penny\n\t\t\t\t\t\t\tvar value;\n\t\t\t\t\t\t\tif (amount < 10) {\n\t\t\t\t\t\t\t\tvalue = \"00\" + amount; \/\/ Put amount in value and put zeros if necessary\n\t\t\t\t\t\t\t} else if (amount < 100) {\n\t\t\t\t\t\t\t\tvalue = \"0\" + amount;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tvalue = \"\" + amount;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tvalpos = value.substring(0, value.length - 2);\n\t\t\t\t\t\t\tvaldec = value.substring(value.length - 2, value.length);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvalpos = \"\" + Math.round(amount); \/\/ Express the amount\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar numberBefore = \"\";\n\t\t\t\t\t\tvar numberMiddle = \"\";\n\t\t\t\t\t\tif (valpos.length > 6) {\n\t\t\t\t\t\t\tnumberBefore = valpos.substring(0, (valpos.length - (parseInt(valpos.length \/ 3) * 3))) + prosomo_calculator_1_returnString('number_thousand');\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (valpos.length > 3) {\n\t\t\t\t\t\t\tnumberMiddle = valpos.substring(valpos.length - 6, valpos.length - 3) + prosomo_calculator_1_returnString('number_thousand');\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar numberEnd = valpos.substring(valpos.length - 3, valpos.length);\n\t\t\t\t\t\tvar newNumber = numberBefore + numberMiddle + numberEnd;\n\t\t\t\t\t\tif (decim == 2) {\n\t\t\t\t\t\t\tnewNumber = newNumber + prosomo_calculator_1_returnString('number_decimal') + valdec;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnewNumber = prosomo_calculator_1_returnString('dollar_before') + newNumber + prosomo_calculator_1_returnString('dollar_after');\n\n\t\t\t\t\t\treturn newNumber; \/\/ Returns the string in monetary format\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction prosomo_calculator_1_stripText(text) { \/\/ Remove commas, spaces and $\n\t\t\t\t\t\ttext += \"\";\n\t\t\t\t\t\tvar original_text = text;\n\t\t\t\t\t\twhile (text.indexOf(\"$\") == 0 || text.indexOf(\" \") == 0) {\n\t\t\t\t\t\t\ttext = text.substring(1, text.length);\n\t\t\t\t\t\t}\n\t\t\t\t\t\twhile (text.indexOf(\",\") != -1) {\n\t\t\t\t\t\t\tvar text = \"\" + text.substring(0, text.indexOf(\",\")) + text.substring(text.indexOf(\",\") + 1, text.length);\n\t\t\t\t\t\t}\n\t\t\t\t\t\twhile (text.indexOf(\" \") != -1) {\n\t\t\t\t\t\t\tvar text = \"\" + text.substring(0, text.indexOf(\" \")) + text.substring(text.indexOf(\" \") + 1, text.length);\n\t\t\t\t\t\t}\n\t\t\t\t\t\twhile (text.indexOf(\"$\") != -1) {\n\t\t\t\t\t\t\tvar text = \"\" + text.substring(0, text.indexOf(\"$\")) + text.substring(text.indexOf(\"$\") + 1, text.length);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (isNaN(text)) {\n\t\t\t\t\t\t\treturn original_text;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn text;\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction prosomo_calculator_1_switchCharacter(item, oldCharacter, newCharacter) { \/\/ change one character by another\n\t\t\t\t\t\tvar _ONE = 1;\n\t\t\t\t\t\tvar _ret = \"\";\n\t\t\t\t\t\tvar _flag = 0;\n\t\t\t\t\t\tvar _item = item.split(\"\");\n\t\t\t\t\t\tfor (var i = 0; i < _item.length; i++) {\n\t\t\t\t\t\t\tif (!_flag && _item[i] == oldCharacter) {\n\t\t\t\t\t\t\t\t_item[i] = newCharacter;\n\t\t\t\t\t\t\t\t_flag = _ONE;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t_ret += _item[i];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn (_ret);\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction prosomo_calculator_1_getFieldValue(strFieldName) { \/\/ go get the variables of $_get\n\n\t\t\t\t\t\tvar strFieldValue;\n\n\t\t\t\t\t\t\n\t\t\t\t\t\tvar strFieldValue2 = jQuery('#prosomo_calculator_1_' + strFieldName).val();\n\n\t\t\t\t\t\tstrFieldValue = strFieldValue2;\n\n\t\t\t\t\t\treturn strFieldValue;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction prosomo_calculator_1_calculate2(type) { \/\/ get to work\n\n\t\t\t\t\t\t\/* start propertyCost *\/\n\n\t\t\t\t\t\tvar propertyCost = (prosomo_calculator_1_getFieldValue(\"propertyCost\")); \/\/ go get the loan amount\n\t\t\t\t\t\ttemp3 = prosomo_calculator_1_switchCharacter(propertyCost, \"+\", \"\");\n\t\t\t\t\t\tpropertyCost = prosomo_calculator_1_stripText(temp3);\n\t\t\t\t\t\tif (propertyCost == \"\") {\n\t\t\t\t\t\t\tpropertyCost = \"100000\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.propertyCost.value = prosomo_calculator_1_Decimals(propertyCost, 0);\n\t\t\t\t\t\tvar temp1 = document.calcMonthlyAmortization_1.propertyCost.value;\n\t\t\t\t\t\tpropertyCost = prosomo_calculator_1_stripText(temp1);\n\n\t\t\t\t\t\t\/* end propertyCost *\/\n\n\t\t\t\t\t\t\/* start downPayment *\/\n\n\t\t\t\t\t\tvar downPayment = (prosomo_calculator_1_getFieldValue(\"downPayment\")); \/\/ go get the loan amount\n\t\t\t\t\t\ttemp3 = prosomo_calculator_1_switchCharacter(downPayment, \"+\", \"\");\n\t\t\t\t\t\tdownPayment = prosomo_calculator_1_stripText(temp3);\n\t\t\t\t\t\tif (downPayment == \"\") {\n\t\t\t\t\t\t\tdownPayment = \"10000\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.downPayment.value = prosomo_calculator_1_Decimals(downPayment, 0);\n\t\t\t\t\t\tvar temp1 = document.calcMonthlyAmortization_1.downPayment.value;\n\t\t\t\t\t\tdownPayment = prosomo_calculator_1_stripText(temp1);\n\n\t\t\t\t\t\t\/* end downPayment *\/\n\n\t\t\t\t\t\tvar loanAmount = (prosomo_calculator_1_getFieldValue(\"loanAmount\")); \/\/ go get the loan amount\n\t\t\t\t\t\ttemp3 = prosomo_calculator_1_switchCharacter(loanAmount, \"+\", \"\");\n\t\t\t\t\t\tloanAmount = prosomo_calculator_1_stripText(temp3);\n\t\t\t\t\t\tif (loanAmount == \"\") {\n\t\t\t\t\t\t\t\/\/loanAmount = \"100000\";\n\t\t\t\t\t\t\tloanAmount = propertyCost - downPayment;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.loanAmount.value = prosomo_calculator_1_Decimals(loanAmount, 0);\n\t\t\t\t\t\tvar temp1 = document.calcMonthlyAmortization_1.loanAmount.value;\n\t\t\t\t\t\tloanAmount = prosomo_calculator_1_stripText(temp1);\n\n\t\t\t\t\t\tvar amortization = (prosomo_calculator_1_getFieldValue(\"amortization\")); \/\/ go for the depreciation\n\t\t\t\t\t\tif (amortization == \"\") {\n\t\t\t\t\t\t\tamortization = \"300\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.amortization.value = amortization;\n\n\t\t\t\t\t\tvar interest2 = (prosomo_calculator_1_getFieldValue(\"interest\")); \/\/ fetch the interest rate\n\t\t\t\t\t\tif (interest2 == \"\") {\n\t\t\t\t\t\t\tinterest2 = \"6,5 %\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.interest.value = interest2;\n\t\t\t\t\t\ttemp3 = prosomo_calculator_1_switchCharacter(interest2, \",\", \".\");\n\t\t\t\t\t\tinterest = parseFloat(temp3);\n\n\t\t\t\t\t\tvar numberPayments = (prosomo_calculator_1_getFieldValue(\"periodepaym\")); \/\/ go get the type of payment\n\t\t\t\t\t\tif (numberPayments == \"\") {\n\t\t\t\t\t\t\tnumberPayments = \"12\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"1\") {\n\t\t\t\t\t\t\ta = 0;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"2\") {\n\t\t\t\t\t\t\ta = 1;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"12\") {\n\t\t\t\t\t\t\ta = 2;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"26\") {\n\t\t\t\t\t\t\ta = 3;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"52\") {\n\t\t\t\t\t\t\ta = 4;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"26a\") {\n\t\t\t\t\t\t\ta = 5;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"52a\") {\n\t\t\t\t\t\t\ta = 6;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.periodepaym.options[a].selected = true;\n\n\t\t\t\t\t\tprosomo_calculator_1_calculate(type);\n\n\t\t\t\t\t\treturn true;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction financial(x) {\n\t\t\t\t\t\treturn Number.parseFloat(x).toFixed(2);\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction prosomo_calculator_1_calculate(type) { \/\/ get to work\n\n\t\t\t\t\t\tvar numberPayments = \"\" + document.calcMonthlyAmortization_1.periodepaym.options[document.calcMonthlyAmortization_1.periodepaym.selectedIndex].value;\n\t\t\t\t\t\tvar termYears = 0;\n\t\t\t\t\t\tvar termPeriod = 0;\n\t\t\t\t\t\tvar amortizationYears = parseFloat((document.calcMonthlyAmortization_1.amortization.value) \/ 12);\n\t\t\t\t\t\tvar periodTotal = amortizationYears * parseInt(numberPayments);\n\t\t\t\t\t\tvar loanAmountValue = document.calcMonthlyAmortization_1.loanAmount.value;\n\t\t\t\t\t\tvar propertyCostAmount = document.calcMonthlyAmortization_1.propertyCost.value;\n\t\t\t\t\t\tvar calcPayments = document.calcMonthlyAmortization_1.paymentPeriod_1.value;\n\n\t\t\t\t\t\tvar temp3 = document.calcMonthlyAmortization_1.interest.value;\n\t\t\t\t\t\ttemp3 = prosomo_calculator_1_switchCharacter(temp3, \",\", \".\");\n\t\t\t\t\t\tinterestRate = parseFloat(temp3);\n\n\t\t\t\t\t\t\/\/ get rid of $ signs of entry\n\n\t\t\t\t\t\tvar temp1 = loanAmountValue;\n\t\t\t\t\t\tloanAmountValue = prosomo_calculator_1_stripText(temp1);\n\n\t\t\t\t\t\tvar temp4 = prosomo_calculator_1_stripText(propertyCostAmount);\n\t\t\t\t\t\tpropertyCostAmount = temp4;\n\t\t\t\t\t\tvar loanpercent = financial(1 - (loanAmountValue \/ propertyCostAmount)) * 100;\n\t\t\t\t\t\tvar cmhc_amount = 0;\n\t\t\t\t\t\tif (loanpercent < 5) {\n\t\t\t\t\t\t\tcmhc_amount = \"error\";\n\t\t\t\t\t\t\tdocument.getElementById(\"cmhc_error\").innerText = prosomo_calculator_1_returnString('cmhc_error');\n\t\t\t\t\t\t} else if (loanpercent < 10) {\n\t\t\t\t\t\t\tcmhc_amount = financial(0.028 * loanAmountValue);\n\t\t\t\t\t\t\tdocument.getElementById(\"cmhc_error\").innerText = \"\";\n\t\t\t\t\t\t} else if (loanpercent < 15) {\n\t\t\t\t\t\t\tcmhc_amount = financial(0.031 * loanAmountValue);\n\t\t\t\t\t\t\tdocument.getElementById(\"cmhc_error\").innerText = \"\";\n\t\t\t\t\t\t} else if (loanpercent < 20) {\n\t\t\t\t\t\t\tcmhc_amount = financial(0.04 * loanAmountValue);\n\t\t\t\t\t\t\tdocument.getElementById(\"cmhc_error\").innerText = \"\";\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcmhc_amount = 0;\n\t\t\t\t\t\t\tdocument.getElementById(\"cmhc_error\").innerText = \"\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcmhc_amount = parseFloat(cmhc_amount);\n\t\t\t\t\t\tvar loanwithcmhc = parseFloat(loanAmountValue) + cmhc_amount;\n\n\n\n\n\t\t\t\t\t\tvar temp2 = calcPayments;\n\t\t\t\t\t\ttemp2 = prosomo_calculator_1_switchCharacter(temp2, \",\", \".\");\n\t\t\t\t\t\tcalcPayments = prosomo_calculator_1_stripText(temp2);\n\n\t\t\t\t\t\tvar calcAmount = parseFloat(calcPayments);\n\t\t\t\t\t\tif (calcAmount != calcPayments && calcPayments > 0) {\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.paymentPeriod_1.value = prosomo_calculator_1_returnString('text_error');\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((document.calcMonthlyAmortization_1.interest.value == null || document.calcMonthlyAmortization_1.interest.value.length == 0) && type != 'i') ||\n\t\t\t\t\t\t\t((document.calcMonthlyAmortization_1.loanAmount.value == null || document.calcMonthlyAmortization_1.loanAmount.value.length == 0) && type != 'p')) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\n\t\t\t\t\t\tdiffcalc = 99999;\n\t\t\t\t\t\tnouvpaym = 0;\n\t\t\t\t\t\ttauxcalc = 0.09;\n\t\t\t\t\t\tif (type == \"i\" && calcPayments > 0) {\n\t\t\t\t\t\t\twhile (Math.abs(diffcalc) > 0.1) {\n\t\t\t\t\t\t\t\tnouvpaym = (parseFloat(loanAmountValue) * tauxcalc) \/ (1 - (1 \/ Math.pow((1 + tauxcalc), periodTotal)));\n\t\t\t\t\t\t\t\tdiffcalc = (calcPayments - nouvpaym);\n\t\t\t\t\t\t\t\tvar signe = (diffcalc) \/ Math.abs(diffcalc)\n\t\t\t\t\t\t\t\ttauxcalc = (0.01 * signe) * (Math.abs(diffcalc) > 500) + (0.0001 * signe) * (Math.abs(diffcalc) > 20) + (0.00001 * signe) * (Math.abs(diffcalc) > 10) + (0.000001 * signe) * (Math.abs(diffcalc) > 1) + (0.0000001 * signe) + tauxcalc;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinterestRate = 2 * (Math.pow((1 + tauxcalc), parseInt(numberPayments) \/ 2) - 1);\n\t\t\t\t\t\t\tinterestRate = parseInt(interestRate * 1000000) \/ 10000;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (isNaN(interestRate)) { \/\/ Return entry string if not convertible:\n\t\t\t\t\t\t\talert(prosomo_calculator_1_returnString('text_interest_error_1') + temp3 + prosomo_calculator_1_returnString('text_interest_error_2'));\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (interestRate < 0.3) {\n\t\t\t\t\t\t\tinterestRate = interestRate * 100.0;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ttemp2 = \"\" + interestRate;\n\t\t\t\t\t\ttemp2 = prosomo_calculator_1_switchCharacter(temp2, \".\", \",\");\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.interest.value = temp2 + \" %\";\n\n\t\t\t\t\t\tinterestRate = interestRate \/ 100.0;\n\n\t\t\t\t\t\tvar interestCanada = Math.pow((1 + interestRate \/ 2), (2 \/ parseInt(numberPayments))) - 1;\n\t\t\t\t\t\tvar baseInterestCanada = Math.pow((1 + interestRate \/ 2), (2 \/ 12)) - 1;\n\t\t\t\t\t\tvar interest_USA = interestRate \/ parseInt(numberPayments);\n\t\t\t\t\t\tvar baseInterestUSA = interestRate \/ 12;\n\n\t\t\t\t\t\tif (type == \"p\" && interestCanada != 0) {\n\t\t\t\t\t\t\tcalcBasePayment = calcPayments;\n\t\t\t\t\t\t\tif ((numberPayments == '52a' || numberPayments == '26a') && interestCanada != 0) {\n\t\t\t\t\t\t\t\tvar calcBasePayment = calcPayments * (parseInt(numberPayments) \/ 13);\n\t\t\t\t\t\t\t\tvar loanAmountValue = (calcBasePayment \/ baseInterestCanada) * (1 - (1 \/ (Math.pow((1 + baseInterestCanada), (amortizationYears * 12)))));\n\t\t\t\t\t\t\t\t\/\/ pour US var loanAmountValue  = (calcBasePayment\/baseInterestUSA) * ( 1 - (1\/(Math.pow((1+baseInterestUSA),(amortizationYears*12))) ) ) ;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tvar loanAmountValue = (calcPayments \/ interestCanada) * (1 - (1 \/ (Math.pow((1 + interestCanada), (periodTotal)))));\n\t\t\t\t\t\t\t\t\/\/ pour US var loanAmountValue  = (calcPayments\/interest_USA) * ( 1 - (1\/(Math.pow((1+interest_USA),(periodTotal))) ) ) ;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.loanAmount.value = prosomo_calculator_1_Decimals(loanAmountValue, 0);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (type == \"p\" && interestCanada == 0) {\n\t\t\t\t\t\t\tvar loanAmountValue = (calcPayments * periodTotal);\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.loanAmount.value = prosomo_calculator_1_Decimals(loanAmountValue, 0);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar parsedLoanAmount = parseFloat(loanAmountValue);\n\t\t\t\t\t\tif (parsedLoanAmount != loanAmountValue) {\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.loanAmount.value = prosomo_calculator_1_returnString('text_error');\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.paymentPeriod_1.value = prosomo_calculator_1_returnString('text_error');\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (amortizationYears < termYears) {\n\t\t\t\t\t\t\talert(prosomo_calculator_1_returnString('text_amortization_error_1') + amortizationYears + prosomo_calculator_1_returnString('text_amortization_error_2') + termYears + prosomo_calculator_1_returnString('text_amortization_error_3'));\n\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.termebalcan.value = 0;\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.termeinterestCanada.value = 0;\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.paymentcan.value = 0;\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.intemprunttotcan.value = 0;\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (interestCanada == 0) {\n\t\t\t\t\t\t\tvar paymentBaseCanada = loanwithcmhc \/ (amortizationYears * 12);\n\t\t\t\t\t\t\tvar paymentBaseUSA = paymentBaseCanada;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar paymentBaseCanada = (loanwithcmhc * baseInterestCanada) \/ (1 - (1 \/ Math.pow((1 + baseInterestCanada), (amortizationYears * 12))));\n\t\t\t\t\t\t\tvar paymentBaseUSA = (loanwithcmhc * baseInterestUSA) \/ (1 - (1 \/ Math.pow((1 + baseInterestUSA), (amortizationYears * 12))));\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar paymentCanada = paymentBaseCanada;\n\t\t\t\t\t\tvar paymentUSA = paymentBaseUSA;\n\n\n\t\t\t\t\t\tif ((numberPayments == '52a' || numberPayments == '26a') && interestCanada != 0) {\n\t\t\t\t\t\t\tvar paymentCanada = paymentBaseCanada \/ (parseInt(numberPayments) \/ 13);\n\t\t\t\t\t\t\tvar paymentUSA = paymentBaseUSA \/ (parseInt(numberPayments) \/ 13);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ((numberPayments == '52' || numberPayments == '26' || numberPayments == '2' || numberPayments == '1') && interestCanada != 0) {\n\t\t\t\t\t\t\tvar paymentCanada = (loanwithcmhc * interestCanada) \/ (1 - (1 \/ Math.pow((1 + interestCanada), periodTotal)));\n\t\t\t\t\t\t\tvar paymentUSA = (loanwithcmhc * interest_USA) \/ (1 - (1 \/ Math.pow((1 + interest_USA), periodTotal)));\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.paymentPeriod_1.value = prosomo_calculator_1_Decimals(paymentCanada, 2);\n\t\t\t\t\t\t\n\t\t\t\t\t\tvar balanceCanada = loanAmountValue;\n\t\t\t\t\t\tvar balanceUSA = balanceCanada;\n\t\t\t\t\t\tvar interestCanadaa = 0;\n\t\t\t\t\t\tvar interestUSA = 0;\n\t\t\t\t\t\tvar interestTotalCanada = 0;\n\t\t\t\t\t\tvar interestTotalUSA = 0;\n\n\t\t\t\t\t\tfor (var jj = 0; jj < termPeriod; jj++) {\n\t\t\t\t\t\t\tinterestCanadaa = interestCanada * balanceCanada;\n\t\t\t\t\t\t\tinterestTotalCanada = interestTotalCanada + interestCanadaa;\n\t\t\t\t\t\t\tbalanceCanada = balanceCanada - (paymentCanada - interestCanadaa);\n\n\t\t\t\t\t\t\tinterestUSA = interest_USA * balanceUSA\n\t\t\t\t\t\t\tinterestTotalUSA = interestTotalUSA + interestUSA\n\t\t\t\t\t\t\tbalanceUSA = balanceUSA - (paymentUSA - interestUSA);\n\t\t\t\t\t\t\tif (balanceUSA < 0) {\n\t\t\t\t\t\t\t\tbalanceUSA = 0;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (balanceCanada < 0) {\n\t\t\t\t\t\t\t\tbalanceCanada = 0\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (balanceUSA < 0) {\n\t\t\t\t\t\t\tbalanceUSA = 0\n\t\t\t\t\t\t};\n\t\t\t\t\t\tif (balanceCanada < 0) {\n\t\t\t\t\t\t\tbalanceCanada = 0\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\n\t\t\t\t\t\tvar kk = jj;\n\t\t\t\t\t\tfor (var jj = termPeriod; jj < periodTotal; jj++) {\n\t\t\t\t\t\t\tinterestCanadaa = interestCanada * balanceCanada;\n\t\t\t\t\t\t\tinterestTotalCanada = interestTotalCanada + interestCanadaa;\n\t\t\t\t\t\t\tbalanceCanada = balanceCanada - (paymentCanada - interestCanadaa);\n\n\t\t\t\t\t\t\tinterestUSA = interest_USA * balanceUSA\n\t\t\t\t\t\t\tinterestTotalUSA = interestTotalUSA + interestUSA\n\t\t\t\t\t\t\tbalanceUSA = balanceUSA - (paymentUSA - interestUSA);\n\t\t\t\t\t\t\tkk = jj;\n\t\t\t\t\t\t\tif (balanceUSA < 0) {\n\t\t\t\t\t\t\t\tbalanceUSA = 0;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (balanceCanada < 0) {\n\t\t\t\t\t\t\t\tbalanceCanada = 0\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar realTerm = prosomo_calculator_1_Decimals((kk + 1) \/ parseInt(numberPayments), 2);\n\t\t\t\t\t\tif (interestCanada == 0) {\n\t\t\t\t\t\t\trealTerm = amortizationYears;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\trealTerm = realTerm.substring(0, realTerm.length - 1);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tTotalInt = prosomo_calculator_1_Decimals(interestTotalCanada, 2);\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.cmhcAmount.value = prosomo_calculator_1_Decimals(cmhc_amount, 0);\n\n\n\t\t\t\t\t}\n\t\t\t\t<\/script>\n\n\t\t\t\t\n\t\t\t\t<form name=\"calcMonthlyAmortization_1\" id=\"prosomo_calculator_1_form\">\n\n\t\t\t\t\t<div class=\"grey_box\">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_cmhc_iam');\n\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t<select name=\"cmhc_iam\" id=\"prosomo_calculator_1_cmhc_iam\">\n\t\t\t\t\t\t\t\t<option value=\"\" selected=\"selected\"> <\/option>\n\t\t\t\t\t\t\t\t<option value=\"true\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_first_time');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t\t<option value=\"false\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_home_buyer');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<hr class=\"short\">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_cmhc_property');\n\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t<select name=\"cmhc_property\" id=\"prosomo_calculator_1_cmhc_property\">\n\t\t\t\t\t\t\t\t<option value=\"\" selected=\"selected\"> <\/option>\n\t\t\t\t\t\t\t\t<option value=\"false\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_property_existing');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t\t<option value=\"true\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_property_new');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\n\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<hr class=\"short\">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_price_of_property');\n\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<input type=\"text\" name=\"propertyCost\" id=\"prosomo_calculator_1_propertyCost\" value=\"\" onfocus=\"this.value=''\">\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<hr class=\"short\">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_down_payment');\n\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t<input type=\"text\" name=\"downPayment\" id=\"prosomo_calculator_1_downPayment\" value=\"\" onfocus=\"this.value=''\">\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<div id=\"cmhc_error\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<hr class=\"long\">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_mortgage_amount');\n\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t<input type=\"text\" name=\"loanAmount\" id=\"prosomo_calculator_1_loanAmount\" class=\"readonly\" value=\"\" readonly>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<hr class=\"short\">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_cmhc_amount');\n\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t<input type=\"text\" name=\"cmhcAmount\" id=\"prosomo_calculator_1_cmhcAmount\" class=\"readonly\" value=\"\" readonly>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<hr class=\"thick\">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_interest_rate');\n\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t<input type=\"text\" name=\"interest\" id=\"prosomo_calculator_1_interest\" value=\"\" onfocus=\"this.value=''\">\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<hr class=\"short\">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_amortization_years');\n\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t<select name=\"amortization\" id=\"prosomo_calculator_1_amortization\" required>\n\t\t\t\t\t\t\t\t<option value=\"60\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_5_years');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t\t<option value=\"120\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_10_years');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t\t<option value=\"180\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_15_years');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t\t<option value=\"240\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_20_years');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t\t<option value=\"300\" selected=\"selected\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_25_years');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t\t<option value=\"360\" selected=\"selected\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_30_years');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<hr class=\"short\">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_payment_frequency');\n\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t<select name=\"periodepaym\" id=\"prosomo_calculator_1_periodepaym\">\n\t\t\t\t\t\t\t\t<option value=\"1\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_annual');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t\t<option value=\"2\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_semi_annual');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t\t<option value=\"12\" selected=\"selected\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_monthly');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t\t<option value=\"26\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_every_2_weeks');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t\t<option value=\"52\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_everyweek');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t\t<option value=\"26a\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_every_2_weeks_acc');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t\t<option value=\"52a\">\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_everyweek_acc');\n\t\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t\t<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div class=\"last_row\">\n\t\t\t\t\t\t<button id=\"prosomo_calculator_1_button2\">\n\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_calculate');\n\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_payment_amount');\n\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<input name=\"paymentPeriod_1\" type=\"text\" value=\"\" class=\"readonly\" readonly>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<script>\n\t\t\t\t\t\tdocument.addEventListener(\"DOMContentLoaded\", function() {\n\t\t\t\t\t\t\tconst amortizationSelect = document.getElementById(\"prosomo_calculator_1_amortization\");\n\t\t\t\t\t\t\tconst option30 = amortizationSelect.querySelector('option[value=\"360\"]');\n\t\t\t\t\t\t\tconst cmhcIam = document.getElementById(\"prosomo_calculator_1_cmhc_iam\");\n\t\t\t\t\t\t\tconst cmhcProperty = document.getElementById(\"prosomo_calculator_1_cmhc_property\");\n\n\t\t\t\t\t\t\tfunction toggleAmortizationOption() {\n\t\t\t\t\t\t\t\tconst iam = cmhcIam.value === \"true\";\n\t\t\t\t\t\t\t\tconst property = cmhcProperty.value === \"true\";\n\n\t\t\t\t\t\t\t\tif (iam || property) {\n\t\t\t\t\t\t\t\t\toption30.hidden = false; \/\/ show it\n\t\t\t\t\t\t\t\t\toption30.disabled = false;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\/\/ if 30 years was selected, switch back to 25 years\n\t\t\t\t\t\t\t\t\tif (amortizationSelect.value === \"360\") {\n\t\t\t\t\t\t\t\t\t\tamortizationSelect.value = \"300\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\toption30.hidden = true; \/\/ hide it\n\t\t\t\t\t\t\t\t\toption30.disabled = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\/\/ Run once on load\n\t\t\t\t\t\t\ttoggleAmortizationOption();\n\n\t\t\t\t\t\t\t\/\/ Re-check whenever related selects change\n\t\t\t\t\t\t\tcmhcIam.addEventListener(\"change\", toggleAmortizationOption);\n\t\t\t\t\t\t\tcmhcProperty.addEventListener(\"change\", toggleAmortizationOption);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(document).ready(function() {\n\n\t\t\t\t\t\t\tjQuery(\"#prosomo_calculator_1_button2\").click(function(e) {\n\t\t\t\t\t\t\t\te.preventDefault();\n\n\t\t\t\t\t\t\t\tprosomo_calculator_1_calculate2('');\n\n\t\t\t\t\t\t\t\tvar table = prosomo_calculator_1_showTable();\n\n\t\t\t\t\t\t\t\tjQuery(\"#prosomo_calculator_1_table\").html(table);\n\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tjQuery(\"body\").on(\"change\", \"#prosomo_calculator_1_propertyCost\", function() {\n\n\t\t\t\t\t\t\t\/\/var propertyCost = jQuery(\"#prosomo_calculator_1_propertyCost\").val();\n\n\t\t\t\t\t\t\tvar propertyCost = (prosomo_calculator_1_getFieldValue(\"propertyCost\")); \/\/ go get the loan amount\n\t\t\t\t\t\t\ttemp3 = prosomo_calculator_1_switchCharacter(propertyCost, \"+\", \"\");\n\t\t\t\t\t\t\tpropertyCost = prosomo_calculator_1_stripText(temp3);\n\n\t\t\t\t\t\t\tvar downPayment = (prosomo_calculator_1_getFieldValue(\"downPayment\")); \/\/ go get the loan amount\n\t\t\t\t\t\t\ttemp3 = prosomo_calculator_1_switchCharacter(downPayment, \"+\", \"\");\n\t\t\t\t\t\t\tdownPayment = prosomo_calculator_1_stripText(temp3);\n\n\t\t\t\t\t\t\tvar loanAmount = propertyCost - downPayment;\n\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.propertyCost.value = prosomo_calculator_1_Decimals(propertyCost, 0);\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.downPayment.value = prosomo_calculator_1_Decimals(downPayment, 0);\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.loanAmount.value = prosomo_calculator_1_Decimals(loanAmount, 0);\n\n\t\t\t\t\t\t\t\/\/jQuery(\"#prosomo_calculator_1_loanAmount\").val(loanAmount);\n\n\t\t\t\t\t\t\t\/\/prosomo_calculator_1_propertyCost\n\n\t\t\t\t\t\t\t\/\/prosomo_calculator_1_downPayment\n\n\n\n\t\t\t\t\t\t\t\/\/prosomo_calculator_1_loanAmount\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tjQuery(\"body\").on(\"change\", \"#prosomo_calculator_1_downPayment\", function() {\n\n\t\t\t\t\t\t\t\/\/var propertyCost = jQuery(\"#prosomo_calculator_1_propertyCost\").val();\n\t\t\t\t\t\t\t\/\/var downPayment = jQuery(\"#prosomo_calculator_1_downPayment\").val();\n\n\t\t\t\t\t\t\t\/\/var loanAmount = propertyCost-downPayment;\n\n\t\t\t\t\t\t\tvar propertyCost = (prosomo_calculator_1_getFieldValue(\"propertyCost\")); \/\/ go get the loan amount\n\t\t\t\t\t\t\ttemp3 = prosomo_calculator_1_switchCharacter(propertyCost, \"+\", \"\");\n\t\t\t\t\t\t\tpropertyCost = prosomo_calculator_1_stripText(temp3);\n\n\t\t\t\t\t\t\tvar downPayment = (prosomo_calculator_1_getFieldValue(\"downPayment\")); \/\/ go get the loan amount\n\t\t\t\t\t\t\ttemp3 = prosomo_calculator_1_switchCharacter(downPayment, \"+\", \"\");\n\t\t\t\t\t\t\tdownPayment = prosomo_calculator_1_stripText(temp3);\n\n\t\t\t\t\t\t\tvar loanAmount = propertyCost - downPayment;\n\n\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.propertyCost.value = prosomo_calculator_1_Decimals(propertyCost, 0);\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.downPayment.value = prosomo_calculator_1_Decimals(downPayment, 0);\n\t\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.loanAmount.value = prosomo_calculator_1_Decimals(loanAmount, 0);\n\n\t\t\t\t\t\t\t\/\/jQuery(\"#prosomo_calculator_1_loanAmount\").val(loanAmount);\n\n\t\t\t\t\t\t\t\/\/prosomo_calculator_1_propertyCost\n\n\t\t\t\t\t\t\t\/\/prosomo_calculator_1_downPayment\n\n\n\n\t\t\t\t\t\t\t\/\/prosomo_calculator_1_loanAmount\n\t\t\t\t\t\t});\n\t\t\t\t\t<\/script>\n\n\t\t\t\t\t\n\t\t\t\t<input\n                    class=\"apbct_special_field apbct_email_id__elementor_form\"\n                    name=\"apbct__email_id__elementor_form\"\n                    aria-label=\"apbct__label_id__elementor_form\"\n                    type=\"text\" size=\"30\" maxlength=\"200\" autocomplete=\"off\"\n                    value=\"\"\n                \/><\/form>\n\n\t\t\t\t<script>\n\t\t\t\t\tfunction prosomo_calculator_1_showTable() {\n\n\t\t\t\t\t\t$return = \"\";\n\n\t\t\t\t\t\t\/* start propertyCost *\/\n\n\t\t\t\t\t\tvar propertyCost = (prosomo_calculator_1_getFieldValue(\"propertyCost\")); \/\/ go get the loan amount\n\t\t\t\t\t\ttemp3 = prosomo_calculator_1_switchCharacter(propertyCost, \"+\", \"\");\n\t\t\t\t\t\tpropertyCost = prosomo_calculator_1_stripText(temp3);\n\t\t\t\t\t\tif (propertyCost == \"\") {\n\t\t\t\t\t\t\tpropertyCost = \"100000\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.propertyCost.value = prosomo_calculator_1_Decimals(propertyCost, 0);\n\t\t\t\t\t\tvar temp1 = document.calcMonthlyAmortization_1.propertyCost.value;\n\t\t\t\t\t\tpropertyCost = prosomo_calculator_1_stripText(temp1);\n\n\t\t\t\t\t\t\/* end propertyCost *\/\n\n\t\t\t\t\t\t\/* start downPayment *\/\n\n\t\t\t\t\t\tvar downPayment = (prosomo_calculator_1_getFieldValue(\"downPayment\")); \/\/ go get the loan amount\n\t\t\t\t\t\ttemp3 = prosomo_calculator_1_switchCharacter(downPayment, \"+\", \"\");\n\t\t\t\t\t\tdownPayment = prosomo_calculator_1_stripText(temp3);\n\t\t\t\t\t\tif (downPayment == \"\") {\n\t\t\t\t\t\t\tdownPayment = \"20000\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.downPayment.value = prosomo_calculator_1_Decimals(downPayment, 0);\n\t\t\t\t\t\tvar temp1 = document.calcMonthlyAmortization_1.downPayment.value;\n\t\t\t\t\t\tdownPayment = prosomo_calculator_1_stripText(temp1);\n\n\t\t\t\t\t\t\/* end downPayment *\/\n\n\t\t\t\t\t\tvar loanAmount = (prosomo_calculator_1_getFieldValue(\"loanAmount\")); \/\/ go get the loan amount\n\t\t\t\t\t\ttemp3 = prosomo_calculator_1_switchCharacter(loanAmount, \"+\", \"\");\n\t\t\t\t\t\tloanAmount = prosomo_calculator_1_stripText(temp3);\n\t\t\t\t\t\tif (loanAmount == \"\") {\n\t\t\t\t\t\t\t\/\/loanAmount = \"100000\";\n\t\t\t\t\t\t\tloanAmount = propertyCost - downPayment;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.loanAmount.value = prosomo_calculator_1_Decimals(loanAmount, 0);\n\t\t\t\t\t\tvar temp1 = document.calcMonthlyAmortization_1.loanAmount.value;\n\t\t\t\t\t\tloanAmount = prosomo_calculator_1_stripText(temp1);\n\n\t\t\t\t\t\tvar amortization = (prosomo_calculator_1_getFieldValue(\"amortization\")); \/\/ aller chercher l'amortisation\n\t\t\t\t\t\tif (amortization == \"\") {\n\t\t\t\t\t\t\tamortization = \"300\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.amortization.value = amortization;\n\n\t\t\t\t\t\tvar interest2 = (prosomo_calculator_1_getFieldValue(\"interest\")); \/\/ aller chercher le taux interet\n\t\t\t\t\t\tif (interest2 == \"\") {\n\t\t\t\t\t\t\tinterest2 = \"5 %\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.interest.value = interest2;\n\t\t\t\t\t\ttemp3 = prosomo_calculator_1_switchCharacter(interest2, \",\", \".\");\n\t\t\t\t\t\tinterest = parseFloat(temp3);\n\n\t\t\t\t\t\tvar numberPayments = (prosomo_calculator_1_getFieldValue(\"periodepaym\")); \/\/ aller chercher le type de paiement\n\t\t\t\t\t\tif (numberPayments == \"\") {\n\t\t\t\t\t\t\tnumberPayments = \"12\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"1\") {\n\t\t\t\t\t\t\ta = 0;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"2\") {\n\t\t\t\t\t\t\ta = 1;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"12\") {\n\t\t\t\t\t\t\ta = 2;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"26\") {\n\t\t\t\t\t\t\ta = 3;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"52\") {\n\t\t\t\t\t\t\ta = 4;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"26a\") {\n\t\t\t\t\t\t\ta = 5;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == \"52a\") {\n\t\t\t\t\t\t\ta = 6;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdocument.calcMonthlyAmortization_1.periodepaym.options[a].selected = true;\n\n\t\t\t\t\t\t\/\/prosomo_calculator_1_calculate();\n\n\t\t\t\t\t\t\/* *\/\n\n\t\t\t\t\t\tvar P; \/\/loan amount\n\t\t\t\t\t\tvar I; \/\/Interests\n\t\t\t\t\t\tvar L; \/\/Amortization in years\n\t\t\t\t\t\tvar N; \/\/number of total payments (un-acc)\n\t\t\t\t\t\tvar M; \/\/periodic payment\n\t\t\t\t\t\tvar H; \/\/periodic mortgage payment\n\t\t\t\t\t\tvar C; \/\/capital\n\t\t\t\t\t\tvar Q; \/\/balance due\n\t\t\t\t\t\tvar NP; \/\/number of payments\n\t\t\t\t\t\tvar X;\n\t\t\t\t\t\tvar H2 = 0;\n\t\t\t\t\t\tvar C2 = 0;\n\t\t\t\t\t\tvar show;\n\n\t\t\t\t\t\t\/\/ Reset to 0\n\t\t\t\t\t\tX = 0;\n\t\t\t\t\t\tshow = 0;\n\n\t\t\t\t\t\t\/\/ Loan amount\n\t\t\t\t\t\tP = loanAmount;\n\t\t\t\t\t\tP2 = loanAmount;\n\n\t\t\t\t\t\t\/\/ Annual interest rate\n\t\t\t\t\t\tI = interest;\n\t\t\t\t\t\tannualInterest = interest \/ 100;\n\n\t\t\t\t\t\t\/\/ Amortization in years\n\t\t\t\t\t\tL = amortization \/ 12; \/\/\n\n\t\t\t\t\t\t\/\/ Number of total payments\n\t\t\t\t\t\tNP = parseInt(numberPayments); \/\/ number of payments\n\t\t\t\t\t\tN = L * NP; \/\/ periodTotal\n\n\t\t\t\t\t\t\/\/ Interest rate per payment\n\t\t\t\t\t\tI = Math.pow((1 + annualInterest \/ 2), (2 \/ NP)) - 1;\n\t\t\t\t\t\t\/\/ Basic interest rate\n\t\t\t\t\t\tvar baseInterestCanada = Math.pow((1 + annualInterest \/ 2), (2 \/ 12)) - 1;\n\n\t\t\t\t\t\t\/\/ Periodic payments\n\t\t\t\t\t\tvar paymentPeriodBase = (P * baseInterestCanada) \/ (1 - (1 \/ Math.pow((1 + baseInterestCanada), (L * 12))));\n\t\t\t\t\t\tvar M = paymentPeriodBase;\n\t\t\t\t\t\tif (numberPayments == '52a' || numberPayments == '26a') {\n\t\t\t\t\t\t\tM = paymentPeriodBase \/ (NP \/ 13);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ((numberPayments == '52' || numberPayments == '26' || numberPayments == '2' || numberPayments == '1')) {\n\t\t\t\t\t\t\tM = (P * I) \/ (1 - (1 \/ Math.pow((1 + I), N)));\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\/\/ Find real amortization\n\t\t\t\t\t\tif (numberPayments == '52a' || numberPayments == '26a') {\n\t\t\t\t\t\t\tkk = 0;\n\t\t\t\t\t\t\tinterestTotalCanada2 = 0;\n\t\t\t\t\t\t\tbalanceCanada2 = P2;\n\t\t\t\t\t\t\tpaymentCanada2 = M;\n\t\t\t\t\t\t\tfor (var jj = 0; jj < N; jj++) {\n\t\t\t\t\t\t\t\tinterestCanadaa2 = I * balanceCanada2;\n\t\t\t\t\t\t\t\tinterestTotalCanada2 = interestTotalCanada2 + interestCanadaa2;\n\t\t\t\t\t\t\t\tbalanceCanada2 = balanceCanada2 - (paymentCanada2 - interestCanadaa2);\n\t\t\t\t\t\t\t\tkk = jj;\n\t\t\t\t\t\t\t\tif (balanceCanada2 < 0) {\n\t\t\t\t\t\t\t\t\tbalanceCanada2 = 0;\n\t\t\t\t\t\t\t\t\trealAmortizationMonths = prosomo_calculator_1_Decimals(((kk + 1) \/ NP) * 12, 0);\n\t\t\t\t\t\t\t\t\trealAmortizationMonths = realAmortizationMonths.substring(0, realAmortizationMonths.length - 2);\n\t\t\t\t\t\t\t\t\trealAmortization = prosomo_calculator_1_Decimals((kk + 1) \/ NP, 2);\n\t\t\t\t\t\t\t\t\trealAmortization = realAmortization.substring(0, realAmortization.length - 2);\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tann = \"\" + parseInt(L * 100) \/ 100;\n\t\t\t\t\t\tann = prosomo_calculator_1_switchCharacter(ann, \".\", \",\");\n\n\t\t\t\t\t\tvar output = \"\";\n\n\t\t\t\t\t\t\t\t\t\t\t\tif (numberPayments == '52a' || numberPayments == '26a') {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvar TP = kk + 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (numberPayments == '52' || numberPayments == '26' || numberPayments == '2' || numberPayments == '1' || numberPayments == '12') {\n\t\t\t\t\t\t\tvar TP = parseInt(N);\n\t\t\t\t\t\t\tif (TP < parseFloat(N)) {\n\t\t\t\t\t\t\t\tTP = TP + 1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (TP > 1560) {\n\t\t\t\t\t\t\t\/\/output +=\"!!! Plan d'amortissement trop long &agrave; afficher !!!<br><br>R&eacute;sum&eacute; par ann&eacute;e du plan d'amortissement <br>\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (TP <= 1560) {\n\t\t\t\t\t\t\t\/\/output +=\"Plan d'amortissement <br>\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\/\/output += numberPaymentsText2;\n\n\t\t\t\t\t\toutput += '<table>';\n\t\t\t\t\t\toutput += \"<thead>\";\n\n\t\t\t\t\t\t\/\/ Headers\n\t\t\t\t\t\theader1 = \"\";\n\n\t\t\t\t\t\tvar showYears = 0;\n\t\t\t\t\t\tif (TP < 1561) {\n\t\t\t\t\t\t\tif (numberPayments == '52' || numberPayments == '52a' || numberPayments == '26' || numberPayments == '26a') { \/\/ find periodic amounts\n\t\t\t\t\t\t\t\toutput += header1 + \"<th>\" + prosomo_calculator_1_returnString('text_periodic_payment') + \"<\/th>\";\n\t\t\t\t\t\t\t\tvar showYears = 1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} \/\/end TP<1561\n\t\t\t\t\t\tif (TP > 1560) {\n\t\t\t\t\t\t\tif (numberPayments == '52' || numberPayments == '52a' || numberPayments == '26' || numberPayments == '26a') { \/\/ find the annual amounts\n\t\t\t\t\t\t\t\toutput += header1 + \"<th>\" + prosomo_calculator_1_returnString('text_year') + \"<\/th>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} \/\/end TP>1560\n\t\t\t\t\t\tif (numberPayments == '12') {\n\t\t\t\t\t\t\toutput += header1 + \"<th>\" + prosomo_calculator_1_returnString('text_month') + \"<\/th>\";\n\t\t\t\t\t\t\tvar showYears = 1;\n\t\t\t\t\t\t} \/\/ find the amounts per month\n\t\t\t\t\t\tif (numberPayments == '2') {\n\t\t\t\t\t\t\toutput += header1 + \"<th>\" + prosomo_calculator_1_returnString('text_periodic_payment') + \"<\/th>\";\n\t\t\t\t\t\t} \/\/ find the amounts per half month\n\t\t\t\t\t\tif (numberPayments == '1') {\n\t\t\t\t\t\t\toutput += header1 + \"<th>\" + prosomo_calculator_1_returnString('text_year') + \"<\/th>\";\n\t\t\t\t\t\t} \/\/ find the annual amounts\n\n\t\t\t\t\t\t\n\t\t\t\t\t\toutput += header1 + \"<th>\" + prosomo_calculator_1_returnString('text_interest') + \"<\/th>\";\n\t\t\t\t\t\toutput += header1 + \"<th>\" + prosomo_calculator_1_returnString('text_capital') + \"<\/th>\";\n\t\t\t\t\t\toutput += header1 + \"<th>\" + prosomo_calculator_1_returnString('text_residual_balance') + \"<\/th>\";\n\n\n\n\t\t\t\t\t\toutput += \"<\/tr>\";\n\t\t\t\t\t\toutput += \"<\/thead>\";\n\t\t\t\t\t\toutput += \"<tbody class='prosomo-calculator-rows'>\";\n\n\t\t\t\t\t\toutput += \"<tr>\";\n\t\t\t\t\t\t\/\/ end Headers\n\n\t\t\t\t\t\t\/\/ display the rest of the table\n\t\t\t\t\t\tTb1 = \"<td>\";\n\t\t\t\t\t\tTbf = \"<\/td>\";\n\t\t\t\t\t\tTbf2 = \"<\/tr>\";\n\n\t\t\t\t\t\twhile (X < N) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tP3 = P2 - C2; \/\/ simplified table display\n\t\t\t\t\t\t\tHp = 0;\n\t\t\t\t\t\t\tQ2 = 0;\n\n\t\t\t\t\t\t\tif (showYears == 1) {\n\t\t\t\t\t\t\t\tvar z = (show) \/ NP\n\t\t\t\t\t\t\t\tvar z2 = parseInt(z) - parseFloat(z)\n\t\t\t\t\t\t\t\tif (z > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tL1 = Tb1 + (show + 1) + Tbf; \/\/ period\n\t\t\t\t\t\t\tL2 = Tb1 + prosomo_calculator_1_Decimals(P3, 2) + Tbf; \/\/ balance payable\n\t\t\t\t\t\t\tL2 = Tb1 + prosomo_calculator_1_Decimals(P3, 2) + Tbf; \/\/ balance payable\n\n\t\t\t\t\t\t\tLL = L1 + L2; \/\/ original display\n\t\t\t\t\t\t\tLL = L1; \/\/ simplified display\n\n\t\t\t\t\t\t\toutput += LL;\n\n\t\t\t\t\t\t\tcycle = 1;\n\t\t\t\t\t\t\tif (numberPayments == '52' || numberPayments == '52a' || numberPayments == '26' || numberPayments == '26a') { \/\/ find the annual amounts\n\t\t\t\t\t\t\t\tcycle = NP;\n\t\t\t\t\t\t\t\tif (TP < 1561) {\n\t\t\t\t\t\t\t\t\tcycle = 1;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tfor (i = 1; i <= cycle; i++) \/\/ find the annual amounts\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tH = P * I; \/\/ mortgage paid by payment\n\t\t\t\t\t\t\t\tH2 = H2 + H; \/\/ accumulated interest\n\t\t\t\t\t\t\t\tHp = Hp + H; \/\/ interest paid\n\t\t\t\t\t\t\t\tC = M - H; \/\/ capital\n\t\t\t\t\t\t\t\tC2 = C2 + C; \/\/ accumulated capital\n\t\t\t\t\t\t\t\tQ = P - C; \/\/ balance due\n\t\t\t\t\t\t\t\tQ2 = Q2 + C; \/\/ capital reimbursed\n\t\t\t\t\t\t\t\tP = Q;\n\t\t\t\t\t\t\t\tif (P2 - C2 <= 0) {\n\t\t\t\t\t\t\t\t\tC2 = P2;\n\t\t\t\t\t\t\t\t\tQ2 = P3;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tL3 = Tb1 + prosomo_calculator_1_Decimals(Q2, 2) + Tbf; \/\/ capital reimbursed\n\t\t\t\t\t\t\tL4 = Tb1 + prosomo_calculator_1_Decimals(C2, 2) + Tbf; \/\/ accumulated capital\n\t\t\t\t\t\t\tL5 = Tb1 + prosomo_calculator_1_Decimals(Hp, 2) + Tbf; \/\/ interest paid\n\t\t\t\t\t\t\tL6 = Tb1 + prosomo_calculator_1_Decimals(H2, 2) + Tbf; \/\/ accumulated interest\n\n\n\t\t\t\t\t\t\tL8 = Tb1 + prosomo_calculator_1_Decimals(P2 - C2, 2) + Tbf; \/\/ accumulated capital\n\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tL7 = L5 + L3 + L8; \/\/ simplified table display\n\n\t\t\t\t\t\t\toutput += L7;\n\t\t\t\t\t\t\toutput += Tbf2;\n\t\t\t\t\t\t\tX = X + cycle; \/\/ ajuster compteur paiements\n\t\t\t\t\t\t\tshow = show + 1; \/\/ ajuster compteur\n\t\t\t\t\t\t\tif (P2 - C2 <= 0) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput += \"<\/tbody>\";\n\t\t\t\t\t\toutput += \"<\/table>\";\n\n\t\t\t\t\t\treturn output;\n\n\t\t\t\t\t}\n\t\t\t\t<\/script>\n\n\t\t\t\t<div>\n\t\t\t\t\t<button id=\"prosomo_calculator_1_showTableBtn\">\n\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\tprosomo_calculator_1_showString('text_monthly_payment_chart');\n\t\t\t\t\t\t<\/script>\n\t\t\t\t\t<\/button>\n\n\t\t\t\t\t<script>\n\t\t\t\t\t\tjQuery(\"body\").on(\"click\", \"#prosomo_calculator_1_showTableBtn\", function() {\n\n\t\t\t\t\t\t\tjQuery(\"#prosomo_calculator_1_table\").toggleClass(\"expanded\");\n\n\t\t\t\t\t\t\t\/\/ Optional: change button text\n\t\t\t\t\t\t\tif (jQuery(\"#prosomo_calculator_1_table\").hasClass(\"expanded\")) {\n\t\t\t\t\t\t\t\tjQuery(this).text(prosomo_calculator_1_returnString('show_less_button'));\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery(this).text(prosomo_calculator_1_returnString('show_more_button'));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t<\/script>\n\t\t\t\t<\/div>\n\n\t\t\t\t<div id=\"prosomo_calculator_1_table\">\n\n\t\t\t\t\t<script>\n\t\t\t\t\t\tdocument.write(prosomo_calculator_1_showTable());\n\t\t\t\t\t<\/script>\n\n\t\t\t\t<\/div>\n\n\t\t\t<\/div>\n\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-c0b06a8 e-con-full e-flex e-con e-child\" data-id=\"c0b06a8\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-d8cde41 e-con-full e-flex elementor-invisible e-con e-child\" data-id=\"d8cde41\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;animation&quot;:&quot;zoomIn&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7ac388c elementor-widget elementor-widget-spacer\" data-id=\"7ac388c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9207e26 elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"9207e26\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<h2 style=\"margin-bottom: 0; margin-top: 0; line-height: 1;\"><span style=\"color: #ffe6cc;\">Calculate your mortgage payments and start your project<\/span><\/h2><p style=\"margin-bottom: 0;\">Whether it\u2019s your first home, an investment property, or a simple mortgage renewal, we help you compare rates and choose the right product.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-39ca4fa elementor-widget elementor-widget-button\" data-id=\"39ca4fa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"#prosomo_calculator_1_form\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Try the mortgage calculator<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-65b8359 elementor-widget elementor-widget-button\" data-id=\"65b8359\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"\/en\/contact\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Speak to a mortgage advisor<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Flexible solutions for your real estate financing Obtaining a mortgage is a key step in buying a property. Whether through your bank, mortgage brokers, or alternative lenders, our experts help you find the best mortgage for your needs. Use our mortgage calculator to estimate your loan amount, monthly payments, and installments based on interest rates. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-1953","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/alpfinance.ca\/en\/wp-json\/wp\/v2\/pages\/1953","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alpfinance.ca\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/alpfinance.ca\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/alpfinance.ca\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alpfinance.ca\/en\/wp-json\/wp\/v2\/comments?post=1953"}],"version-history":[{"count":39,"href":"https:\/\/alpfinance.ca\/en\/wp-json\/wp\/v2\/pages\/1953\/revisions"}],"predecessor-version":[{"id":2970,"href":"https:\/\/alpfinance.ca\/en\/wp-json\/wp\/v2\/pages\/1953\/revisions\/2970"}],"wp:attachment":[{"href":"https:\/\/alpfinance.ca\/en\/wp-json\/wp\/v2\/media?parent=1953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}