| // Main script file - can be used for any shared functionality | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Form submission for final expense quotes | |
| const form = document.querySelector('form'); | |
| if (form) { | |
| form.addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| // In a real scenario, this would send to your lead processing system | |
| alert('Thank you! An agent will contact you shortly with your final expense insurance options.'); | |
| }); | |
| } | |
| // Any other shared functionality can go here | |
| }); |