jQuery(document).ready(function () { var useGlobal = true; var htmlContents = '
Sending message...
CONTACT US
Thank you!

We will get back to you shortly


NEW 2024 GMC
Terrain
ELEVATION AWD
** 5 AVAILABLE @ THE SAME DISCOUNT **
Quirk Price:
$32,885
MSRP
$34,385
Discount
$1,500
Lease for 42 months, 5,000 miles per year. $1995 down, plus first payment, administration fee, Tax title and registration due at signing. Must be current Lessee. Must qualify for Buick GMC Lease loyalty, Subject to approval. Not all will qualify, see dealer for complete details**. Prices include all applicable incentives and rebates that all may not qualify for. Residency restrictions apply. Programs subject to change without notice. Please note that vehicle photo may be different than stock #B2238, B2240, B2239, B2237, B2267 shown. See dealer for details. Sale Ends 2-3-2025
'; if (useGlobal) { var container = $("img[alt='incentive-container']").closest(".widget-image"); if (container.length) { container.parent().prepend("
") container.remove(); $('.incentivesContainer').html(htmlContents); } else { $("#webspecials-global").addClass("incentivesContainer"); $("#webspecials-global").html(htmlContents); } } else { $("#webspecials").html(htmlContents); } $(".contact-form #specialsContactForm input").blur(function () { $(this).removeClass("hasErrors"); }) }); function validateEmail(email) { var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; return re.test(email); } function showContactForm(specialId) { $('.contact-form #specialId').val(specialId); $('.contact-form').fadeIn(); } function closeForm() { $(".contact-form #specialsContactForm input").removeClass("hasErrors"); $(".contact-form .messages .errors").html(""); $('.contact-form .sending').hide(); $('.contact-form .thanks').hide(); $('.contact-form .message').hide(); $('.contact-form').fadeOut(); $(".contact-form #specialsContactForm").get(0).reset(); setTimeout(function () { $('.contact-form .controls').show(); $(".contact-form .contactFormTitle").show(); }, 1000); } function sendData() { $(".contact-form #specialsContactForm input").removeClass("hasErrors"); $(".contact-form .messages .errors").html(""); var hasErrors = false; if (!$(".contact-form #specialsContactForm #first_name").val()) { $(".contact-form #specialsContactForm #first_name").addClass("hasErrors"); hasErrors = true; } if (!$(".contact-form #specialsContactForm #last_name").val()) { $(".contact-form #specialsContactForm #last_name").addClass("hasErrors"); hasErrors = true; } if (!$(".contact-form #specialsContactForm #email").val()) { $(".contact-form #specialsContactForm #email").addClass("hasErrors"); hasErrors = true; } if (hasErrors) { $(".contact-form .messages .errors").html("Please complete all required fields"); alert("Please complete all required fields"); return; } if (!validateEmail($(".contact-form #specialsContactForm #email").val())) { $(".contact-form #specialsContactForm #email").addClass("hasErrors"); $(".contact-form .messages .errors").html("Please enter a valid email address"); alert("Please enter a valid email address"); return; } $(".contact-form .sending").fadeIn(); $.ajax({ type: "POST", url: "https://api.quirkspecials.com/v2/api/specials/emailLead", data: $(".contact-form #specialsContactForm").serialize(), success: function (response) { $(".contact-form #specialsContactForm").get(0).reset(); $(".contact-form .sending").fadeOut(); $(".contact-form .contactFormTitle").hide(); $('.contact-form .controls').hide(); $(".contact-form .thanks").show(); }, error: function (response) { $(".contact-form .sending").fadeOut(); alert("We can't send your message right now, please try again later"); } }); }