Price
$74,169 74 169 $
Sale Price
Price does not include taxes and licensing fees.
$74,169
Term (mo.)
Frequency
Price
$74,169 74 169 $
Sale Price
Price does not include taxes and licensing fees.
$53,745
Finance For (2.99%)
$776 / mo
Term (mo.)
Frequency
Sale Price
Price does not include taxes and licensing fees.
$53,745
Lease For (2.99%)
$776 / mo
' + '
' + '
$' + customFeeValue + '
' + '
' + '
'); }); }}function hideIOM(){ jQuery('#acc-cfl').attr('style', 'display: none;');}function hideFinanceLeaseAndEdealerPricing(){ jQuery('#finance_panel').attr('style', 'display: none;'); jQuery('#lease_panel').attr('style', 'display: none;'); jQuery('#gm_prices_cash').attr('style', 'display: none;'); jQuery('#vehicle_price_info').attr('style', 'display: none;');}function populateIncentivesAccordions(){ hideEmptyPanels(); populateDiscount(); populateDownPaymentDisclaimer(); populateCashAccordion(); populateIncentivesAccordionByType('finance'); populateIncentivesAccordionByType('lease'); populateCustomFees(); }function getDiscountHTML(discount_amount, type){ var discountLabel = 'Capital Dodge Bonus Cash'; if(isEmpty(discountLabel)){ discountLabel = 'Discount'; } if(type === 'cash'){ discount_cash = parseFloat(removeCommas(discount_amount.replace('$', ''))); }else{ discount = parseFloat(removeCommas(discount_amount.replace('$', ''))); } if(discount > 0 || (discount_cash > 0 && type === 'cash')){ return '
' + '
' + '
'+discountLabel+'
'+ '
'+ '
'+ '
-'+formatMoneyByCurrentLanguage(replaceDollarAmount(discount_amount))+'
'+ '
'; } else { return ''; }}function populateDiscount(){ if(FCAincentivesData.data.incentiveModel.cashOffers.length > 0){ var cashDiscountHTML = getDiscountHTML(FCAincentivesData.data.incentiveModel.cashOffers[0].discount.formattedAmountRounded,'cash'); jQuery('#cash_discount').append(cashDiscountHTML); } else if(FCAincentivesData.data.incentiveModel.discount !== null){ var cashDiscountHTML = getDiscountHTML(FCAincentivesData.data.incentiveModel.discount.formattedAmountRounded,'cash'); jQuery('#cash_discount').append(cashDiscountHTML); } if(FCAincentivesData.data.incentiveModel.financeOffers.length > 0){ var financeDiscountHTML = getDiscountHTML(FCAincentivesData.data.incentiveModel.financeOffers[0].discount.formattedAmountRounded, 'finance'); jQuery('#finance_discount').append(financeDiscountHTML); } if(FCAincentivesData.data.incentiveModel.leaseOffers.length > 0){ var leaseDiscountHTML = getDiscountHTML(FCAincentivesData.data.incentiveModel.leaseOffers[0].discount.formattedAmountRounded, 'lease'); jQuery('#lease_discount').append(financeDiscountHTML); } }function hideEmptyPanels(){ if(FCAincentivesData.data.incentiveModel.financeOffers.length == 0 || financePaymentIntervalShort == 'none' || vehicle_price == 0){ jQuery('#finance_panel').attr('style', 'display: none;'); } if(FCAincentivesData.data.incentiveModel.leaseOffers.length == 0 || leasePaymentIntervalShort == 'none' || vehicle_price == 0){ jQuery('#lease_panel').attr('style', 'display: none;'); } }function populateCashAccordion(){ var total_cash_cash_discount = 0; jQuery.each(FCAincentivesData.data.incentiveModel.cashOffers, function (key, offer) { var cash_offer_length = (offer.program.name.split(/\W+/).length); var words = offer.program.name.split(' '); var expiryDate = new Date(offer.program.expiryDate); if(cash_offer_length > 3 && offer.program.name.length > 25){ words[2] += '
'; } var takeDeliveryBy = 'Take Delivery By'; if(icl_language == 'fr-CA'){ takeDeliveryBy = 'Récupérer La Livraison Au'; } var offer_amount = parseFloat(removeCommas(offer.cashValue.formattedAmountRounded.replace('$', ''))); if(offer_amount > 0){ if(typeof(words[3]) != "undefined" && words[3] == '(Appliqu?e'){ words[3] = '(Applicable'; } jQuery('#cash_incentives').append('
' + '
' + '
' + words.join(' ') + '
' + '
' + takeDeliveryBy + ' ' + getFormattedDate(expiryDate) + '
' + '
' + '
' + '
-' + formatMoneyByCurrentLanguage(replaceDollarAmount(offer.cashValue.formattedAmountRounded.replace('\u00a0', ','))) + '
' + '
' + '
'); } total_cash_cash_discount += parseFloat(removeCommas(offer.cashValue.formattedAmountRounded.replace('$', ''))); if(offer.stackableOffers != null){ jQuery.each(offer.stackableOffers, function (key, stackableOffer) { var stackableOfferAmount = parseFloat(removeCommas(stackableOffer.cashValue.formattedAmountRounded.replace('$', '')).replace('\u00a0', ',')); var expiryDate = new Date(stackableOffer.program.expiryDate); if(stackableOfferAmount > 0){ jQuery('#cash_incentives').append('
' + '
' + '
' + stackableOffer.program.name + '
' + '
' + takeDeliveryBy + ' ' + getFormattedDate(expiryDate) + '
' + '
' + '
' + '
-$' + Math.floor(stackableOfferAmount) + '
' + '
' + '
'); } total_cash_cash_discount += stackableOfferAmount; }); } }); if(discount_cash != 0){ total_cash_cash_discount += discount_cash; } jQuery('#cash_price').html(formatMoneyByCurrentLanguage(vehicle_price - total_cash_cash_discount)); jQuery('#cash_price_bottom').html(formatMoneyByCurrentLanguage(vehicle_price - total_cash_cash_discount)); if(total_cash_cash_discount == 0 && !FCAincentivesObj.customFeeSettings.showCustomFees && !luxuryTaxOnPrice){ jQuery('#gm_prices_cash').attr('style', 'display: none;'); jQuery('#hr_msrp').attr('style', 'display: none;'); }}function formatprice(num) { if(currentLanguageCode == 'fr-CA'){ return num.replace(',','.'); }else{ return num; }}function formatKM(num) { if(currentLanguageCode == 'fr-CA'){ return num.replace(',',' '); }else{ return num; }}function formatCommas(amount) { if(currentLanguageCode == 'fr-CA'){ return amount.replace('.',','); }else{ return amount; }}if(typeof Localize !== 'undefined'){ if(Localize.getLanguage() == 'fr-CA'){ jQuery(".maincontent .english-price").hide(); jQuery(".maincontent .french-price").show(); }else{ jQuery(".maincontent .french-price").hide(); jQuery(".maincontent .english-price").show(); }}function formatMoneyByCurrentLanguage(amount){ if(currentLanguageCode == 'fr-CA'){ return amount.formatMoney(0,' ',',') + ' $'; }else{ return '$' + amount.formatMoney(0,',','.'); }}function getDefaultTerm(type, offers){ var default_finance_term = parseInt('1'); var default_lease_term = parseInt('1'); var default_term = 0; var best_term = 0; if(type === 'finance'){ default_term = default_finance_term; // check if custom term from Vehicle Incentives tool is set if(FCAincentivesObj.custom_term != 99){ default_term = FCAincentivesObj.custom_term; } } else if(type === 'lease'){ default_term = default_lease_term; } // check if default term exist in offers var term_exist = false; jQuery.each(offers, function (key, value) { if (default_term == value.term){ term_exist = true; } }); if(default_term == -1){ //get lowest available jQuery.each(offers, function (key, value) { if (best_term == 0) { best_term = value.term; } else if (best_term > value.term) { best_term = value.term; } }); } else if(term_exist) { best_term = default_term; }else { // get highest available jQuery.each(offers, function (key, value) { if (best_term == 0) { best_term = value.term; } else if (best_term < value.term) { best_term = value.term; } }); } return best_term;}function replaceDollarAmount(amount){ if(currentLanguageCode == 'fr-CA'){ return parseFloat(removeCommas(amount.replace('$', ''))); } else { return parseFloat(removeCommas(amount.replace('$', ''))) }}function populateIncentivesAccordionByType(type){ var takeDeliveryBy = 'Take Delivery By'; if(icl_language == 'fr-CA'){ takeDeliveryBy = 'Récupérer La Livraison Au'; } var i = 0; var j = 0; var best_term = 0; if(type === 'finance'){ best_term = getDefaultTerm('finance', FCAincentivesObj.finance_incentives); }else if(type === 'lease'){ best_term = getDefaultTerm('lease', FCAincentivesObj.lease_incentives); } var sortedOffers = []; if(type === 'finance'){ sortedOffers = FCAincentivesObj.finance_incentives; sortedOffers = sortedOffers.sort(function(a, b) { if (a.term < b.term) return 1; if (a.term > b.term) return -1; return 0; }); }else if(type === 'lease'){ sortedOffers = FCAincentivesObj.lease_incentives; sortedOffers = sortedOffers.sort(function(a, b) { if (a.term < b.term) return 1; if (a.term > b.term) return -1; return 0; }); } var frequency = ''; var frequency_short = ''; jQuery.each(sortedOffers, function (key, value) { var active = ''; var checked = '' var payment_amount = ''; var total_cash_discount = 0; if (value.term == best_term) { active = 'active '; checked = 'checked="";' frequency = jQuery('#' + type + '_' + 'frequency input[checked=""]').parent(0).text().trim(); if(frequency == 'Weekly' || frequency == 'Hebdomadaire'){ frequency_short = 'w'; payment_amount = value.weeklyPayment.replace('\u00a0', ','); } else if(frequency == 'Biweekly' || frequency == 'Bihebdomadaire'){ frequency_short = 'bw'; payment_amount = value.biweeklyPayment.replace('\u00a0', ','); } else{ frequency_short = 'mo'; payment_amount = value.monthlyPayment.replace('\u00a0', ','); } jQuery('#' + type + '_' + 'payment_frequency').html('' + formatMoneyByCurrentLanguage(replaceDollarAmount(payment_amount)) + ' / ' + frequency_short); jQuery('#' + type + '_' + 'rate_disclaimer').html('(' + formatCommas(parseFloat(value.interestRate).toFixed(2)) + ')%'); jQuery('#' + type + '_' + 'payment_frequency_disclaimer').html('' + formatMoneyByCurrentLanguage(replaceDollarAmount(payment_amount)) + ' / ' + frequency_short); jQuery('#' + type + '_' + 'rate_disclaimer_hidden').val( formatCommas(parseFloat(value.interestRate).toFixed(2)) ); jQuery('#' + type + '_' + 'pmt_disclaimer_hidden').val( parseFloat(replaceDollarAmount(payment_amount)).toFixed(2) ); jQuery.each(value.stackable_offers, function (key, offer) { var stackableOfferAmount = parseFloat(removeCommas(offer.cash_value.replace('$', ''))); if(stackableOfferAmount > 0){ jQuery('#' + type + '_' + 'stackable_cash').append('
' + '
' + '
' + offer.name + '
' + '
' + takeDeliveryBy + ' ' + offer.expiryDate + '
' + '
' + '
' + '
-' + formatMoneyByCurrentLanguage(Math.round(stackableOfferAmount)) + '
' + '
' + '
'); } total_cash_discount += parseFloat(stackableOfferAmount); }); if(discount != 0){ total_cash_discount += discount; } var luxury_tax = replaceDollarAmount(value.luxuryTax); jQuery('#total_' + type + '_' + 'cash_discount').val(total_cash_discount); jQuery('#' + type + '_' + 'final_price').html(formatMoneyByCurrentLanguage(replaceDollarAmount(value.amount))); if(luxury_tax > 0){ jQuery('#' + type + '_luxury_tax').append('
' + '
' + '
Luxury Tax
' + '
' + '
' + '
' + formatMoneyByCurrentLanguage(luxury_tax) + '
' + '
' + '
'); } updateDisclaimerByEIR(frequency, type, value); calculateBorrowingCostForGMByType(best_term, frequency, type, null); updateDisclaimerContentByType(value.term, frequency, type, value); } jQuery('#' + type + '_' + 'terms').append(''); i++; }); //calculateBorrowingCostForGMByType(best_term, frequency, type, null); kms_allowance_disclaimer = FCAincentivesObj.kms_allowance_disclaimer;}function formatNumber(num) { return num.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1,')}function getFormattedDate(date) { let year = date.getFullYear().toString().substr(-2); let month = (1 + date.getMonth()).toString().padStart(2, '0'); let day = date.getDate().toString().padStart(2, '0'); return day + '/' + month + '/' + year;}// https://github.com/uxitten/polyfill/blob/master/string.polyfill.js// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padStartif (!String.prototype.padStart) { String.prototype.padStart = function padStart(targetLength,padString) { targetLength = targetLength>>0; //truncate if number or convert non-number to 0; padString = String((typeof padString !== 'undefined' ? padString : ' ')); if (this.length > targetLength) { return String(this); } else { targetLength = targetLength-this.length; if (targetLength > padString.length) { padString += padString.repeat(targetLength/padString.length); //append to original to ensure we are longer than needed } return padString.slice(0,targetLength) + String(this); } };}function removeCommas(str) { while (str.search(",") >= 0) { str = (str + "").replace(',', ''); } while (str.search(" ") >= 0) { str = (str + "").replace(' ', ''); } while (str.search("\u00a0") >= 0) { str = (str + "").replace('\u00a0', ''); } if(isEmpty(str)){ return 0; } return str;};function isEmpty(obj) { if (typeof obj === 'undefined' || obj === null || obj === '') return true; if (typeof obj === 'number' && isNaN(obj)) return true; if (obj instanceof Date && isNaN(Number(obj))) return true; return false;}function calculateBorrowingCostGM(term, price, interestRate, numberOfPayments, paymentLease) { var borrowingCost = 0; var balance = price; var monthlyInterest = 0; for(var i=0; i < term* numberOfPayments / 12; i++) { monthlyInterest = (balance * interestRate) / (numberOfPayments * 100); var principal = paymentLease - monthlyInterest; borrowingCost += monthlyInterest; balance = balance - principal; } return borrowingCost;}jQuery("#finance_terms").on('change', 'input', function() { var term = jQuery(this).parent(0).text().trim(); var frequency = jQuery('#finance_frequency label.active').text().trim(); getPaymentDatatByTypeTermAndFrequency(term, frequency, 'finance'); });jQuery("#finance_frequency :input").change(function() { var frequency = jQuery(this).parent(0).text().trim(); var term = jQuery('#finance_terms label.active').text().trim(); getPaymentDatatByTypeTermAndFrequency(term, frequency, 'finance'); });jQuery("#lease_terms").on('change', 'input', function() { var term = jQuery(this).parent(0).text().trim(); var frequency = jQuery('#lease_frequency label.active').text().trim(); getPaymentDatatByTypeTermAndFrequency(term, frequency, 'lease'); });jQuery("#lease_frequency :input").change(function() { var frequency = jQuery(this).parent(0).text().trim(); var term = jQuery('#lease_terms label.active').text().trim(); getPaymentDatatByTypeTermAndFrequency(term, frequency, 'lease'); });function calculateBorrowingCostForGMByType(payment_term, frequency, type, offer) { var interest_rate = jQuery('#' + type + '_' + 'rate_disclaimer_hidden').val(); var paymentValue = jQuery('#' + type + '_' + 'pmt_disclaimer_hidden').val(); var total_cash_discount = jQuery('#total_' + type + '_' + 'cash_discount').val(); var final_price = jQuery('#' + type + '_' + 'final_price').html(); var balance = vehicle_price - total_cash_discount; if(offer !== null){ balance = replaceDollarAmount(offer.amount); } var numberOfPayments; if(frequency == 'Weekly' || frequency == 'Hebdomadaire'){ numberOfPayments = 52; } else if(frequency == 'Monthly' || frequency == 'Mensuel'){ numberOfPayments = 12; } else { numberOfPayments = 26; } // Start implementation for Effective rate var int_rate = formatprice(interest_rate); var borrowingCost = calculateBorrowingCostGM(payment_term, balance, int_rate, numberOfPayments, paymentValue); var APR_text = '@' + interest_rate + '% APR' + down_payment_disclaimer + '(estimated financing rate)'; var APR_text_with_borrowing_cost = '@' + interest_rate + '% APR' + down_payment_disclaimer + '('; if(type == 'lease'){ APR_text_with_borrowing_cost += formatKM(kms_allowance_disclaimer); } APR_text_with_borrowing_cost += 'estimated financing rate, cost of borrowing ' + borrowingCost.formatMoney(0, ',', '.') + ')'; if(icl_language == 'fr-CA'){ APR_text = '@' + interest_rate + '% TAEG' + down_payment_disclaimer + '(taux estimé de financement)'; APR_text_with_borrowing_cost = '@' + interest_rate + '% TAEG' + down_payment_disclaimer + '('; if(type == 'lease'){ APR_text_with_borrowing_cost += formatKm(kms_allowance_disclaimer); } APR_text_with_borrowing_cost += 'taux estimé de financement, coût d\'emprunt ' + borrowingCost.formatMoney(0, ',', '.') + ')'; } if(type == 'finance'){ jQuery.each(FCAincentivesObj.finance_incentives, function(i, item) { if(item.term == payment_term){ if(item.effectiveInterestRate > item.interestRate){ APR_text = '@' + interest_rate + '% APR' + down_payment_disclaimer + '(' + item.effectiveInterestRate + '% Effective Rate)'; APR_text_with_borrowing_cost = '@' + interest_rate + '% APR' + down_payment_disclaimer + '(' + item.effectiveInterestRate + '% Effective Rate, cost of borrowing ' + '$' + borrowingCost.formatMoney(0, ',', '.') + ')'; if(icl_language == 'fr-CA'){ APR_text = '@' + interest_rate + '% TAEG' + down_payment_disclaimer + '(' + item.effectiveInterestRate + '% Taux Effectif)'; APR_text_with_borrowing_cost = '@' + interest_rate + '% TAEG' + down_payment_disclaimer + '(' + item.effectiveInterestRate + '% Taux Effectif, coût d\'emprunt ' + '$' + borrowingCost.formatMoney(0, ',', '.') + ')'; } jQuery('#' + type + '_' + 'rate_disclaimer').html('(' + parseFloat(item.effectiveInterestRate).toFixed(2) + ')%'); } } }); }else{ jQuery.each(FCAincentivesObj.lease_incentives, function(i, item) { if(item.term == payment_term){ if(item.effectiveInterestRate > item.interestRate){ APR_text = '@' + interest_rate + '% APR' + down_payment_disclaimer + '(' + formatKM(kms_allowance_disclaimer) + item.effectiveInterestRate + '% Effective Rate)'; APR_text_with_borrowing_cost = '@' + interest_rate + '% APR' + down_payment_disclaimer + '(' + formatKM(kms_allowance_disclaimer) + item.effectiveInterestRate + '% Effective Rate, cost of borrowing ' + '$' + borrowingCost.formatMoney(0, ',', '.') + ')'; if(icl_language == 'fr-CA'){ APR_text = '@' + interest_rate + '% TAEG' + down_payment_disclaimer + '(' + formatKM(kms_allowance_disclaimer) + item.effectiveInterestRate + '% Taux Effectif)'; APR_text_with_borrowing_cost = '@' + interest_rate + '% TAEG' + down_payment_disclaimer + '(' + formatKM(kms_allowance_disclaimer) + item.effectiveInterestRate + '% Taux Effectif, coût d\'emprunt ' + '$' + borrowingCost.formatMoney(0, ',', '.') + ')'; } jQuery('#' + type + '_' + 'rate_disclaimer').html('(' + parseFloat(item.effectiveInterestRate).toFixed(2) + ')%'); } } }); } // End implementation for Effective rate var months = ' Months '; var taxes = '.
'; if(type == 'finance'){ taxes += finance_taxes_disclaimer; }else{ taxes += lease_taxes_disclaimer; } if(icl_language == 'fr-CA'){ months = ' Mois '; if(type == 'finance'){ jQuery('#' + type + '_' + 'for_iom').html('Financement Pour '); }else{ jQuery('#' + type + '_' + 'for_iom').html('Location Pour '); } } if(borrowingCost == 0 || isEmpty(borrowingCost)){ jQuery('#borrowing_cost_' + type).val('N/A'); //jQuery('#' + type + '_' + 'disclaimer_bottom').html(final_price + ' x ' + payment_term + months + APR_text + taxes); }else{ jQuery('#borrowing_cost_' + type).val('$' + borrowingCost.formatMoney(2, ',', '.')); //jQuery('#' + type + '_' + 'disclaimer_bottom').html(final_price + ' x ' + payment_term + months + APR_text_with_borrowing_cost + taxes); } }function getPaymentDatatByTypeTermAndFrequency(term, frequency, type){ var payment_amount = 0; var interest_rate = -1; var frequency_short = ''; var offer; if(type === 'finance'){ var aOffers = FCAincentivesObj.finance_incentives; } else if(type === 'lease'){ var aOffers = FCAincentivesObj.lease_incentives; } jQuery.each(aOffers, function(key, value) { if(value.term == term){ if(frequency == 'Weekly' || frequency == 'Hebdomadaire'){ payment_amount = value.weeklyPayment.replace('\u00a0', ','); frequency_short = 'w'; } else if(frequency == 'Biweekly' || frequency == 'Bihebdomadaire'){ payment_amount = value.biweeklyPayment.replace('\u00a0', ','); frequency_short = 'bw'; } else if(frequency == 'Monthly' || frequency == 'Mensuel'){ payment_amount = value.monthlyPayment.replace('\u00a0', ','); frequency_short = 'mo'; } interest_rate = value.interestRate; offer = value; if(value.stackable_offers !== null){ populateStackableOffersByType(value, type); } } }); jQuery('#' + type + '_' + 'payment_frequency').html('' + formatMoneyByCurrentLanguage(replaceDollarAmount(payment_amount)) + ' / ' + frequency_short); jQuery('#' + type + '_' + 'payment_frequency_disclaimer').html('' + formatMoneyByCurrentLanguage(replaceDollarAmount(payment_amount)) + ' / ' + frequency_short); jQuery('#' + type + '_' + 'rate_disclaimer').html('(' + formatCommas(parseFloat(interest_rate).toFixed(2)) + ')%'); jQuery('#' + type + '_' + 'rate_disclaimer_hidden').val( formatCommas(parseFloat(interest_rate).toFixed(2)) ); jQuery('#' + type + '_' + 'pmt_disclaimer_hidden').val( parseFloat(replaceDollarAmount(payment_amount)).toFixed(2) ); jQuery('#' + type + '_' + 'final_price').html(formatMoneyByCurrentLanguage(replaceDollarAmount(offer.amount))); calculateBorrowingCostForGMByType(term, frequency, type, offer); updateDisclaimerContentByType(term, frequency, type, offer); updateDisclaimerByEIR(frequency, type, offer);}function getMoneyFromDollarAmount(dollarAmount){ return parseFloat(removeCommas(dollarAmount.replace('$', ''))).toFixed(2);}function updateDisclaimerContentByType(payment_term, frequency, type, offer){ var interest_rate = jQuery('#' + type + '_' + 'rate_disclaimer_hidden').val(); var paymentValue = jQuery('#' + type + '_' + 'pmt_disclaimer_hidden').val(); var total_cash_discount = jQuery('#total_' + type + '_' + 'cash_discount').val(); var final_price = jQuery('#' + type + '_' + 'final_price').html(); var borrowingCost = jQuery('#borrowing_cost_' + type).val(); var borrowingCostAmount, paymentAmount; var effectiveInterestRate; var totalObligation = getMoneyFromDollarAmount(final_price); if(borrowingCost !== 'N/A'){ borrowingCostAmount = getMoneyFromDollarAmount(borrowingCost); totalObligation = (parseFloat(totalObligation) + parseFloat(borrowingCostAmount)).toFixed(2); } paymentAmount = getMoneyFromDollarAmount(paymentValue); var numberOfPayments; if(frequency == 'Weekly' || frequency == 'Hebdomadaire'){ numberOfPayments = 52; } else if(frequency == 'Monthly' || frequency == 'Mensuel'){ numberOfPayments = 12; } else { numberOfPayments = 26; } if(type == 'lease'){ switch (numberOfPayments){ case 52: effectiveInterestRate = offer.weeklyAPR; break; case 26: effectiveInterestRate = offer.biWeeklyAPR; break; default: effectiveInterestRate = offer.monthlyAPR; } } if(type == 'lease'){ if(jQuery("a[name='lease-payments-disclaimer']").length > 0){ var short_omvic_disclaimer_HTML = jQuery("a[name='lease-payments-disclaimer']").attr("data-original-title").replace(/\''/g, '\''); } }else{ if(jQuery("a[name='short_omvic_disclaimer']").length > 0){ var short_omvic_disclaimer_HTML = jQuery("a[name='short_omvic_disclaimer']").attr("data-original-title").replace(/\''/g, '\''); } } if(typeof(short_omvic_disclaimer_HTML) !== "undefined"){ var rx = new RegExp("Selling Price of[\\d\\D]*?with a ", "g"); var final_price_clean = final_price; short_omvic_disclaimer_HTML = short_omvic_disclaimer_HTML.replace(rx, "Selling Price of " + final_price_clean + " with a "); } if(currentLanguageCode == 'fr-CA') { var a = jQuery('
').append(short_omvic_disclaimer_HTML.replace('$','').replace('$','').replace('$','').replace('TAEG lease financing for', 'Crédit-bail de').replace('months available on approved credit. Selling Price of', 'mois disponible sur approbation de crédit. Prix de vente de').replace('with a', 'avec un').replace('leased at $125.00','avec un dépôt de 125 $').replace('$0.00 down payment and first months payment due at lease inception equals', 'L acompte de 0,00 $ et le paiement du premier mois dû au début du bail équivaut à').replace('$2,095.00','2 095,00 $').replace('18,000.00', '18 000').replace('months on approved credit. Selling Price of','mois sur crédit approuvé. Prix de vente de' ).replace('down payment, financed at', 'acompte, financé à').replace('APR for', 'TAP pour Pendant').replace('months with a cost of borrowing of','mois avec un coût d\'emprunt de').replace('and a total obligation of', 'et une obligation totale de').replace('In ON/BC/SASK/ALTA/MAN and QC, total obligation includes freight, A/C, OMVIC/AMVIC fee, tire levy, administration charges and all other retailer charges and excludes taxes, licence, insurance, and new tire duties (in QC). ', 'En ON/BC/SASK/ALTA/MAN et QC, l\'obligation totale comprend le transport, la climatisation, les frais OMVIC/AMVIC, la redevance sur les pneus, les frais d\'administration et tous les autres frais du détaillant et exclut les taxes, l\'immatriculation, l\'assurance et les droits sur les pneus neufs ( au CQ). ').replace('In the Maritimes and the Territories, "Total Obligation" may NOT include freight', 'Dans les Maritimes et les Territoires, "l\'obligation totale" peut NE PAS inclure le fret').replace('A/C, tire levy, administration and other dealer charges, taxes, licence and insurance. Financing details are representative of what you may have to pay. See your retailer for complete details. Offers are subject to change without notice.', 'A/C, taxe sur les pneus, frais administratifs et autres frais du concessionnaire, taxes, immatriculation et assurance. Les détails de financement sont représentatifs de ce que vous devrez peut-être payer. Consultez votre détaillant pour tous les détails. Les offres sont sujettes à changement sans préavis.').replace('$0.00', '0,00 $').replace('security deposit, $0.00 down payment and first months payment due at lease inception equals', 'dépôt de garantie, acompte de 0,00 $ et paiement du premier mois dû au début du bail équivaut à').replace('payments of', 'paiements de').replace('Kilometer allowance of',' ').replace('km/year', ' km par ans').replace('Cost of up to $0.20 per excess kilometer plus applicable taxes at lease termination.','Coût jusqu\'à 0,20 $ par kilomètre excédentaire plus les taxes applicables à la fin du bail.').replace('A/C, tire levy, administration and other dealer charges, taxes, licence and insurance. Leasing details are representative of what you may have to pay. See your retailer for complete details. Offers are subject to change without notice.','A/C, taxe sur les pneus, frais administratifs et autres frais du concessionnaire, taxes, immatriculation et assurance. Les détails de la location sont représentatifs de ce que vous devrez peut-être payer. Consultez votre détaillant pour tous les détails. Les offres sont sujettes à changement sans préavis.').replace('Offer Expires', 'L\'offre expire').replace('Jan', 'Jan').replace('Feb', 'Fév').replace('Mar', 'Mar').replace('Apr', 'Avr').replace('May', 'Peut').replace('Jun', 'Juin').replace('Jul', 'Juil').replace('Aug', 'Août').replace('Sep', 'Sep').replace('Oct', 'Oct').replace('Nov', 'Nov').replace('Dec', 'Déc')); } else { var a = jQuery(' ').append(short_omvic_disclaimer_HTML.replace('$','').replace('$','').replace('$','')); } if(a.find("[name='fca_rate']").length > 0){ a.find("[name='fca_rate']").html(interest_rate); } if(a.find("[name='fca_term']").length > 0){ a.find("[name='fca_term']").html(payment_term); } if(a.find("[name='fca_rate']").length > 0){ a.find("[name='fca_rate']").html(interest_rate); } if(a.find("[name='fca_cob']").length > 0){ if(borrowingCost !== 'N/A'){ a.find("[name='fca_cob']").html(formatMoneyByCurrentLanguage(parseFloat(borrowingCostAmount))); }else{ a.find("[name='fca_cob']").html(borrowingCost); } } if(a.find("[name='fca_to']").length > 0){ a.find("[name='fca_to']").html(formatMoneyByCurrentLanguage(parseFloat(totalObligation))); } if(a.find("[name='fca_freq']").length > 0){ a.find("[name='fca_freq']").html(frequency); } if(a.find("[name='fca_no_of_pmts']").length > 0){ a.find("[name='fca_no_of_pmts']").html(payment_term * numberOfPayments / 12); } if(a.find("[name='fca_pmt']").length > 0){ a.find("[name='fca_pmt']").html(formatMoneyByCurrentLanguage(parseFloat(paymentAmount))); } if(a.find("[name='fca_e_rate']").length > 0){ if(effectiveInterestRate > 0 && effectiveInterestRate > interest_rate){ a.find("[name='fca_e_rate']").html(effectiveInterestRate); } } if(type == 'lease'){ jQuery("a[name='lease-payments-disclaimer']") .attr("data-original-title", jQuery(a).html()) .tooltip('setContent'); }else{ jQuery("a[name='short_omvic_disclaimer']") .attr("data-original-title", jQuery(a).html()) .tooltip('setContent'); }}function updateDisclaimerByEIR(frequency, type, offer){ var interest_rate = jQuery('#' + type + '_' + 'rate_disclaimer_hidden').val(); var numberOfPayments; if(frequency == 'Weekly' || frequency == 'Hebdomadaire'){ numberOfPayments = 52; } else if(frequency == 'Monthly' || frequency == 'Mensuel'){ numberOfPayments = 12; } else { numberOfPayments = 26; } var effectiveInterestRate = offer.eir; if(effectiveInterestRate > 0 && effectiveInterestRate > interest_rate){ jQuery('#' + type + '_' + 'effective_rate_row').attr('style', 'display: block'); jQuery('#' + type + '_' + 'effective_rate_disclaimer').html('' + formatCommas(effectiveInterestRate) + '% ' + 'APR shown for informational purposes.'); }else{ jQuery('#' + type + '_' + 'effective_rate_row').attr('style', 'display: none'); }}function populateStackableOffersByType(value, type){ var takeDeliveryBy = 'Take Delivery By'; if(icl_language == 'fr-CA'){ takeDeliveryBy = 'Récupérer La Livraison Au'; } jQuery('#' + type + '_' + 'stackable_cash').html(''); jQuery.each(value.stackable_offers, function (key, offer) { var stackableOfferAmount = parseFloat(removeCommas(offer.cash_value.replace('$', ''))); if(stackableOfferAmount > 0){ jQuery('#' + type + '_' + 'stackable_cash').append(' ' + ' ' + ' ' + offer.name + ' ' + ' ' + takeDeliveryBy + ' ' + offer.expiryDate + ' ' + ' ' + ' ' + ' -' + formatMoneyByCurrentLanguage(Math.round(stackableOfferAmount)) + ' ' + ' ' + ' Build And Price Book a Test Drive FCA Window Sticker Request Information
Request Information613-271-7114
Disclaimer
By submitting your email address or phone number, you allow us, Capital Dodge, to include you on our contact lists to send you information about our sales promotions, product offers, special events, and other information relating to our products and services. You may revoke consent at any time by clicking on the "Unsubscribe" link in your email. Please read our Privacy Policy or contact us for more details.
Disclaimer
Yes! Please sign me up to receive e-mails and other communications from Volkswagen Canada. And please send me the Volkswagen newsletter, exclusive invites, special promotions and other related information. Please read our Privacy Policy or contact us for more details.
Body Style: | Pickup |
Engine: | 3.6L 6cyl |
Exterior Colour: | White |
Interior Colour: | Black |
Fuel Type: | Gasoline |
Transmission: | Automatic |
Drivetrain: | 4x4 |
Stock #: | |
VIN: | 1C6JJTBGXPL528335 |
Trim Details: | Rubicon 4dr 4x4 Crew Cab 5 ft. box |
Engine | |
Engine: 3.6L Pentastar VVT V6 w/ESS |
Exterior Ornamentation | |
MOPAR Spray-In Bedliner |
Marketing Option Package | |
Quick Order Package 24R Rubicon |
Option Group | |
Trailer Tow Package - 240-Amp Alternator Class IV Hitch Receiver Heavy-Duty Engine Cooling Trailer Hitch Zoom | |
Cold Weather Group - Front Heated Seats Heated Steering Wheel Leather-Wrapped Steering Wheel |
Roof Type | |
Body-Colour 3-Piece Hard Top - Freedom Panel Storage Bag Manual Rear Sliding Window Rear Window Defroster |
Seat Type | |
Leather-Faced Seats w/Rubicon & Utility Grid - Full-Length Premium Armrests Leather-Wrapped Park Brake Handle Leather-Wrapped Shift Knob Premium Door Trim Panel Rear Seat Armrest w/Cupholders |
Tire Type | |
Tires: LT285/70R17C BSW M/T - Falken Brand Tires |
Transmissions | |
Transmission: 8-Speed Automatic - Selec-Speed Control Transmission Skid Plate |
Wheel Type | |
Wheels: 17" x 7.5" Polished Black Aluminum |
[click to collapse]
[click to collapse]
Personalize
Your Payments
Vehicle Price
Remaining Vehicle Price
$0.00
Your Personalized
Finance Payment Amount:
$0.00 Weekly*
Amount
Financed $0.00
Cost of
Borrowing $0.00
Add/Remove Incentives
Stackable vs Non-Stackable: Stackable incentives are discounts that can be combined with cash, finance and/or lease rates should you qualify for them. Please contact a sales representative for more information.
Loading...
[click to collapse]
Warranty Information | Standard |
Basic distance: 60,000 km | |
Basic months: 36 months | |
Basic warranty: 36 months/60,000km | |
Corrosion perforation warranty: 60 months/ unlimited distance | |
Drivetrain distance: 100,000 km | |
Drivetrain months: 60 months | |
Powertrain warranty: 60 months/100,000km | |
Roadside assistance coverage: 60 months/100,000km | |
Roadside distance: 100,000 km | |
Roadside months: 60 months |
* Every reasonable effort is made to ensure the accuracy of the information listed above. Vehicle pricing, incentives, options (including standard equipment), and technical specifications listed is for the 2023 Jeep Gladiator Rubicon 4dr 4x4 Crew Cab 5 ft. box may not match the exact vehicle displayed. Please confirm with a sales representative the accuracy of this information.
General Information and Specifications
Body Style |
Engine |
Mileage |
Fuel Type |
Transmission |
"); var casl_agree = jQuery('#casl_agree_'+form_name).prop('checked'); if(casl_agree){ casl_agree = 'on'; }else{ casl_agree = 'off'; } var national_casl_agree = jQuery('[name=national_casl_agree]').prop('checked'); var default_make_id = '2'; if(national_casl_agree){ national_casl_agree = 'on'; }else{ national_casl_agree = 'off'; } (jQuery).ajax({ type: 'POST', url: '/ajax/add-embed-form-lead', dataType: '', async: false, success: function(reply) { var goal = 'Inv_New_RequestInformation_sent'; var eventName = goal.replace("_sent", ""); //fireGAPageViews('', eventName); var dealerSpecificRetargeting = ''; if (typeof window.localStorage != "undefined") { var retargetingConversionURL = localStorage.getItem(dealerSpecificRetargeting + "eDealerRetargetingLandingPage"); if(retargetingConversionURL) { //fireGAPageViews(retargetingConversionURL, ''); localStorage.removeItem(dealerSpecificRetargeting + "eDealerRetargetingConversion"); localStorage.removeItem(dealerSpecificRetargeting + "eDealerRetargetingLandingPage"); } } jQuery('#validation-content_' + form_name).html(''); reply = addIframe(reply); jQuery('#div_' + form_name).html(reply); }, data: { form_name: form_name, first_name: jQuery('[name=first_name_rmi]').val(), last_name: jQuery('[name=last_name_rmi]').val(), vehicle_id: 12015266, hdn_cash_rebates: (jQuery)('#hdn_cash_rebates').val(), hdn_finance_rebates: (jQuery)('#hdn_finance_rebates').val(), hdn_lease_rebates: (jQuery)('#hdn_lease_rebates').val(), phone_area_code: jQuery('[name=phone_area_code_rmi]').val(), phone_1: jQuery('[name=phone_1_rmi]').val(), phone_2: jQuery('[name=phone_2_rmi]').val(), email: jQuery('[name=email_address_rmi]').val(), comment: jQuery('[name=comment_rmi]').val(), casl_agree: casl_agree, national_casl_agree: national_casl_agree, default_make_id: default_make_id, wid: 2300, eid: 6731939, did: 6732739, is_V3_form_enabled: true, ip_address: jQuery('[name="ip_address"]').val(), form_url: document.URL, form_title: document.title, form_internal_name: 'v3requestinfonew', source: 5600, } });}function openAFFPopup() { jQuery('#credit-app-tab').html(''); jQuery.ajax({ type: 'POST', url: '/new-vehicles/popup/credit-app-inventory/', dataType: '', async: true, data: { year: '2023', make: 'Jeep', model: "Gladiator", condition: "New", body_style_name: 'Pickup', trim: 'Rubicon', trimid: '', transmission: 'Automatic', drivetrain: '4x4', module: 'default', controller: 'index', action: 'vehicle', hostname: 'v3inventoryvm7ssl.edealer.ca', exterior_color: 'White', interior_color: 'Black', price: '74169', vehicle_id: '12015266', edealer_vehicle_id: '12015266', website_id: 2300, enterprise_id: 6731939, dealer_id: 6732739, dealer_name: 'Capital Dodge', ip_address: jQuery('[name="ip_address"]').val(), form_url: document.URL, form_title: document.title, form_internal_name: 'v3applyforfinancing', source: 5598 }, success: function(reply) { jQuery('#credit-app-tab').html(reply); if(isShiftDigitalTaggingEnabled){ populateSDFormData(); } if(isShiftDigitalKIATaggingEnabled){ console.log('openAFFPopup success'); if(typeof(formShownFlag) != 'undefined'){ formShownFlag = true; } if(typeof(isType) != 'undefined'){ isType = 'modal'; } SDtriggerFormsShownEvent('Finance'); if(typeof(formInitiateFlag) != 'undefined'){ formInitiateFlag = true; } } } });}function openAFLPopup() { jQuery('#credit-app-tab').html(''); jQuery.ajax({ type: 'POST', url: '/new-vehicles/popup/credit-app-inventory/', dataType: '', async: true, data: { year: '2023', make: 'Jeep', model: "Gladiator", condition: "New", body_style_name: 'Pickup', trim: 'Rubicon', trimid: '', transmission: 'Automatic', drivetrain: '4x4', module: 'default', controller: 'index', action: 'vehicle', hostname: 'v3inventoryvm7ssl.edealer.ca', exterior_color: 'White', interior_color: 'Black', price: '74169', vehicle_id: '12015266', edealer_vehicle_id: '12015266', website_id: 2300, enterprise_id: 6731939, dealer_id: 6732739, dealer_name: 'Capital Dodge', ip_address: jQuery('[name="ip_address"]').val(), form_url: document.URL, form_title: document.title, source: 7077, form_internal_name: 'v3applyforleasing', apply_for_lease_flag: true }, success: function(reply) { jQuery('#credit-app-tab').html(reply); if(isShiftDigitalTaggingEnabled){ populateSDFormData(); } } });}function openGetAQuotePopup(name,commentValue) { jQuery('#get-a-quote-Modal').html(''); jQuery.ajax({ type: 'POST', url: '/new-vehicles/popup/request-info-inventory/', dataType: '', async: true, data: { comment_val: commentValue, table_name:name, year: '2023', make: 'Jeep', model: "Gladiator", body_style_name: 'Pickup', trim: 'Rubicon', trimid: '', transmission: 'Automatic', drivetrain: '4x4', module: 'default', controller: 'index', action: 'vehicle', hostname: 'v3inventoryvm7ssl.edealer.ca', exterior_color: 'White', interior_color: 'Black', price: '74169', vehicle_id: '12015266', edealer_vehicle_id: '12015266', website_id: '2300', enterprise_id: '6731939', dealer_id: '6732739', ip_address: jQuery('[name="ip_address"]').val(), fourth_source_id: 8155, form_url: document.URL, form_title: document.title, dealer_name: 'Capital Dodge', form_internal_name: 'v3getaquote', }, success: function(reply) { jQuery('#get-a-quote-Modal').html(reply); if(isShiftDigitalTaggingEnabled){ populateSDFormData(); } } });}function openResidualValuePopup() { jQuery('#residual-value-Modal').html(''); jQuery.ajax({ type: 'GET', url: '/new-vehicles/popup/residual-values-inventory/', dataType: '', data: { year: '2023', make: 'Jeep', model: "Gladiator", body_style_name: 'Pickup', trim: 'Rubicon', trimid: '', transmission: 'Automatic', drivetrain: '4x4', module: 'default', controller: 'index', action: 'vehicle', exterior_color: 'White', interior_color: 'Black', price: '74169', vehicle_id: '12015266', edealer_vehicle_id: '12015266', website_id: 2300, enterprise_id: 6731939, dealer_id: 6732739, ip_address: jQuery('[name="ip_address"]').val(), form_url: document.URL, form_title: document.title, dealer_name: 'Capital Dodge', form_internal_name: 'v3calculateyourleasepayment', }, async: true, success: function(reply) { jQuery('#residual-value-Modal').html(reply); if(isShiftDigitalTaggingEnabled){ populateSDFormData(); } } });}function loadTechnicalSpecifications() { var currentLanguageCode = getLocalizationLanguage(); jQuery.ajax({ type: 'POST', url: '/new-vehicles/default/ajax/technical-specifications-by-acode-vin', dataType: '', async: true, success: function(reply) { jQuery('#specifications').html(reply); }, data: { acode: 'CAD30JET051D0', vehicle_id: '12015266', dealer_id: '6732739', vin: '1C6JJTBGXPL528335', ymmt: '', website_id: '2300', transmission: 'Automatic', invalidateCache: false, ajax: 'true', } });}var counterLoadStandardEquipment = 0;function getLocalizationLanguage(){ var currentLanguageCode = 'en'; if(typeof Localize !== 'undefined'){ currentLanguageCode = Localize.getLanguage(); } if(typeof Localize !== 'undefined'){ Localize.on("setLanguage", function(data) { currentLanguageCode = data.to; }); } return currentLanguageCode;}function loadStandardEquipment() { var currentLanguageCode = getLocalizationLanguage(); jQuery.ajax({ type: 'POST', url: '/new-vehicles/default/ajax/standard-equipment', dataType: '', async: true, success: function(reply) { if(counterLoadStandardEquipment<=0){ jQuery('#options-content-accordion').html(''); jQuery('#options-content-accordion').append(reply); counterLoadStandardEquipment++; } }, data: { acode: 'CAD30JET051D0', vehicle_id: '12015266', dealer_id: '6732739', ymmt: '', website_id: '2300', invalidateCache: false, ajax: 'true', } });}function loadEdmundsReviews() { jQuery.ajax({ type: 'POST', url: '/new/edmunds-reviews/', dataType: 'html', async: true, success: function(reply) { if(isEmpty(reply)){ jQuery("#accordion-edmunds-reviews").attr('style','display: none;'); }else{ jQuery("#edmunds-reviews-content-accordion").html(reply); } }, data: { year: '2023', make: 'Jeep', model: "Gladiator", condition: 'new', dealerId: '6732739', invalidateCache: false, ajax: 'true' } });}function loadiihsReviews() { jQuery.ajax({ type: 'POST', url: '/new/iihs-reviews/', dataType: 'html', async: true, success: function(reply) { if(isEmpty(reply) || reply == "
"){ jQuery("#accordion-iihs-reviews").attr('style','display: none;'); }else{ jQuery("#iihs-reviews-content-accordion").html(reply); } }, data: { year: '2023', make: 'Jeep', model: "Gladiator", invalidateCache: false, ajax: 'true' } });} function loadGoogleDealerRaterReviews(){(jQuery).ajax({ url: '/new/google-dealer-rater-reviews/', data: { condition : 'new', dealerID : 6732739, invalidateCache: false }, success: function(data) { //(jQuery)("#vehicleList").after(data); //console.log('LastContainerID ' + LastContainerID); //return LastContainerID; jQuery("#accordion-details").append(data); jQuery("#google-reviews-container").attr("class","row summary"); jQuery(".tagline").remove(); jQuery(".review-arrows").html(''); jQuery(".owl-wrapper-outer").html(''); jQuery("#v3-google-reviews").attr("style","padding: 0px 10px;background-color: white;text-align: center;overflow: hidden;"); var featuredSlider = jQuery("#v3-google-reviews .reviews"); var featuredNextButton = jQuery('#review-next'); var featuredPrevButton = jQuery('#review-prev'); featuredSlider.owlCarousel({ items : 3, itemsCustom : [ [0, 1], [750, 2], [1013, 3] ], stagePadding: 10, pagination : false, responsive : true, responsiveRefreshRate : 1, responsiveBaseWidth : window, stopOnHover: true, scrollPerPage: true, autoPlay: false }); featuredNextButton.click(function(){ featuredSlider.trigger('owl.next'); }); featuredPrevButton.click(function(){ featuredSlider.trigger('owl.prev'); }); }, dataType: 'html' }); }function loadWarranties() { var currentLanguageCode = getLocalizationLanguage(); jQuery.ajax({ type: 'POST', url: '/new-vehicles/default/ajax/warranties', dataType: 'html', async: true, success: function(reply) { jQuery('#warranties-content-accordion').html(reply); }, data: { acode: 'CAD30JET051D0', website_id: '2300', ajax: 'true', } });}function fillIncentivesTab() { var currentLanguageCode = getLocalizationLanguage(); jQuery.ajax({ type: 'POST', url: '/new-vehicles/popup/incentives-inventory/make/Jeep/', dataType: '', async: true, data: { subtitle: '2023 Jeep Gladiator Rubicon Pickup', acode: 'CAD30JET051D0', package_code: '24R', website_id: '2300', show_std_rates: '0', dealer_id: '6732739' ,showCheckboxes: true ,pullPaymentsPriceFrom: '1' }, success: function(reply) { jQuery('#incentives').html(reply); updatePopupCheckboxes(); if(typeof(getLocalizationLanguage) !== 'undefined'){ var locale = getLocalizationLanguage(); if(typeof(getCashIncentives) !== 'undefined'){ getCashIncentives(locale); } if(locale == 'fr-CA'){ jQuery(".maincontent .english-price").hide(); jQuery(".maincontent .french-price").show(); }else{ jQuery(".maincontent .french-price").hide(); jQuery(".maincontent .english-price").show(); } } } });}function openIncentivesPopup() { var currentLanguageCode = getLocalizationLanguage(); jQuery.ajax({ type: 'GET', url: '/new-vehicles/popup/incentives/make/Jeep/acode/CAD30JET051D0' + '/package_code/24R/subtitle/2023 Jeep Gladiator Rubicon Pickup/dealer_id/6732739' + '/website_id/2300/show_std_rates/0', dataType: '', async: true, data: { showCheckboxes: true, pullPaymentsPriceFrom: '1' }, success: function(reply) { jQuery('#view-incentives-Modal').html(reply); updatePopupCheckboxes(); if(typeof(getLocalizationLanguage) !== 'undefined'){ var locale = getLocalizationLanguage(); if(typeof(getCashIncentives) !== 'undefined'){ getCashIncentives(locale); } if(locale == 'fr-CA'){ jQuery(".maincontent .english-price").hide(); jQuery(".maincontent .french-price").show(); }else{ jQuery(".maincontent .french-price").hide(); jQuery(".maincontent .english-price").show(); } } } });}function checkIncentives() { jQuery.ajax({ type: 'POST', url: '/new-vehicles/popup/check-incentives/make/Jeep/website_id/2300/', dataType: '', async: true, data: { subtitle: '2023 Jeep Gladiator Rubicon Pickup', acode: 'CAD30JET051D0', dealer_id: '6732739' ,showCheckboxes: true }, success: function(reply) { var eDealerWID = '2300'; if(reply == '
'){ jQuery('#view-incentives-button').css('display','none'); jQuery('.load-incentives-popup').css('display','none'); }else{ var indexCash = reply.indexOf('cash'); if(indexCash == -1){ jQuery('.maincontent .rebates-table > tbody > tr.price-final-border').attr('style', 'border-top: none !important;'); jQuery('#priceRebatesRow').attr('style', 'display: none;'); jQuery('.maincontent .rebates-table > tbody > tr.price-final-border').children("td:nth-child(1)").html('Price:'); } } } }); }function calculatePurchasePrice() { var msrp; var adminFee; var tax; var destinationCharge; var taxDollarValue; if (jQuery("#vehicleMSRP").val()) { msrp = parseFloat(jQuery("#vehicleMSRP").val()); } else { msrp = 0; } if (jQuery("#adminFee").val()) { adminFee = parseFloat(jQuery("#adminFee").val()); } else { adminFee = 0; } destinationCharge = 0; var priceTaxFree = 0; var price = 0; priceTaxFree = msrp + adminFee + 0 + destinationCharge; var priceForPayments = priceTaxFree - adminFee; jQuery('#startingPriceForPayments-sidebar').val(priceForPayments); if (jQuery("#taxesAmount").val()) { tax = parseFloat(jQuery("#taxesAmount").val()); taxDollarValue = priceTaxFree * tax / 100; } else { tax = 0; taxDollarValue = 0; } price = priceTaxFree + taxDollarValue; jQuery("#summ-price-muted").val(price); jQuery("#summ-price-muted").html("$" + price.formatMoney(0, ',', '.')); jQuery("#purchasePriceParamCA").val(price); jQuery("#purchasePriceParamAFF").val(price); jQuery("#purchasePriceParamAFFTerm").val(price);}function changeTrimByAcode(acode) { window.location = jQuery('#trim' + acode).attr("href") + '#aoverview';}function changeTrimListByTransmissionAndDrivetrain(transmission, drivetrain, cabType, boxLength) { var modelCategory = ''; var isTruck = false; if (modelCategory === 'Truck') { isTruck = true; } var clickedOn = ''; if (transmission === '') { if (isTruck) transmission = jQuery('#dropTransmission').children('option').filter(':selected').val(); else transmission = jQuery('input[name=radioTransmission]:checked').val(); } else { clickedOn = 'transmission'; } if (drivetrain === '') { if (isTruck) drivetrain = jQuery('#dropDrivetrain').children('option').filter(':selected').val(); else drivetrain = jQuery('input[name=radioDrivetrain]:checked').val(); } else { clickedOn = 'drivetrain'; } if (cabType === '') { cabType = jQuery('#dropCabType').children('option').filter(':selected').val(); if (cabType === undefined) { cabType = ''; } } else { clickedOn = 'cabType'; } if (boxLength === '') { boxLength = jQuery('#dropBoxLength').children('option').filter(':selected').val(); if (boxLength === undefined) { boxLength = ''; } } else { clickedOn = 'boxLength'; } if (isTruck) { checkTrimChange(transmission, drivetrain, cabType, boxLength, clickedOn); } else { window.location = jQuery('#url' + transmission + drivetrain + cabType + boxLength).attr("href"); }}function calculateLeaseTerms(pullResidualAmountFrom) { //var totalPrice = parseFloat(jQuery("#purchasePrice").val()); var totalPrice = parseFloat(jQuery("#startingPriceForPayments-sidebar").val()); //lease variables var residual_value = 0; //lease variables if(pullResidualAmountFrom == 0){ residual_value = Number(jQuery('#residual-value-sidebar').val().replace(/[^0-9\.]+/g,"")); if(isEmpty(residual_value) || residual_value == 0){ residual_value = 0; jQuery("#lease-price-default-text").css("display", "block"); return; } }else if(pullResidualAmountFrom == 1){ residual_value = parseFloat(jQuery('#residual-value-sidebar-hidden').val()); } var residual = parseFloat(residual_value); var terms = parseInt(jQuery('#lease-terms-sidebar').val()); var interestRate = parseFloat(jQuery('#lease-rate-sidebar-val'+terms).val()); if(interestRate.length === 0 ){ interestRate = parseFloat(jQuery('#lease-rate-sidebar').val()); } var moneyFactor = interestRate / 2400; var taxes = parseFloat(jQuery('#taxesAmount').val()); if (isEmpty(taxes)) { taxes = 0; } else { taxes = taxes / 100 + 1; } var adminFee; if (jQuery("#adminFee").val()) { adminFee = parseFloat(jQuery("#adminFee").val()); } else { adminFee = 0; } if(totalPrice != 0){ totalPrice += adminFee; } var downpayment = 0; var tradeInValue = 0; // var monthlyDepreciationPayment = (totalPrice - residual - downpayment - tradeInValue) / terms; var monthlyInterestPayment = (totalPrice + residual - downpayment - tradeInValue) * moneyFactor; //alert('totalPrice: ' + totalPrice + ' residual: ' + residual + ' downpayment: ' + downpayment) ; if (taxes === 0) { var monthlyLeasePayment = monthlyDepreciationPayment + monthlyInterestPayment; } else { var monthlyLeasePayment_wTax = (monthlyDepreciationPayment + monthlyInterestPayment) * taxes; } //(Monthly Depreciation Payment + Monthly Interest Payment) * 1.13 (for Ontario with a tax rate of 13%) //alert(monthlyDepreciationPayment + ' ' + monthlyInterestPayment); if (taxes === 0) { var printmonthlyLeasePayment = monthlyLeasePayment.formatMoney(0, ',', '.'); } else { var printmonthlyLeasePayment = monthlyLeasePayment_wTax.formatMoney(0, ',', '.'); } if (printmonthlyLeasePayment === '0') { //jQuery("#lease-price-value").css("display", "none"); jQuery("#lease-price-default-text").css("display", "block"); } else { //jQuery("#lease-price-default-text").css("display", "none"); jQuery("#lease-price-value").css("display", "block"); jQuery("#lease-price-value").html('$' + printmonthlyLeasePayment); }}function carFinder() { (jQuery).ajax({ url: '/used/carFinder', data: { dealerID: 6732739, websiteID: 2300, enterpriseID: 6731939, carFinder: 'true', dealerName : 'Capital Dodge', }, success: function(data) { (jQuery)("#car-finder").html(data); }, dataType: 'html' });}function paymentCalculator() { (jQuery).ajax({ url: '/used/', data: { paymentCalculator: 'true', newVehiclePrice: '74169', newVehicleYear: '2023' }, success: function(data) { (jQuery)("#payment-calculator").html(data); }, dataType: 'html' });}function isEmpty(obj) { if (typeof obj === 'undefined' || obj === null || obj === '') return true; if (typeof obj === 'number' && isNaN(obj)) return true; if (obj instanceof Date && isNaN(Number(obj))) return true; return false;}function pmt(i, n, p) { /* * i - apr/n * n - term * p - amount **/ if (isEmpty(i) || isEmpty(n) || isEmpty(p)) { return 0; } var pow = Math.pow((1 + i), n); var value = (i * p * pow) / (1 - pow); return value;}function shoppingAssistantMenu() { //THIS FUNCTION GETS RECENTLY VIEWED VEHICLES (jQuery).ajax({ url: '/used/', success: function(data) { (jQuery)("#recently-viewed").html(data); }, dataType: 'html', data: { shoppingAssistant: 'true' } }); //THIS FUNCTION GETS RECOMMENDED FOR YOU VEHICLES (jQuery).ajax({ url: '/new/recommended-vehicles', data: { recommendedForYou: 'true' }, success: function(data) { (jQuery)("#recommended-for-you").html(data); }, dataType: 'html' });}var url = '/new-vehicles/financing-terms-2/2023-jeep-gladiator-rubicon-id12015266.htm';/*if (url.indexOf("new/vehicle/") !== -1){ url = url.replace("new/vehicle/", "new-vehicles/financing-terms/");}if (url.indexOf("new/hf/undefined/") !== -1){ url = url.replace("new/hf/undefined/", "new-vehicles/financing-terms/");}if(url.indexOf("all/vehicle/") !== -1){ url = url.replace("all/vehicle/", "new-vehicles/financing-terms/");}if (url.indexOf("all/hf/undefined/") !== -1){ url = url.replace("all/hf/undefined/", "new-vehicles/financing-terms/");}*/function loadFinancingTerms() { jQuery.ajax({ type: 'POST', url: '/new-vehicles/financing-terms-2/2023-jeep-gladiator-rubicon-id12015266.htm', dataType: 'html', async: true, beforeSend: function (jqXHR, settings) { window.checkIncentivesURL = settings.url + "?" + settings.data; }, data: { defaultInterestRate:'4.69', acode: 'CAD30JET051D0', dealer_id: '6732739', website_id: '2300',manufacturer: 'Jeep', modelname: "Gladiator", vehicle_price: '73160', expand_table:'0', show_payment_table: '3', show_finance_table_terms: '0', show_lease_table_terms: '0', show_finance_weekly_column: '', show_finance_biweekly_column: '1', show_finance_monthly_column: '1', show_lease_weekly_column: '', show_lease_biweekly_column: '1', show_lease_monthly_column: '1', show_lease_semi_monthly_column: '', admin_fee: '1009', additional_fees: '0', include_tax: '0', taxes: '', msrp_price: '60995.0000', use_msrp: '', use_base_msrp: '', enable_msrp: '', enable_msrp_vs_our_price: '', custom_msrp: '0', delivery: '2095.0000', isDownpaymentPercentageFinance: 0, downPaymentFinance: 0, isDownpaymentPercentageLease: 0, downPaymentLease: 0, package_code: '24R', default_lease_term: 1, show_std_rates: '0', luxury_tax_on_price: '0', }, success: function(reply) { jQuery('#financingAndLeasingPaymentTable').replaceWith(reply); updateLeasePayment(); } }); } function updatePayment() { var payment = ''; var interestRate = 0; var paymentRaw = 0; var paymentBackup = 0; jQuery('#finance-table input').each(function() { var id = this.id; if(id == 'finance-60') { if('bi-weekly' == 'bi-weekly') { payment = jQuery('#' + id + '-bi-weekly').html(); paymentRaw = jQuery('#' + id + '-bi-weekly-raw').val(); interestRate = jQuery('#' + id ).val(); } else if ('bi-weekly' == 'monthly') { payment = jQuery('#' + id + '-monthly').html(); paymentRaw = jQuery('#' + id + '-monthly-raw').val(); interestRate = jQuery('#' + id ).val(); } } if('bi-weekly' == 'bi-weekly') { if(jQuery('#' + id + '-bi-weekly').html() != '$ Please Call') { paymentBackup = jQuery('#' + id + '-bi-weekly').html(); } } else if ('bi-weekly' == 'monthly') { if(jQuery('#' + id + '-monthly').html() != '$ Please Call') { paymentBackup = jQuery('#' + id + '-monthly').html(); } } }); if(payment == '$ Please Call') { payment = paymentBackup; } if(payment !== paymentBackup){ payment = '$' + Math.round(paymentRaw) + ' @ ' + interestRate + '% APR'; if (typeof Localize !== 'undefined' && (isOEMThemeAndLocalizationEnabled == 'true')){ if(typeof(Localize.getLanguage()) !== 'fr-CA'){ payment = Math.round(paymentRaw) + '$' + ' @ ' + interestRate.replace('.',',') + '% TAEG'; } } } jQuery("#bi-weekly-60").html(payment); if(jQuery('#short_omvic_disclaimer_banner > span[id="price"]').length > 0){ jQuery("#bi-weekly-60-banner").html(payment); jQuery('#finance-payment-new-banner').css('display', 'block'); jQuery('#finance-payment-original-banner').css('display', 'none'); } jQuery('#finance-payment-new').css('display', 'block'); jQuery('#finance-payment-original').css('display', 'none'); var final_price = jQuery('#final-price').html().split('.').join(''); final_price = final_price.split(',').join(''); var term = 60; var borrowCost = calculateBorrowingCost(term, final_price, interestRate, 26, paymentRaw); if(typeof(jQuery('#finance-payment-new').children('#short_omvic_disclaimer').children('span[id="cob"]').html()) !== "undefined"){ jQuery('#finance-payment-new').children('#short_omvic_disclaimer').children('span[id="cob"]').html('$'+borrowCost.formatMoney(0,',','.')); } if(typeof(jQuery('#short_omvic_disclaimer_banner > span[id="cob"]').html()) !== "undefined"){ jQuery('#short_omvic_disclaimer_banner > span[id="cob"]').html('$'+borrowCost.formatMoney(0,',','.')); } var short_omvic_disclaimer_HTML = jQuery("#finance-payment-new [name='short_omvic_disclaimer']").attr("data-original-title"); var a = jQuery('
').append(short_omvic_disclaimer_HTML); if(a.find('#cob').length > 0){ a.find('#cob').html('$'+borrowCost.formatMoney(0,',','.')); } if(a.find('#price').length > 0){ a.find('#price').html('$'+numberWithCommas(final_price)); if(jQuery('#finance-payment-new-banner').length > 0){ jQuery("#bi-weekly-60-banner").html(payment); jQuery('#finance-payment-new-banner').css('display', 'block'); jQuery('#finance-payment-original-banner').css('display', 'none'); } } if (typeof Localize !== 'undefined' && (isOEMThemeAndLocalizationEnabled == 'true')){ var current_finance_html = jQuery("#finance-payment-new [name='short_omvic_disclaimer']").attr("data-original-title"); var applyRebatesIntoFinanceAndLease = true; if(typeof(pullPaymentsPriceFrom) == "undefined"){ if(pullPaymentsPriceFrom == 1 || pullPaymentsPriceFrom == 2){ applyRebatesIntoFinanceAndLease = false; } } var new_disclaimer_html = current_finance_html; if(applyRebatesIntoFinanceAndLease){ new_disclaimer_html = jQuery(a).html(); } var html_finance = updatePaymentDisclaimerContentByType('finance', Localize.getLanguage(), new_disclaimer_html); jQuery(a).html(''); jQuery(a).html(html_finance); } jQuery("#finance-payment-new [name='short_omvic_disclaimer']") .attr("data-original-title", jQuery(a).html()) .tooltip('setContent'); if(jQuery('#finance-payment-new-banner').length > 0){ jQuery("#finance-payment-new-banner [name='short_omvic_disclaimer']") .attr("data-original-title", jQuery(a).html()) .tooltip('setContent'); } } function numberWithCommas(number) { var parts = number.toString().split("."); parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","); return parts.join(".");} function updateLeasePayment() { var paymentLease = ''; var paymentLeaseBackup = ''; var paymentLeaseRaw = 0; var term = ''; var interestRate = ''; var estimatedBuyout = ''; var taxesText = ''; var borrowingCost = 0; var numberOfPayments = 12; var price = jQuery('#vehicle_price_lease').val(); var leaseEffectiveRate = ''; taxesText = '
Plus HST and License.'; jQuery('#lease-table input.lease-payment-input').each(function() { var id = this.id; var table_term = id.replace('lease-', ''); var is_default_term = jQuery(this).attr('is_default_term'); if(is_default_term == 1){ if(jQuery('#' + id + '-bi-weekly').html() != '$ Please Call' && jQuery('#' + id + '-bi-weekly').html() != null) { paymentLease = jQuery('#' + id + '-bi-weekly').html(); paymentLeaseRaw = jQuery('#' + id + '-bi-weekly-raw').val(); term = jQuery('#' + id + '-incentive').html(); interestRate = jQuery('#lease-' + term).val(); estimatedBuyout = jQuery('#residual-' + term + '-span').html(); } } }); if(paymentLease != '' && paymentLease != '$ Please Call') { borrowingCost = calculateBorrowingCost(term, price, interestRate, 26, paymentLeaseRaw); jQuery("#lease-payment-new").css("display", "block"); jQuery("#lease-payments-disclaimer").css("display", "block"); var currentLanguageCode = 'en'; if(typeof(getLocalizationLanguage) !== 'undefined'){ currentLanguageCode = getLocalizationLanguage(); } if(currentLanguageCode == 'fr-CA' && isOEMThemeAndLocalizationEnabled == 'true'){ jQuery("#lease-payment-value").html("" + parseInt(paymentLease.replace("$", "")).formatMoney(0, ' ', ',') + " $"); }else{ if(currentLanguageCode == 'fr-CA') { jQuery("#lease-payment-value").html("" + parseInt(paymentLease.replace("$", "")).formatMoney(0, ' ', ',') + " $"); } else { jQuery("#lease-payment-value").html("" + paymentLease + ""); } if(isOEMThemeAndLocalizationEnabled == 'true'){ jQuery("#lease-payment-value").html("" + paymentLease + " "); } } if(term != '' && interestRate != '' && estimatedBuyout != '' && borrowingCost != 0 && term != null && interestRate != null && estimatedBuyout != null && borrowingCost != null) { var lease_payments_disclaimer = '$' + '' + parseInt(price).formatMoney(0, ',', '.') + '' + ' x ' + term + ' Months @ ' + interestRate + '% APR (estimated lease rate' + ((leaseEffectiveRate) ? ', ' + leaseEffectiveRate + '% effective rate' : '') + ', cost of borrowing $' + '' + borrowingCost.formatMoney(0, ',', '.') + '' + ', estimated buyout ' + '' + estimatedBuyout + '' + '). ' + taxesText; if (typeof Localize !== 'undefined' && edealerWebsiteId == 2166){ var language = Localize.getLanguage(); lease_payments_disclaimer = '' + '$' + '' + '' + '' + parseInt(price).formatMoney(0, ',', '.') + '' + '' + '' + ' x ' + term + '' + ' Months @ ' + '' + interestRate + '%' + '' + 'APR (estimated lease rate' + ', cost of borrowing ' + '' + '' + '$' + borrowingCost.formatMoney(0, ',', '.') + '' + '' + ', estimated buyout ' + '' + '' + estimatedBuyout + '' + '' + '). ' + taxesText; if(language == 'fr-CA'){ lease_payments_disclaimer = lease_payments_disclaimer.replace('APR (estimated lease rate, cost of borrowing', ' TAEG (taux de location estimé, coût d\'emprunt'); lease_payments_disclaimer = lease_payments_disclaimer.replace('estimated buyout', 'rachat estimé'); } } var short_omvic_disclaimer_HTML = jQuery("a[name='lease-payments-disclaimer']").attr("data-original-title"); var final_price = jQuery('#final-price').html().split('.').join(''); final_price = final_price.split(',').join(''); var a = jQuery('
').append(short_omvic_disclaimer_HTML); if(a.find('#l_cob').length > 0){ a.find('#l_cob').html('$'+borrowingCost.formatMoney(0,',','.')); } if(a.find('#l_price').length > 0){ a.find('#l_price').html('$'+numberWithCommas(price)); if(jQuery('#lease-payment-updated-banner').length > 0){ jQuery("#lease-payment-value-banner-updated").html(paymentLease); jQuery('#lease-payment-updated-banner').css('display', 'block'); jQuery('#lease-payment-new-banner').css('display', 'none'); } } if(a.find('#l_eb').length > 0){ a.find("#l_eb").html(estimatedBuyout.replace(',00', '').replace(' ', '')); } if (typeof Localize !== 'undefined' && (isOEMThemeAndLocalizationEnabled == 'true')){ var current_lease_html = jQuery("a[name='lease-payments-disclaimer']").attr("data-original-title"); var html_finance = updatePaymentDisclaimerContentByType('lease', Localize.getLanguage(), jQuery(a).html()); jQuery(a).html(''); jQuery(a).html(html_finance); } jQuery("a[name='lease-payments-disclaimer']") .attr("data-original-title", jQuery(a).html()) .tooltip('setContent'); if(jQuery('#lease-payment-updated-banner').length > 0){ jQuery("#lease-payment-updated-banner [name='lease-payments-disclaimer']") .attr("data-original-title", jQuery(a).html()) .tooltip('setContent'); } } else { jQuery("#lease-payments-disclaimer").html(''); } } else { jQuery("#lease-payment-new").css("display", "none"); } if(jQuery('.bi-weekly-used > span[id="l_price"]').length > 0){ jQuery("#lease-payment-value-banner-updated").html(paymentLease); jQuery("#l_eb").html(estimatedBuyout); jQuery('#lease-payment-updated-banner').css('display', 'none'); } if(typeof(jQuery('#lease-payment-updated').children('.payment-used-1').children('span[id="l_cob"]').html()) !== "undefined"){ jQuery('#lease-payment-updated').children('.payment-used-1').children('span[id="l_cob"]').html('$'+borrowingCost.formatMoney(0,',','.')); } if(typeof(jQuery('.bi-weekly-used > span[id="l_cob"]').html()) !== "undefined"){ jQuery('.bi-weekly-used > span[id="l_cob"]').html('$'+borrowingCost.formatMoney(0,',','.')); } } function calculateBorrowingCost(term, price, interestRate, numberOfPayments, paymentLease) { var borrowingCost = 0; var balance = price; var monthlyInterest = 0; for(var i=0; i < Math.floor(term* numberOfPayments / 12); i++) { monthlyInterest = (balance * interestRate) / (numberOfPayments * 100); principal = paymentLease - monthlyInterest; borrowingCost += monthlyInterest; balance = balance - principal; } return borrowingCost; } function loadFinancingAndLesingDisclaimer() { jQuery.ajax({ type: 'POST', url: '/new-vehicles/financing-and-leasing-disclaimer/2023-jeep-gladiator-rubicon-id12015266.htm', dataType: 'html', async: true, data: { website_id: '2300', manufacturer: 'Jeep', condition: 'New' }, success: function(reply) { jQuery('#financeAndLeaseDisclaimer').replaceWith(reply); } }); } function showValidationPopup() { var popupHTML = '
'; popupHTML += '
- '; popupHTML += '
- Sorry, this vehicle is no longer available! '; popupHTML += '
- You will now be redirected to a page with similar vehicles. '; popupHTML += '
- Redirecting in 5 seconds... '; popupHTML += '
'; jQuery('#redirect').html(popupHTML); jQuery(document.body).addClass('modal-open'); jQuery(document.body).append('
');}function endCountdown() { // logic to finish the countdown here}function handleTimer() { if(count === 0) { clearInterval(timer); endCountdown(); } else { jQuery('#counter').html(count); count--; }}jQuery('#compareVehicles, #compareVehicles2').click(function(){ if (compareIdArray.length < 2){ alert("Minimum number of vehicles for comparing is 2"); } else { var compareUrl = '/new/compare'; var compareArrayString = compareIdArray.join('|'); compareUrl += '/ids/'+compareArrayString; window.location = compareUrl; }});function readMore(id) { var readMore = "#readMore" + id; var readLess = "#readLess" + id; var dsc = "#descriptionPar" + id; var dscFull = "#descriptionPar" + id + "Full"; jQuery(readLess).show(); jQuery(readMore).hide(); jQuery(dsc).css("display", "none"); jQuery(dscFull).css("display", "block");}function readLess(id) { var readMore = "#readMore" + id; var readLess = "#readLess" + id; var dsc = "#descriptionPar" + id; var dscFull = "#descriptionPar" + id + "Full"; jQuery(readLess).hide(); jQuery(readMore).show(); jQuery(dsc).css("display", "block"); jQuery(dscFull).css("display", "none");}jQuery("#watch_video, #videoWatchId, #watch_video_main").click(function(){ var videoContent ='Video Content'; videoContent = videoContent.replace('/watch?v=', '/embed/'); if(videoContent != 'Video Content'){ var trimmedContent = videoContent.trim(); if(trimmedContent.indexOf('<') === 0){ videoContent = (jQuery)(videoContent); var current = videoContent.attr('src'); if ((current.indexOf("?rel=0") >= 0) || (current.indexOf("&rel=0") >= 0) || (current.indexOf("//media.flickfusion.net") >= 0)){ }else if(current.indexOf("?") >= 0){ videoContent.attr('src', current + '&rel=0'); }else{ videoContent.attr('src', current + '?rel=0'); } }else{ var VideoId = ''; if(VideoId != ''){ videoContent = '
'; } } } jQuery("#modal-video-iframe").html(videoContent); if(trimmedContent.indexOf('<') === 0){ var vIframeHeight = videoContent.attr('height'); jQuery("#modal-video-iframe").children().attr("style", "height: "+vIframeHeight+"px !important;"); } var screenDoc = jQuery(document).width(); var videoWidth = parseInt(jQuery("#modal-video-iframe").children().attr("width")) + 17; if(screenDoc > 668 && videoWidth > 117){ jQuery(".modal-content").css("width", videoWidth); } else{ jQuery("#modal-video-iframe").children().attr("width", 100 +'%'); }}); var offset = 220; var duration = 500; jQuery(window).scroll(function() { if (jQuery(this).scrollTop() > offset) { jQuery('.back-to-top-new').fadeIn(duration); } else { jQuery('.back-to-top-new').fadeOut(duration); } }); jQuery('.back-to-top-new').click(function(event) { event.preventDefault(); jQuery('html, body').animate({scrollTop: 0}, duration); return false; });jQuery(".accordion-collapsable").click(function(){var category = "VDP";var action = "";var row_small = jQuery(this).find('small'); if(jQuery(this).find('a').hasClass("collapsed")){action = "Expand";row_small.html('[click to collapse]'); jQuery(this).find('.colapse-button-new-spec-1').css('background-image','url(https://static.edealer.ca/V3_1/V-3/dist/img/colapse-red-down.png)'); } else{action = "Collapse";row_small.html('[click to expand]'); jQuery(this).find('.colapse-button-new-spec-1').css('background-image','url(https://static.edealer.ca/V3_1/V-3/dist/img/colapse-red-right.png)'); } });jQuery('.back-to-top-new').click(function() { var expanded = jQuery(".panel-collapse").hasClass("in"); if(expanded) { jQuery(".panel-collapse").removeClass("in"); jQuery(".panel-collapse").addClass("collapse"); jQuery(".accordion-collapsable").find('a').addClass("collapsed"); var row_small = jQuery(".colapse-button-new-spec-1").find('small'); row_small.html('[click to expand]'); jQuery(".accordion-collapsable").find('.colapse-button-new-spec-1').css('background-image','url(https://static.edealer.ca/V3_1/V-3/dist/img/colapse-red-right.png)'); }});jQuery('#collapse-button-bottom-right-options').click(function() { jQuery("#collapseOptions").removeClass("in"); jQuery("#collapseOptions").addClass("collapse"); jQuery("#accordion-collapsable-options").find('a').addClass("collapsed"); var row_small = jQuery("#collapse-button-options").find('small'); row_small.html('[click to expand]'); jQuery('#collapse-button-options').css('background-image','url(https://static.edealer.ca/V3_1/V-3/dist/img/colapse-red-right.png)'); jQuery('html, body').animate({scrollTop: jQuery("#collapse-button-options").offset().top}, 500);});jQuery('#collapse-button-bottom-right-specifications').click(function() { jQuery("#collapseSpecifications").removeClass("in"); jQuery("#collapseSpecifications").addClass("collapse"); jQuery("#accordion-collapsable-specifications").find('a').addClass("collapsed"); var row_small = jQuery("#collapse-button-specifications").find('small'); row_small.html('[click to expand]'); jQuery('#collapse-button-specifications').css('background-image','url(https://static.edealer.ca/V3_1/V-3/dist/img/colapse-red-right.png)'); jQuery('html, body').animate({scrollTop: jQuery("#collapse-button-specifications").offset().top}, 500);});