document.addEventListener('DOMContentLoaded', () => {
    // Find the link with the title "Credit Application"
    const CreditApplicationLink = document.querySelector('a[title="Credit Application"]');

    // Check if the link exists and update its href and target
    if (CreditApplicationLink) {
        CreditApplicationLink.href = "https://www.routeone.net/digital-retail-ui/?dealerId=YZ1RG";
        CreditApplicationLink.target = "_blank"; // Open in a new tab
    }
});