/**
* CHM Fix - Gravity Slider Fields value sync (added 2026-10-27)
* Problem: Gravity Slider Fields v2.1 writes the slider value with jQuery .attr('value'),
* which only changes the HTML attribute. Gravity Forms' currency formatting sets the
* input's live .value property, so after that the attribute no longer controls what is
* submitted. Result since ~Oct 20: currency sliders submitted their default
* ($70,000 purchase price, $0.00 income/assets).
* Fix: also write the live .value property on every slider update.
* Rollback: deactivate this item.
*/
(function ($) {
if (!$) { return; }
function chmPatchSliders() {
$('.ginput_container_slider .slider-display').each(function () {
var s = this;
if (!s.noUiSlider || s._chmSyncPatched) { return; }
var inp = $(s).closest('.ginput_container_slider').find('input.slider')[0];
if (!inp) { return; }
s._chmSyncPatched = true;
s.noUiSlider.on('update.chmfix', function (values, handle) {
inp.value = values[handle];
});
});
}
function later() { setTimeout(chmPatchSliders, 0); setTimeout(chmPatchSliders, 500); }
$(later);
$(document).on('gform_post_render gform_page_loaded', later);
$(document).on('submit', 'form[id^="gform_"]', chmPatchSliders);
})(window.jQuery);
Capital Home Mortgage Birmingham is a direct Birmingham Mortgage Lender that provides a comprehensive range of Birmingham Home Mortgage Programs specifically designed to meet the requirements of every Tennessean needing a new home loan. Due to the fact that we are a direct Birmingham Mortgage Company, we have an advantage over Birmingham Mortgage Brokers in that we are able to control the entire lending process, from the application to the processing, underwriting, and funding of the Birmingham Home Loan. Regardless of whether you have lived in Birmingham for your entire life or are new to the state and are wanting to buy your first home, refinance your current mortgage, or consolidate your debt, our highly experienced Capital Home Mortgage Birmingham Team will provide the right Birmingham Mortgage Loan Program to match your budget and your particular needs.
As no Birmingham Borrowers are identical, we provide our Birmingham loan officers the tools, support and flexibility to make the right decisions for their customers. This progressive approach to lending along with streamlined mortgage process is our way of making the Birmingham Dream of homeownership a reality for our customers.
Our devoted team of mortgage professionals in Birmingham is focused on our customers and making certain that the process of obtaining a house mortgage is as stress-free and easy as possible through our efforts. We would like to express our gratitude for your consideration of Capital house Mortgage Birmingham as a potential partner in the process of realizing your dream of house ownership. We await the opportunity to be of service to you.
Call today (205) 352-1030 to talk begin the process or to one of our Birmingham Loan Officers.
Want the Charm of an Older Neighborhood? But want a new place or a fresh look? Why not a renovation loan? Purchase the Perfect Home and make it your own.
FHA Home Loans are great for first time home buyers, buyers with less than perfect credit, or buyers needing less out of pocket. Call today to get started.
USDA Loans are a great option for families wanting to live outside of the city. Call today to speak with a loan officer to discuss your personal loan options.
Manufactured Home Loans offer options to purchase an existing residence or build your dream home on your own land. Call today to speak to a Loan Officer.
Reverse Mortgage Loans offer seniors options to use their home’s equity for cash or to eliminate payments. Call today to speak to a Reverse Loan Officer.
Want to Build? But unsure of what the future looks like? Remove the risk with a One Time Close Construction Loan. Call today to see how an OTC loan works.
Refinancing can be a hard decision and may result in finance charges that may be higher over the life of the loan. Consult with your loan advisor for details.
Cash-Out Mortgage Loans make use of the equity in your home. Refinancing may result in finance charges that may be higher over the life of the loan. Consult with your loan advisor.
/* CHM: load Optimal Blue rate iframes only when needed - immediately if visible on load, otherwise once the visitor starts scrolling/interacting and the iframe approaches the viewport. */
(function(){var fs=[],armed=false;function load(f){if(f.dataset.src&&!f.getAttribute("src")){f.src=f.dataset.src;}}function arm(){if(armed)return;armed=true;if(!("IntersectionObserver" in window)){fs.forEach(load);return;}var io=new IntersectionObserver(function(es){es.forEach(function(en){if(en.isIntersecting){load(en.target);io.unobserve(en.target);}});},{rootMargin:"300px 0px"});fs.forEach(function(f){if(!f.getAttribute("src"))io.observe(f);});}function visibleNow(){fs.forEach(function(f){var r=f.getBoundingClientRect();if(r.top<window.innerHeight&&r.bottom>0)load(f);});}function init(){fs=Array.prototype.slice.call(document.querySelectorAll("iframe.chm-lazy-rate[data-src]"));if(!fs.length)return;["scroll","wheel","pointerdown","touchstart","keydown","mousemove"].forEach(function(t){window.addEventListener(t,arm,{once:true,passive:true});});if(document.readyState==="complete")visibleNow();else window.addEventListener("load",visibleNow);}if(document.readyState!=="loading")init();else document.addEventListener("DOMContentLoaded",init);})();
(function() {
// Global page view and session tracking for UAEL Modal Popup feature
try {
// Session tracking: increment if this is a new session
// Check if any popup on this page uses current page tracking
var hasCurrentPageTracking = false;
var currentPagePopups = [];
// Check all modal popups on this page for current page tracking
if (typeof jQuery !== 'undefined') {
jQuery('.uael-modal-parent-wrapper').each(function() {
var scope = jQuery(this).data('page-views-scope');
var enabled = jQuery(this).data('page-views-enabled');
var popupId = jQuery(this).attr('id').replace('-overlay', '');
if (enabled === 'yes' && scope === 'current') {
hasCurrentPageTracking = true;
currentPagePopups.push(popupId);
}
});
}
// Global tracking: ALWAYS increment if ANY popup on the site uses global tracking
// Current page tracking: increment per-page counters
if (hasCurrentPageTracking && currentPagePopups.length > 0) {
var currentUrl = window.location.href;
var urlKey = 'uael_page_views_' + btoa(currentUrl).replace(/[^a-zA-Z0-9]/g, '').substring(0, 50);
var currentPageViews = parseInt(localStorage.getItem(urlKey) || '0');
currentPageViews++;
localStorage.setItem(urlKey, currentPageViews.toString());
// Store URL mapping for each popup
for (var i = 0; i < currentPagePopups.length; i++) {
var popupUrlKey = 'uael_popup_' + currentPagePopups[i] + '_url_key';
localStorage.setItem(popupUrlKey, urlKey);
}
}
} catch (e) {
// Silently fail if localStorage is not available
}
})();