x Sales Service Parts Map Sales Open Today! 9:00 AM - 7:00 PM Service Open Today! 7:30 AM - 6:00 PM 2021 Honda HR-V 2021 Honda Passport 2021 Honda Pilot 2021 Honda Odyssey Why Buy at Lodi Honda? Value Your Trade Credit Application Car Finder New Model Information Lease Return Center Used All Used Cars Used Honda Cars Used Car Specials Honda Certified Inventory Specials Monthly Specials Used Car Specials Why Buy at Lodi Honda? Discover Honda 2022 Honda Models 2022 Honda Civic Sedan 2022 Honda Civic Hatchback 2022 Honda CR-V 2022 Honda CR-V Hybrid 2022 Honda HR-V 2022 Honda Insight 2022 Honda Odyssey 2022 Honda Pilot 2022 Honda Ridgeline 2021 Honda Models 2021 Honda Accord 2021 Honda Accord Hybrid 2021 Honda Clarity Fuel Cell 2021 Honda Clarity Plug-In Hybrid 2021 Honda Civic Sedan 2021 Honda Civic Hatchback 2021 Honda Civic Type R 2021 Honda CR-V 2021 Honda CR-V Hybrid 2021 Honda HR-V 2021 Honda Insight 2021 Honda Odyssey 2021 Honda Passport 2021 Honda Pilot 2020 Honda Models 2020 Honda Accord Hybrid 2020 Honda Accord 2020 Honda Civic Coupe 2020 Honda Civic Hatchback 2020 Honda Civic 2020 Honda Clarity Plug-In Hybrid 2020 Honda CR-V 2020 Honda Fit 2020 Honda HR-V 2020 Honda Odyssey 2020 Honda Passport 2020 Honda Pilot Finance Finance Application Payment Calculator Finance Department Honda Graduate Program Military Appreciation Program Value Your Trade Buy Vs. Lease GLB Privacy Policy Service Schedule Service Service Department Service & Parts Specials Parts Department Order Parts Honda Info Center Service Research Learn About Your Battery Learn About Your Oil Change Learn About Your Tires Learn About Your Air Conditioning About About Us Contact Us Review Us Why Buy at Lodi Honda? Talk to the Dealer Meet Our Team Directions Privacy Policy Employment Review Us Home CCPA Requests </div> </div><style> .footer-info a{ display: block; color: #fff; line-height: 27px; margin-left: 25px; margin-top: 8px; } .footer-info-dealer-address a{ font-weight: 600; margin-left: 0px; } .footer-info b{font-size: 23px;} .footer-social a { display: inline-block !important; font-size: 30px !important; } @media screen and (min-width: 64em) { .footer-social{ text-align: left !important; margin-left: -12px; } } </style> <!-- SITE FOOTER --> <div class="footer"> <div class="footer-info"> <div class="row"> <div class="large-3 columns"> <b><i class="fa fa-shopping-cart" aria-hidden="true"></i> Shop</b> <a href="/inventory?type=new">New Honda for Sale</a> <a href="/inventory?type=used&make=Honda">Pre-Owned Honda for Sale</a> <a href="/inventory?type=used">Used Cars for Sale</a> <a href="/inventory?condition=certified&type=used">Certified Pre-Owned</a> </div> <div class="large-3 columns"> <b><i class="fa fa-star" aria-hidden="true"></i> Popular Models</b> <a href="/inventory?type=new&model=CR-V">New Honda CR-V</a> <a href="/inventory?type=new&model=Accord">New Honda Accord</a> <a href="/inventory?type=new&model=Civic">New Honda Civic</a> <a href="/inventory?type=new&model=Odyssey">New Honda Odyssey</a> <a href="/inventory?type=new&model=Fit">New Honda Fit</a> </div> <div class="large-3 columns"> <b><i class="fa fa-wrench" aria-hidden="true"></i> Service, Parts & Specials</b> <a href="/service">Honda Service<a> <a href="/parts">Honda Parts</a> <a href="/oil-change">Honda Oil Change</a> <a href="/finance">Finance Department</a> <a href="/service-specials">Honda Service Coupons</a> </div> <div class="large-3 columns"> <div class=""><b>Lodi Honda</b></div> <div class=""><a class="" href="http://maps.google.com/?q=1700+S+Cherokee+Ln%2C+Lodi+CA%2C+95240" target="_blank"><i class="fa fa-map-marker"></i> 1700 S Cherokee Ln, Lodi CA, 95240</a></div> <div class="footer-social"> <a href="https://www.facebook.com/lodihonda" target="_blank" aria-label="Facebook"><i class="fa fa-facebook-square"></i></a> <a href="https://twitter.com/Lodi_Honda" target="_blank" aria-label="Twitter"><i class="fa fa-twitter-square"></i></a> <a href="https://www.youtube.com/channel/UCGlhsCuPK5z4thYhcgaeyEg?view_as=subscriber" target="_blank" aria-label="YouTube"><i class="fa fa-youtube-square"></i></a> </div> </div> </div> <div class="row"> <div class="columns"> <center><p>**Price Plus government fees and taxes, any finance charges, any dealer document processing charge, any electronic filing charge, and any emission testing charge. Subject to prior sale. On approved credit. Not all buyers may qualify. Estimated Monthly Payment will depend on vehicle make and model and will be determined upon actual vehicle inspection. All payments are estimates and subject to credit approval. The finance rate quoted is only an estimate and does not reflect the rate to which you are qualified.</p> </div></center> </div> <div class="copyright"> <div class="row"> <div class="columns copyright-links justin-test text-center"> <ul> <li><a href="/privacy-policy">Privacy Policy</a></li> <li><a href="/disclaimer">Disclaimer</a></li> <li><a href="/sitemap">Sitemap</a></li> <li><a href="http://translate.google.com/translate?js=n&sl=en&tl=es&u=http://www.lodihonda.com/ccpa-requests" target="_blank">En Español</a></li> </ul> </div> </div> <div class="row hondaDisclaimer"><div class="columns"><small style="display: block;"><span class="disc1"> <sup>[1]</sup>2022 Models - Based on 2022 EPA mileage ratings. Use for comparison purposes only. Your mileage will vary depending on how you drive and maintain your vehicle, driving conditions and other factors.<br></span><span class="disc2"> <sup>[2]</sup>2021 Models - Based on 2021 EPA mileage ratings. Use for comparison purposes only. Your mileage will vary depending on how you drive and maintain your vehicle, driving conditions and other factors.<br></span><span class="disc3"> <sup>[3]</sup>2020 Models - Based on 2020 EPA mileage ratings. Use for comparison purposes only. Your mileage will vary depending on how you drive and maintain your vehicle, driving conditions and other factors.<br></span><span class="disc4"> <sup>[4]</sup>Hybrid Models - Ratings determined by EPA. Use for comparison purposes only. Your MPGe/MPG and driving range will vary depending on driving conditions, how you drive and maintain your vehicle, battery-pack age/condition and other factors.<br></span><span class="disc5"> <sup>[5]</sup>Car and Driver, February 2021.<br></span><span class="disc6"> <sup>[6]</sup>For more information, visit Kelley Blue Book’s KBB.com. Kelley Blue Book is a registered trademark of Kelley Blue Book Co., Inc<br></span><span class="disc7"> <sup>[7]</sup>Government 5-Star Safety Ratings are part of the U.S. Department of Transportations New Car Assessment Program (www.safercar.gov). Model tested with standard side airbags (SAB).<br></span><span class="disc8"> <sup>[8]</sup>View U.S. News Best Cars at http://www.usnews.com/cars.<br></span><span class="disc9"> <sup>[9]</sup>Virtual Inventory, Available Configurations and In-Transit inventory contains vehicles that have not actually been manufactured. These vehicles show consumers sample vehicles that may be available. Pricing, Options, Color and other data pertaining to these vehicles are provided for example only. All information pertaining to these vehicles should be independently verified through the dealer.<br></span><span class="disc10"> <sup>[10]</sup>Some vehicles may have dealer installed options that are not included in the price.<br></span></small></div></div><div class="row proposition65"><div class="columns"><small><span><strong>PROPOSITION 65 WARNING:</strong> These premises contain fuel, oils and fluids, battery posts, terminals and related accessories which contain lead and lead compounds and other chemicals known to the state of California to cause cancer, birth defects and reproductive harm. These chemicals are found in vehicles, vehicle parts and accessories both offered for sale and while undergoing repair, and in the maintenance of the premises. Tobacco products may be present and are known to the state of California to cause cancer, birth defects and reproductive harm. Posted in accordance with Proposition 65 and California Health and Safety Code section 25249.5, et seq.</span></small></div></div> <div class="row"> <div class="columns copyright-fzauto text-center" style="margin-bottom: 40px;"> <div>&#169; 2021 fusionZONE Automotive, LLC.</div> <div><a href="http://www.fzautomotive.com" target="_blank">Responsive Automotive Dealer Websites by fusionZONE Automotive</a></div> </div> </div> </div> </div> </div> <!-- /off-canvas-content --> <!-- /footer --> </div> </div> <script src="/common/js/min/fzauto6.v3.min.js"></script><script> var myType; var myYear; var myMake; var myModel; var curType; var curYear; var curMake; var curModel; var curDaysOnLot; var makesArray; var distance; var crd; var popDistance; var popRadius; var is_chrome = navigator.userAgent.indexOf('Chrome') > -1; var is_explorer = navigator.userAgent.indexOf('MSIE') > -1; var is_firefox = navigator.userAgent.indexOf('Firefox') > -1; var is_safari = navigator.userAgent.indexOf("Safari") > -1; var is_opera = navigator.userAgent.toLowerCase().indexOf("op") > -1; if ((is_chrome)&&(is_safari)) {is_safari=false;} if ((is_chrome)&&(is_opera)) {is_chrome=false;} var logCookie; fZONE.ready(function(){ if(typeof $.cookie !== 'undefined') { logCookie = $.cookie('fzlogin'); geoCookie = $.cookie('fzLat'); getLocation(); } }); function geosuccess(pos) { crd = pos.coords; $.cookie('fzLat',crd.latitude); $.cookie('fzLon',crd.longitude); }; function geoerror(err) { //console.warn('ERROR(' + err.code + '): ' + err.message); }; function getLocation() { var alreadySeen = $.cookie('alreadySeen'); if(typeof alreadySeen === 'undefined') { if (navigator.geolocation) { var geooptions = { enableHighAccuracy: true, timeout: 5000, maximumAge: 0 }; navigator.geolocation.getCurrentPosition(geosuccess, geoerror, geooptions); //console.log("Cookie Not Set!"); } else { //console.log("Cookie already set!"); //console.log($.cookie('fzLat')); //console.log($.cookie('fzLon')); } $.cookie('alreadySeen','1'); } } function getDistance(lat1, lon1, lat2, lon2, unit) { var radlat1 = Math.PI * lat1/180 var radlat2 = Math.PI * lat2/180 var radlon1 = Math.PI * lon1/180 var radlon2 = Math.PI * lon2/180 var theta = lon1-lon2 var radtheta = Math.PI * theta/180 var dist = Math.sin(radlat1) * Math.sin(radlat2) + Math.cos(radlat1) * Math.cos(radlat2) * Math.cos(radtheta); dist = Math.acos(dist) dist = dist * 180/Math.PI dist = dist * 60 * 1.1515 if (unit=="K") { dist = dist * 1.609344 } if (unit=="N") { dist = dist * 0.8684 } return dist } 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 accountSignUp() { var checkFlag = 0; var emailFlag = $(".signup-panel input[name='email']").val(); $(".signup-panel input").each(function(){ if($(this).val() == '') { checkFlag++; $(this).css("border","1px solid red"); } else { $(this).css("border","1px solid #cacaca"); } }); if(!validateEmail(emailFlag)) { $(".signup-panel input[name='email']").css("border","1px solid red"); } else { $(".signup-panel input[name='email']").css("border","1px solid #cacaca"); } if(checkFlag == 0 && validateEmail(emailFlag)) { $('#loadingModal').foundation('open'); $.ajax({ url: "/common/include/createAccount.php?vin="+$('input.myVin').val()+"&siteid=528&email="+$(".signup-panel input[name='email']").val()+"&password="+$(".signup-panel input[name='password']").val()+"&fname="+$(".signup-panel input[name='fname']").val()+"&lname="+$(".signup-panel input[name='lname']").val() }).done(function() { $.cookie('fzlogin',$(".signup-panel input[name='email']").val()); setTimeout('closeLoader()',4000); }); } } function closeLoader() { window.location.href = '/inventory?save=true'; } function addSave(vin) { logCookie = $.cookie('fzlogin'); if(typeof logCookie !== 'undefined') { var des = $("#header-menu span.text-right").offset(); console.log(des); des.top = des.top - 200; if(is_safari) { des.top = -700; $(".srp-vehicle #"+vin+" .srp-vehicle-media").css("position","relative"); } var el = $(".srp-vehicle #"+vin+" .srp-vehicle-media img"); el.clone().appendTo(".srp-vehicle #"+vin+" .srp-vehicle-media"); var el2 = $(".srp-vehicle #"+vin+" .srp-vehicle-media img:eq(1)"); var myWidth = el2.width(); el2.css("position", "absolute").css("width",myWidth+"px").css("z-index","999999"); if(is_safari) { el2.animate({ top: des.top+"px" ,left :des.left+"px"}, 800, undefined, function () { el2.remove(); }); } else { el2.animate({ top: des.top+"px" ,left :des.left+"px"}, 300, undefined, function () { el2.remove(); }); } $.ajax({ url: "/common/include/saveVehicle.php?vin="+vin+"&siteid=528&email="+logCookie }).done(function() { $("#data-"+vin+" .saveBtn").html("<i class='fa fa-heart' style='color: red;'></i>Saved Vehicle"); $("#data-"+vin+" .saveBtn").attr("href","javascript:removeSave('"+vin+"')"); }); var blinkInterval; $('a[href="/inventory?save=true"]').each(function() { var elem = $(this); blinkInterval = setInterval(function() { if (elem.css('visibility') == 'hidden') { elem.css('visibility', 'visible'); } else { elem.css('visibility', 'hidden'); } }, 100); }); setTimeout(function() { clearInterval(blinkInterval); $('a[href="/inventory?save=true"]').css('visibility','visible'); }, 1500); } else { $('#loginModal').foundation('open'); $('input.myVin').val(vin); } } function removeSave(vin) { logCookie = $.cookie('fzlogin'); if(typeof logCookie !== 'undefined') { $.ajax({ url: "/common/include/saveVehicle.php?remove=true&vin="+vin+"&siteid=528&email="+logCookie }).done(function() { $("#data-"+vin+" .saveBtn").html("<i class='fa fa-heart-o'></i>Save Vehicle"); $("#data-"+vin+" .saveBtn").attr("href","javascript:addSave('"+vin+"')"); }); } else { $('#loginModal').foundation('open'); $('input.myVin').val(vin); } } function logOut() { $.removeCookie('fzlogin'); window.location.reload(); } function login() { var currentEmail = $("#loginModal input.email").val(); var currentPass = $("#loginModal input.password").val(); $.get('/common/include/login.php?email='+currentEmail+'&password='+currentPass, function(data) { var saveData = data; if(saveData == 'success') { $.cookie('fzlogin',currentEmail); window.location.reload(); } else { var div = $("#loginModal"); shake(div); } }); } function shake(div){ var interval = 100; var distance = 10; var times = 4; $(div).css('position','relative'); for(var iter=0;iter<(times+1);iter++){ $(div).animate({ left:((iter%2==0 ? distance : distance*-1)) },interval); }//for $(div).animate({ left: 0},interval); } function addWatch(vin) { logCookie = $.cookie('fzlogin'); if(typeof logCookie !== 'undefined') { alert("You are logged in!"); } else { $('#loginModal').foundation('open'); } } /* START Update COMPARE 2019-04-10 */ /** * addCompare Function * this function will add a vehicle from comparison list * the fzcompare cookie will be updated * the compare/remove buttons will be updated */ function addCompare(vin) { var currentCompare = $.cookie('fzcompare'); /* copy current cookie value into currentCompare string */ if(typeof currentCompare !== 'undefined') /* string content test, cookie exist, update value */ { if(currentCompare.split("|").length > 2) /* only three items can be compared */ { $(".alert-panel-error").show().delay(1200).fadeOut(200); /* displays message '3 Vehicles have already been added' */ } else { $("#data-"+vin+" a.compareBtn").attr("href","javascript:removeCompare('"+vin+"');"); /* updated 'Compare' button to 'Remove' script */ $("#data-"+vin+" a.compareBtn").html('<i class="fa fa-check-square-o"></i> Remove'); /* updated 'Compare' text to 'Remove' script */ $(".alert-panel-add").show().delay(1200).fadeOut(200); /* Briefly displays 'Adding Vehicle..." */ $(".alert-panel .compareLink a").text("Compare " + (currentCompare.split("|").length + 1) + " Vehicle(s)"); /* show number of vehicles to compare */ $.cookie('fzcompare', currentCompare + "|" + vin); /* update cookie with VIN */ $(".compareLink a").attr("href","/inventory?view=grid&compare=true&vins="+$.cookie('fzcompare')); /* update the compare link with VINS */ } } else /* no cookie exists, update buttons and set cookie */ { $("#data-"+vin+" a.compareBtn").attr("href","javascript:removeCompare('"+vin+"');"); /* updated 'Compare' button to 'Remove' script */ $("#data-"+vin+" a.compareBtn").html('<i class="fa fa-check-square-o"></i> Remove'); /* updated 'Compare' text to 'Remove' script */ $(".alert-panel .compareLink a").text("Compare 1 Vehicle(s)"); /* show number of vehicles to compare */ $(".alert-panel").show(); /* show alert panel */ $.cookie('fzcompare', vin); /* set cookie */ $(".compareLink a").attr("href","/inventory?view=grid&compare=true&vins="+$.cookie('fzcompare')); /* update the compare link with VINS */ } /* end string content test */ /* animation to have image move from SRP to Alert Panel */ var des = $(".alert-panel").offset(); des.top = des.top - 100; var el = $(".srp-vehicle #"+vin+" .srp-vehicle-media img"); el.clone().appendTo(".srp-vehicle #"+vin+" .srp-vehicle-media"); var el2 = $(".srp-vehicle #"+vin+" .srp-vehicle-media img:eq(1)"); var myWidth = el2.width(); el2.css("position", "absolute").css("width",myWidth+"px").css("z-index","999999"); el2.animate({ top: des.top+"px" ,left :des.left+"px"}, 300, undefined, function () { el2.remove().appendTo(".comparePanel").css("position", "static"); }); //console.log($.cookie('fzcompare')); } /** * removeCompare Function * this function will remove a vehicle from comparison list * the fzcompare cookie will be updated * the compare/remove buttons will be updated * the compare page will be reloaded, reflecting the currently selected vehicles */ function removeCompare(vin) /* pass in the VIN of the vehicle to remove */ { var newCompare = ""; /* define empty string for list of comparing vehicles, this will be updated */ var currentCompare = $.cookie('fzcompare'); /* copy current cookie value into currentCompare string */ if(typeof currentCompare !== 'undefined') /* string content test */ { var currentCompareSplitLength = currentCompare.split("|").length; /* determine length, or number of elements, in array */ if(currentCompareSplitLength > 0) /* number of vehicles to compare test */ { var compareArray = currentCompare.split("|"); /* split on the pipe, create array */ var index = compareArray.indexOf(vin); /* returns the position of the first occurrence of the VIN in the array */ if (index > -1) /* compareArray contains the VIN */ { compareArray.splice(index, 1); /* remove the VIN from the compareArray */ /* next section is to change 'remove' to 'compare' */ $("#data-"+vin+" a.compareBtn").attr("href","javascript:addCompare('"+vin+"');"); /* change link to 'add' once the vehicle is removed */ $("#data-"+vin+" a.compareBtn").html('<i class="fa fa-check-square-o"></i> Compare'); /* update text to 'comapre' */ } else { /* nothing to do, the VIN is not in the current cookie */ } if(compareArray.length > 0) /* check for remaining VINs (elements in array ) */ { var compareArraylength = compareArray.length - 1; /* variable to hold the number of elements in array minus 1 */ for(var i=0;i<=compareArraylength;i++) /* loop through and create text for update cookie values */ { newCompare += compareArray[i]; if(i < compareArray.length - 1) { newCompare += "|"; } } if(newCompare == '' || newCompare == "|") /* check to see if newCompare is empty */ { $.removeCookie('fzcompare'); /* there are no elements in array, remove the cookie */ $(".alert-panel").hide(); /* hide alert panel when no vehicles to compare */ } else { $.cookie('fzcompare', newCompare); /* set new value for cookie */ } } /* end check for remaining VINs */ else { $.removeCookie('fzcompare'); /* there are no elements in array, remove the cookie */ $(".alert-panel").hide(); /* hide alert panel when no vehicles to compare */ } /* end array length test */ } /* end number of vehicles to compare test */ else { $.removeCookie('fzcompare'); /* no vehicles to compare, remove cookie */ $(".alert-panel").hide(); /* hide alert panel when no vehicles to compare */ } } /* end string content test */ currentCompare = $.cookie('fzcompare'); if(typeof currentCompare !== 'undefined') { if(currentCompare.split("|").length >= 0) { $(".alert-panel-remove").show().delay(1200).fadeOut(200); $(".alert-panel .compareLink a").text("Compare " + (currentCompare.split("|").length) + " Vehicle(s)"); $(".compareLink a").attr("href","/inventory?view=grid&compare=true&vins="+$.cookie('fzcompare')); } else { $.removeCookie('fzcompare'); /* no vehicles to compare, remove cookie */ $(".alert-panel").hide(); /* no vehicles to compare, hide alert message */ } } else { /* not sure if any of this is needed, previous tests should handle this */ $.removeCookie('fzcompare'); /* no vehicles to compare, remove cookie */ $(".alert-panel").hide(); /* no vehicles to compare, hide alert message */ } /* RELOADING THE COMPARE PAGE */ /* if on the compare page and changes have been made, reload the page with new URL reflecting updated compare models */ if(window.location.href.indexOf("compare=true") > -1) /* on compare page */ { var domainLink = window.location.protocol+'//'+window.location.hostname+"/inventory"; /* basic link to inventory page */ if (typeof $.cookie('fzcompare') === 'undefined') /* check to see if fzcompare is undefined or empty, window open will return to basic inventory */ { /* no change */ } else { /* reload page with updated URL reflecting current cookie */ domainLink += "?view=grid&compare=true&vins="+$.cookie('fzcompare'); /* URL reflects the current cookie */ } window.open(domainLink,"_self"); /* reload page */ } } /* END Update COMPARE 2019-04-10 */ function switchView(n) { if(n == 'grid') { $(".srp-vehicle").removeClass("row"); $(".srp-vehicle").addClass("medium-4"); $(".srp-vehicle").addClass("columns"); $(".srp-vehicle").css("border","1px dotted #ddd"); $(".srp-vehicle").css("padding","10px 0.9375rem"); $(".srp-vehicle").css("box-shadow","none"); $(".srp-vehicle-title").css("min-height","57px"); $(".srp-vehicle > div").removeClass("columns"); $(".srp-vehicle-list-data > div").removeClass(); $(".srp-vehicle-list-data > div").addClass("medium-12").addClass("columns"); $(".srp-vehicle-list-data .medium-3").removeClass("medium-3").addClass("medium-12").addClass("columns"); $(".srp-vehicle-list-data .medium-9").removeClass("medium-9").addClass("medium-12").addClass("columns"); $(".srp-vehicle-list-data .medium-8").removeClass().addClass("medium-12").addClass("columns"); $(".srp-vehicle-list-data .medium-4").removeClass().addClass("medium-12").addClass("columns"); $(".srp-vehicle-list-data .medium-12").removeClass().addClass("medium-12").addClass("columns"); $(".srp-vehicle-data").hide(); /*$(".srp span:contains('Stock:')").each(function(){ var myStock = $(this).parent().html(); $(this).closest(".srp-vehicle").find(".viewsBtn").before("<b>"+myStock+"</b>&nbsp;&nbsp;&nbsp;"); }); */ } /* if(n == 'list') { $(".srp-vehicle").addClass("row"); $(".srp-vehicle").removeClass("medium-4"); $(".srp-vehicle").removeClass("columns"); $(".srp-vehicle").css("border-top",".0625rem dashed #424242"); $(".srp-vehicle").css("border-bottom","0"); $(".srp-vehicle").css("border-left","0"); $(".srp-vehicle").css("border-right","0"); $(".srp-vehicle").css("padding","0"); $(".srp-vehicle-title").css("min-height","auto"); $(".srp-vehicle > div").addClass("columns"); $(".srp-vehicle-list-data > div").removeClass(); $(".srp-vehicle-list-data > div:nth-child(1)").addClass("medium-3"); $(".srp-vehicle-list-data > div:nth-child(1)").addClass("columns"); $(".srp-vehicle-list-data > div:nth-child(2)").addClass("medium-3"); $(".srp-vehicle-list-data > div:nth-child(2)").addClass("medium-push-6"); $(".srp-vehicle-list-data > div:nth-child(2)").addClass("columns"); $(".srp-vehicle-list-data > div:nth-child(3)").addClass("medium-pull-3"); $(".srp-vehicle-list-data > div:nth-child(3)").addClass("medium-6"); $(".srp-vehicle-list-data > div:nth-child(3)").addClass("columns"); $(".srp-vehicle .medium-12 .medium-12").removeClass("text-center"); $(".srp-vehicle-data").show(); } */ } function setGetParameter(paramName, paramValue) { var url = window.location.href; var hash = location.hash; url = url.replace(hash, ''); if (url.indexOf(paramName + "=") >= 0) { var prefix = url.substring(0, url.indexOf(paramName)); var suffix = url.substring(url.indexOf(paramName)); suffix = suffix.substring(suffix.indexOf("=") + 1); suffix = (suffix.indexOf("&") >= 0) ? suffix.substring(suffix.indexOf("&")) : ""; url = prefix + paramName + "=" + paramValue + suffix; } else { if (url.indexOf("?") < 0) url += "?" + paramName + "=" + paramValue; else url += "&" + paramName + "=" + paramValue; } window.location.href = url + hash; } var getUrlParameter = function getUrlParameter(sParam) { var sPageURL = decodeURIComponent(window.location.search.substring(1)), sURLVariables = sPageURL.split('&'), sParameterName, i; for (i = 0; i < sURLVariables.length; i++) { sParameterName = sURLVariables[i].split('='); if (sParameterName[0] === sParam) { return sParameterName[1] === undefined ? true : sParameterName[1]; } } }; var compareArray; var saveData; var saveArray; fZONE.ready(function(){ var viewParam = getUrlParameter('view'); if(typeof viewParam !== 'undefined') { switchView(viewParam); } var compareParam = getUrlParameter('compare'); if(typeof compareParam !== 'undefined') { $(".srp .large-3").hide(); $(".srp .large-9").removeClass("large-9").addClass("large-12"); $(".srp-vehicle-data").removeClass("medium-up-2").addClass("medium-up-1"); $(".srp-vehicle-data").show(); $("img[alt*='Best']").hide(); $(".srp .medium-4:last").addClass("end"); } /* Start Updated 2019-04-10 */ if(jQuery.cookie) /* check for a cookie */ { var currentCompare = $.cookie('fzcompare'); /* fzcompare cookie stores vehicle VINS */ if(typeof currentCompare !== 'undefined') /* check to see if cookie defined */ { compareArray = currentCompare.split("|"); /* split array on pipe character */ var compareArraylength = compareArray.length; /* define variable as length */ for(var i=0;i<compareArraylength; i++) /* loop through array and update 'compare' button on page */ { $("#data-"+compareArray[i]+" a.compareBtn").attr("href","javascript:removeCompare('"+compareArray[i]+"');"); $("#data-"+compareArray[i]+" a.compareBtn").html('<i class="fa fa-check-square-o"></i> Remove'); } $(".alert-panel .compareLink a").text("Compare " + (currentCompare.split("|").length) + " Vehicle(s)"); /* show number of vehicles for compare */ $(".compareLink a").attr("href","/inventory?view=grid&compare=true&vins="+$.cookie('fzcompare')); /* pass VINS from cookie to URL */ $(".alert-panel").fadeIn(); /* fade in display */ } var currentSave = $.cookie('fzlogin'); if(typeof currentSave !== 'undefined') { $.get('/common/include/getVehicles.php?email='+currentSave, function(data) { saveData = data; saveArray = saveData.split("|"); for(var i=0;i<=saveArray.length - 1; i++) { $("#data-"+saveArray[i]+" .saveBtn").html("<i class='fa fa-heart' style='color: red;'></i>Saved Vehicle"); $("#data-"+saveArray[i]+" .saveBtn").attr("href","javascript:removeSave('"+saveArray[i]+"')"); } }); } } /* End Updated 2019-04-10 */ makesArray = new Array(); $.ajax({ url:'/raw-research-model-list', type:'GET', success: function(data){ var json_obj = $.parseJSON(data); if(json_obj.length > 0) { var previousMake; var currentMake; for (var i in json_obj) { currentMake = json_obj[i].make; if(previousMake == currentMake) { //console.log("Still Same"); } else { //console.log("Changed"); makesArray.push(currentMake); } previousMake = json_obj[i].make } if(makesArray.length > 1) { var output='<ul style="width: 200px;" class="researchUL dropdown menu submenu is-dropdown-submenu first-sub vertical" data-submenu="" aria-hidden="true" role="menu">'; var outputMobile='<ul style="width: 200px;" class="submenu is-accordion-submenu" data-submenu="" aria-hidden="true" role="tabpanel">'; for(var x=0;x<makesArray.length;x++) { output += '<li class="is-dropdown-submenu-parent opens-right" role="menuitem" aria-haspopup="true" aria-expanded="false" aria-label="'+makesArray[x]+' Research" data-is-click="false"><a href="/research-model?make='+makesArray[x]+'">'+makesArray[x]+' Research</a><ul style="width: 350px;" class="dropdown menu submenu is-dropdown-submenu first-sub vertical" data-submenu="" aria-hidden="true" role="menu">'; outputMobile += '<li class="is-accordion-submenu-parent is-submenu-item is-accordion-submenu-item" role="tab"><a href="/research-model?make='+makesArray[x]+'">'+makesArray[x]+' Research</a><ul class="submenu is-accordion-submenu is-active" data-submenu="" aria-hidden="true" role="tabpanel">'; for (var i in json_obj) { if(makesArray[x] == json_obj[i].make) { output+="<li role='menuitem'><a href='/research-video?year="+json_obj[i].year+"&make="+json_obj[i].make+"&model="+json_obj[i].model+"'><img src='" + json_obj[i].image + "'>&nbsp;" + json_obj[i].make + " " + json_obj[i].model + "</a></li>"; outputMobile+="<li role='menuitem' class='is-submenu-item is-accordion-submenu-item'><a href='/research-video?year="+json_obj[i].year+"&make="+json_obj[i].make+"&model="+json_obj[i].model+"'>" + json_obj[i].make + " " + json_obj[i].model + "</a></li>"; } } output += "</ul></li>"; outputMobile += "</ul></li>"; } output+="</ul>"; outputMobile+="</ul>"; $(".header li[aria-label='Research'] > ul > li:last").after(output); $("#offCanvasLeft li a:contains('Research') + ul > li:last").after(outputMobile); $(".header li").not('.is-dropdown-submenu-parent').has("a:contains('Research')").replaceWith('<li class="modelListItem is-dropdown-submenu-parent opens-right" role="menuitem" aria-haspopup="true" aria-expanded="false" aria-label="Research"><a href="/research-model">Research</a>'+output).foundation(); $("#offCanvasLeft li").not('.is-accordion-submenu-parent').has("a:contains('Research')").replaceWith('<li class="is-submenu-item is-accordion-submenu-item is-accordion-submenu-parent" role="menuitem"><a href="/research-model">Research</a>'+outputMobile).foundation(); Foundation.reInit($('.dropdown')); Foundation.reInit($('#offCanvasLeft > ul.vertical')); if($(".modelListItem ul li ul li").length > 10) { $(".researchUL ul").removeAttr("style"); $(".researchUL ul").css("width","568px"); $(".researchUL li ul li").css("width","50%").css("float","left"); } } else { var output='<ul style="width: 315px;" class="researchUL dropdown menu submenu is-dropdown-submenu first-sub vertical" data-submenu="" aria-hidden="true" role="menu">'; var outputMobile='<ul class="submenu is-accordion-submenu" data-submenu="" role="tabpanel">'; for (var i in json_obj) { //if(json_obj[i].vif !== null) //{ output+="<li role='menuitem'><a href='/research-video?year="+json_obj[i].year+"&make="+json_obj[i].make+"&model="+json_obj[i].model+"'>" + json_obj[i].make + " " + json_obj[i].model + "</a></li>"; outputMobile+="<li role='menuitem'><a href='/research-video?year="+json_obj[i].year+"&make="+json_obj[i].make+"&model="+json_obj[i].model+"'>" + json_obj[i].make + " " + json_obj[i].model + "</a></li>"; //} } output+="</ul>"; outputMobile+="</ul>"; $(".header li[aria-label='Research'] > ul > li:last").after('<li class="modelListItem is-dropdown-submenu-parent opens-right" role="menuitem" aria-haspopup="true" aria-expanded="false" aria-label="Model Research" data-is-click="false"><a href="/research-model">Model Research</a>' + output); $("#offCanvasLeft li a:contains('Research') + ul > li:last").after('<li class="is-accordion-submenu-parent is-submenu-item is-accordion-submenu-item" role="tab"><a href="/research-model">Model Research</a>' + outputMobile); $(".header li").not('.is-dropdown-submenu-parent').has("a:contains('Research')").replaceWith('<li class="modelListItem is-dropdown-submenu-parent opens-right" role="menuitem" aria-haspopup="true" aria-expanded="false" aria-label="Research"><a href="#">Research</a><ul class="dropdown menu submenu is-dropdown-submenu first-sub vertical" data-submenu="" aria-hidden="true" role="menu"><li class="modelListItem is-dropdown-submenu-parent opens-right" role="menuitem" aria-haspopup="true" aria-expanded="false" aria-label="Model Research" data-is-click="false"><a href="/research-model">Model Research</a>'+output+'</li></ul>').foundation(); $("#offCanvasLeft li").not('.is-accordion-submenu-parent').has("a:contains('Research')").replaceWith('<li class="is-accordion-submenu-parent is-submenu-item is-accordion-submenu-item" role="tab"><a href="#">Research</a><ul class="submenu is-accordion-submenu" data-submenu="" role="tabpanel"><li class="is-accordion-submenu-parent is-submenu-item is-accordion-submenu-item" role="menuitem"><a href="/research-model">Model Research</a>'+outputMobile+'</li></ul>').foundation(); Foundation.reInit($('.dropdown')); Foundation.reInit($('#offCanvasLeft > ul.vertical')); if($(".modelListItem ul li").length > 10) { $(".researchUL").removeAttr("style"); $(".researchUL").css("width","568px"); $(".researchUL li").css("width","50%").css("float","left"); } } } } }); }); </script><style> .carstory-button {margin: 0 auto;} </style> <script> fZONE.ready(function(){ $(".srp.Used .srp-vehicle").each(function(){ var myVin = $(this).find("meta[itemprop='serialNumber']").attr("content"); var myLink = $(this).find(".srp-vehicle-title a").attr("href"); $(this).find(".medium-push-8").append('<div class="carstory-container" data-carstory-vin="'+myVin+'"><a href="'+myLink+'#carstorylocation"><span class="carstory-button carstory-layout-landscape" onClick=\'window.location.href="'+myLink+'"\'></span><span class="sr-only">Check the CarStory</span</a></div>'); }); if($(".srp-vehicle").length > 0) { var script = document.createElement( 'script' ); script.type = 'text/javascript'; script.src = '//widget.carstory.com/v1.0/button.js'; var script1 = document.createElement( 'script' ); script1.innerHTML = 'var cswbntL0ad=setInterval(function(){window.CarStory&&(clearInterval(cswbntL0ad),window.CarStory.buildButtons({noClickButtons:!0,referrer:"fzautomotive"}))},100),cb=function(){var e=document.createElement("link");e.rel="stylesheet",e.href="//widget.carstory.com/v1.0/no-click-button.css";var t=document.getElementsByTagName("head")[0];t.parentNode.insertBefore(e,t)},raf=requestAnimationFrame||mozRequestAnimationFrame||webkitRequestAnimationFrame||msRequestAnimationFrame;raf?raf(cb):window.addEventListener("load",cb);' $("body").append( script ); $("body").append( script1 ); } $(".Used .vdp-tabs").each(function(){ var myVin = window.location.href.split("-").pop(); $(this).after('<div class="inline-report" data-carstory-vin="'+myVin+'" style="height: 100%"></div>'); }); if($(".Used .vdp-tabs").length > 0) { var script = document.createElement( 'script' ); script.type = 'text/javascript'; script.src = '//widget.carstory.com/v1.0/inline.js'; var script1 = document.createElement( 'script' ); script1.innerHTML = "window.CarStoryConfig = {referrer: 'fzautomotive'}" $("body").append( script1 ); $("body").append( script ); } }); </script> <script> fZONE.ready(function(){ var theVIN = $('.vdp-vehicle-details ul.no-bullet li:contains("VIN:")').contents().text(); theVIN = theVIN.replace("VIN: ",""); if(theVIN.length > 17) { $('.vdp-vehicle-details ul.no-bullet li:contains("VIN:")').remove(); $('.vdp-vehicle-details ul.no-bullet li:contains("Stock")').remove(); } $(".srp-vehicle").each(function(){ var thisVIN = $(this).find("span[class='data-label']:contains('VIN:')").parent().text(); thisVIN = thisVIN.replace("VIN: ",""); if(thisVIN.length > 17) { $(this).find("span[class='data-label']:contains('VIN:')").parent().remove(); $(this).find("span:contains('Stock:')").parent().remove(); } }); }); </script><script> fZONE.ready(function(){ $(document).ajaxComplete(function(){ if($(".bestprice textarea").length <= 0) { $(".bestprice input[name='customer_phone']").closest("div").after("<div class='columns bpComment'><label>Comments: <textarea name='comments' width='100%' style='width: 100%; height: 75px;'></textarea></label></div>"); } }); }); fZONE.ready(function(){ $(".bad span.label").text("Poor"); $("button.menu-icon").text("Menu"); setTimeout('fzClarivoy()',3000); //carFaxThanks(); //$(".aa:contains('Dart')").remove(); $("#header-menu ul.dropdown a[href*='http://owners.honda.com/']").each(function(){ var myRecallText = $(this).attr("href"); var myUpdatedText = myRecallText.replace("owners.honda.com/","owners.honda.com/service-"); //$(this).attr("href",myUpdatedText); }); //AutoHook Installation if(typeof autohookClient !== 'undefined') { // SRP FOOTER if($(".srp").length > 0) { var getUrlParameter = function getUrlParameter(sParam) { var sPageURL = decodeURIComponent(window.location.search.substring(1)), sURLVariables = sPageURL.split('&'), sParameterName, i; for (i = 0; i < sURLVariables.length; i++) { sParameterName = sURLVariables[i].split('='); if (sParameterName[0] === sParam) { return sParameterName[1] === undefined ? true : sParameterName[1]; } } }; myType = getUrlParameter('type'); myYear = getUrlParameter('year'); myMake = getUrlParameter('make'); myModel = getUrlParameter('model'); if(typeof myType == 'undefined'){myType = '';myType = myType.toString();} if(typeof myYear == 'undefined'){myYear = '';myYear = myYear.toString();} if(typeof myMake == 'undefined'){myMake = '';myMake = myMake.toString();} if(typeof myModel == 'undefined'){myModel = '';myModel = myModel.toString();} if (myType == '') { if (window.location.href.indexOf("new-") > -1) { myType = "new"; } else if (window.location.href.indexOf("used-") > -1) { myType = "used"; } } var hl_protocol = (("https:" == document.location.protocol) ? "https://" : "http://"); var hl_script = document.createElement("script"); hl_script.src = hl_protocol + 'www.incentivesnetwork.net/Delivery/ClientPaths/'+autohookClient+'/Delivery.aspx?SiteID='+autohookSiteID+'&PgID='+myType+'_inventory&year='+myYear+'&make='+myMake+'&model='+myModel; //console.log(hl_script.src); hl_script.type = 'text/javascript'; hl_script.id = "HL_ScriptCall"; document.getElementsByTagName('head')[0].appendChild(hl_script); } // VDP FOOTER if($(".vdp").length > 0) { if(window.location.href.indexOf("details") > -1) { if($(".vdp").hasClass("New")) { var curType = "new"; } else { var curType = "used"; } curName = $.trim($(".vehicle-title h1").text()); curName = curName.split(" "); curYear = curName[1]; curMake = curName[2]; curModel = curName[3]; curDaysOnLot = $(".daysonlot").text(); if(typeof curType == 'undefined'){curType = ''; curType = curType.toString();} if(typeof curYear == 'undefined'){curYear = ''; curYear = curYear.toString();} if(typeof curMake == 'undefined'){curMake = ''; curMake = curMake.toString();} if(typeof curModel == 'undefined'){curModel = ''; curModel = curModel.toString();} } var hl_protocol = (("https:" == document.location.protocol) ? "https://" : "http://"); var hl_script = document.createElement("script"); hl_script.src = hl_protocol + 'www.incentivesnetwork.net/Delivery/ClientPaths/'+autohookClient+'/Delivery.aspx?SiteID='+autohookSiteID+'&PgID='+curType+'_details&year='+curYear+'&make='+curMake+'&model='+curModel+'&daysonlot='+curDaysOnLot; //console.log(hl_script.src); hl_script.type = 'text/javascript'; hl_script.id = "HL_ScriptCall"; document.getElementsByTagName('head')[0].appendChild(hl_script); } //Value Your Trade Page if($(".value-your-trade").length > 0) { var hl_protocol = (("https:" == document.location.protocol) ? "https://" : "http://"); var hl_script = document.createElement("script"); hl_script.src = hl_protocol + 'www.incentivesnetwork.net/Delivery/ClientPaths/'+autohookClient+'/Delivery.aspx?SiteID='+autohookSiteID+'&PgID=value_your_trade'; //console.log(hl_script.src); hl_script.type = 'text/javascript'; hl_script.id = "HL_ScriptCall"; document.getElementsByTagName('head')[0].appendChild(hl_script); } //Sell Your Car Page if($(".sell-your-car").length > 0) { var hl_protocol = (("https:" == document.location.protocol) ? "https://" : "http://"); var hl_script = document.createElement("script"); hl_script.src = hl_protocol + 'www.incentivesnetwork.net/Delivery/ClientPaths/'+autohookClient+'/Delivery.aspx?SiteID='+autohookSiteID+'&PgID=sell_your_car'; //console.log(hl_script.src); hl_script.type = 'text/javascript'; hl_script.id = "HL_ScriptCall"; document.getElementsByTagName('head')[0].appendChild(hl_script); } } }); function fzClarivoy() { if(typeof $.cookie !== 'undefined') { if(typeof $.cookie('_td') !== 'undefined') { $("form").append("<input name='clarivoy_id' type='hidden' value='"+$.cookie('_td')+"'>"); } } } function carFaxThanks() { if(typeof carFaxSwap === 'undefined') { $("a[href*='DisplayHistory']").each(function(){ var thisCarFaxLink = $(this).attr('href'); var thisCarFaxVIN = thisCarFaxLink.split("VIN="); thisCarFaxVIN = thisCarFaxVIN[1]; $(this).attr('href','/get-carfax?vin='+thisCarFaxVIN); $(this).removeAttr('target'); }); if(window.location.pathname == '/thank-you' && window.location.search.indexOf("CARFAX") !== -1 && window.location.search.split("vin=").length > 1) { var myVIN = window.location.search.split("vin="); myVIN = myVIN[1]; $("h1:contains('Thank')").closest(".columns").html('<span style="font-size: 1.875rem;">Thank you</span><p>Your form has been submitted successfully. Use the button below to download your CARFAX report.</p><p><a class="button large" href="https://www.carfax.com/VehicleHistory/p/Report.cfx?vin='+myVIN+'&partner=WDB_0" target="_blank">Download CARFAX Report</a></p>'); } } } /*start: node service for vehicle count: 2019-10-07 Global Update*/ function getViewCountSrp(site_id, vin) { return function() { let key = "kmsSecretKey"; let url = "https://aurora.fzinternal.com/count/" + site_id + "/" + vin fetch(url, { method: "GET", headers: { "FZA-Api-Key": "kmsSecretKey" } }).then(function(response) { return response.json(); }).then(function(myJson) { document.getElementById("data-" + vin).querySelector(".countSrp").innerHTML = myJson['count'] }); } } function getViewCountVdp(site_id, vin) { let key = "kmsSecretKey"; let url = "https://aurora.fzinternal.com/count/" + site_id + "/" + vin fetch(url, { method: "GET", headers: { "FZA-Api-Key": "kmsSecretKey" } }).then(function(response) { return response.json(); }).then(function(myJson) { document.querySelector(".countVdp").innerHTML = myJson['count'] }); } function getSrpVins() { let srp_vins_array = []; if (document.getElementsByClassName('srp-vehicle').length > 0) { let fz_srp_rows = document.getElementsByClassName('srp-vehicle'); let fz_srp_rows_count = fz_srp_rows.length; for (let i = 0; i < fz_srp_rows_count; i++) { let cur_row = fz_srp_rows[i]; let cur_meta_tags = cur_row.getElementsByTagName('meta'); let cur_meta_tags_count = cur_meta_tags.length; for (let j = 0; j < cur_meta_tags_count; j++) { if (cur_meta_tags[j].hasAttribute('itemprop') && cur_meta_tags[j].getAttribute('itemprop') == 'serialNumber') { srp_vins_array.push(cur_meta_tags[j].getAttribute('content')) break; } } } } return srp_vins_array; } if (document.getElementsByClassName('countVdp').length != 0) { let vinVdp = document.getElementsByClassName('vehicle')[0].getAttribute("id") getViewCountVdp('528', vinVdp) } let funcs = []; if (document.getElementsByClassName('countSrp').length != 0) { let arr = getSrpVins(); for (let j = 0; j < arr.length; j++) { funcs[j] = getViewCountSrp('528', arr[j]) } for (let j = 0; j < arr.length; j++) { funcs[j](); } } /*end: node service for vehicle count: 2019-10-07 Global Update*/ fZONE.ready(function(){ //logo image script $('<a href="https://www.fzautomotive.com/" target="_blank"><img alt="FusionZone Logo" src="https://static.fzinternal.com/dealers/5adfa5adddec3.png"></a>').prependTo('div.copyright-fzauto'); //company name change from inc. to LLC. $('.footer .copyright .row .columns.copyright-fzauto.text-center div:contains("© 2018 fusionZONE Automotive, Inc.")').text('© 2018 fusionZONE Automotive, LLC.'); //Send to my Phone Disclaimer CASE 198288 if($(".bestprice h1").is(":contains('Send')")){ $(".bestprice").append("<hr><p>By submitting your request, you consent to be contacted at the phone number you provided - which may include autodials, text messages and/or pre-recorded calls. By subscribing to receive recurring SMS offers, you consent to receive text messages sent through an automatic telephone dialing system, and message and data rates may apply. This consent is not a condition of purchase. You may opt out at any time by replying STOP to a text message, or calling (888) 576-1136 to have your telephone number removed from our system.</p>"); } if($(".sendbytext h1").is(":contains('Send')")){ $(".sendbytext").append("<hr><p>By submitting your request, you consent to be contacted at the phone number you provided - which may include autodials, text messages and/or pre-recorded calls. By subscribing to receive recurring SMS offers, you consent to receive text messages sent through an automatic telephone dialing system, and message and data rates may apply. This consent is not a condition of purchase. You may opt out at any time by replying STOP to a text message, or calling (888) 576-1136 to have your telephone number removed from our system.</p>"); } //EDWIN USED CAR COUPE BODY CHANGE $("img[src='https://static.fzinternal.com/dealers/5a1356b5081a0.png']").attr("src", "https://static.fzinternal.com/dealers/5b92a991c311d.png").css({"height":"207px","width":"298px"}); //CHROME 69 PICK A MODEL TEMP FIX //$(".buttons h2").hide(); //$('<h2 class="no-span" style="margin-top: 30px; text-align: center; color: #444;">Pick A Type</h2>').insertBefore(".buttons"); /*Hide Views 2018-12-18 Global Update*/ $("div.vdp-vehicle-details div.text-center span.label.expand:contains(Views)").hide(); }); </script><script> // Mobile Menu Structure document.getElementById("offCanvasLeft").classList.remove('off-canvas'); document.getElementById("offCanvasLeft").classList.add('mobile-nav'); document.getElementById("offCanvasLeft").removeAttribute('data-off-canvas'); document.getElementById("offCanvasLeft").setAttribute('id', 'mobile-nav'); // Mobile Menu function toggleMenu() { var navButton = document.querySelector('.hamburger-nav'); var navMask = document.getElementById('header-mask'); navButton.onclick = function() { document.body.classList.toggle('menu-active'); } navMask.onclick = function() { document.body.classList.toggle('menu-active'); } } toggleMenu(); </script> <script type="text/javascript"> fZONE.ready(function(){ (function(){var gtConstEvalStartTime = new Date();function d(b){var a=document.getElementsByTagName("head")[0];a||(a=document.body.parentNode.appendChild(document.createElement("head")));a.appendChild(b)}function _loadJs(b){var a=document.createElement("script");a.type="text/javascript";a.charset="UTF-8";a.src=b;d(a)}function _loadCss(b){var a=document.createElement("link");a.type="text/css";a.rel="stylesheet";a.charset="UTF-8";a.href=b;d(a)}function _isNS(b){b=b.split(".");for(var a=window,c=0;c<b.length;++c)if(!(a=a[b[c]]))return!1;return!0} function _setupNS(b){b=b.split(".");for(var a=window,c=0;c<b.length;++c)a.hasOwnProperty?a.hasOwnProperty(b[c])?a=a[b[c]]:a=a[b[c]]={}:a=a[b[c]]||(a[b[c]]={});return a}window.addEventListener&&"undefined"==typeof document.readyState&&window.addEventListener("DOMContentLoaded",function(){document.readyState="complete"},!1); if (_isNS('google.translate.Element')){return}(function(){var c=_setupNS('google.translate._const');c._cest = gtConstEvalStartTime;gtConstEvalStartTime = undefined;c._cl='en';c._cuc='googleTranslateElementInit';c._cac='';c._cam='';c._ctkk=eval('((function(){var a=4176005607;var b=-2491067801;return 414785+\x27.\x27+(a+b)})())');var h='translate.googleapis.com';var s=(true?'https':window.location.protocol=='https:'?'https':'http')+'://';var b=s+h;c._pah=h;c._pas=s;c._pbi=b+'/translate_static/img/te_bk.gif';c._pci=b+'/translate_static/img/te_ctrl3.gif';c._pli=b+'/translate_static/img/loading.gif';c._plla=h+'/translate_a/l';c._pmi=b+'/translate_static/img/mini_google.png';c._ps=b+'/translate_static/css/translateelement.css';c._puh='translate.google.com';/*_loadCss(c._ps);*/_loadJs(b+'/translate_static/js/element/main.js');})();})(); }); function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'es,en', layout: google.translate.TranslateElement}, 'google_translate_element'); } </script> <!-- <script defer src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit" type="text/javascript"></script> --> <script type="text/javascript"> var lang = ""; var language = ""; function triggerHtmlEvent(element, eventName) { var event; if(document.createEvent) { event = document.createEvent('HTMLEvents'); event.initEvent(eventName, true, true); element.dispatchEvent(event); //console.log("IE"); } else { event = document.createEventObject(); event.eventType = eventName; element.fireEvent('on' + event.eventType, event); //console.log("other"); } } fZONE.ready(function(){ $('.translation-links a').click(function(e) { e.preventDefault(); lang = $(this).data('lang'); // console.log("selectd lang: "+lang); $("iframe.goog-te-banner-frame.skiptranslate").css("visibility","hidden"); $("body").css("top","0px","important"); $('#google_translate_element select option').delay(200).each(function(){ if($(this).text().indexOf(lang) > -1) { language = $(this).val(); $(this).parent().val($(this).val()); var mobj = $(this).parent().val($(this).val()); /* var output = ''; for (var property in mobj) { output += property + ': ' + mobj[property]+'; '; } console.log( output); */ var container = document.getElementById('google_translate_element'); var select = container.getElementsByTagName('select')[0]; triggerHtmlEvent(select, 'change'); if($("select.goog-te-combo option:selected").val() == ''){ lang = ""; $('#google_translate_element select option').delay(200).each(function(){ if($(this).text().indexOf(lang) > -1) { language = $(this).val(); $(this).parent().val($(this).val()); container = document.getElementById('google_translate_element'); select = container.getElementsByTagName('select')[0]; triggerHtmlEvent(select, 'change'); $(this).parent().val('es'); select = container.getElementsByTagName('select')[0]; //setTimeout(function(){ triggerHtmlEvent(select, 'change'); }, 500); $(".spanish").trigger("click"); } }); } $("iframe.goog-te-banner-frame.skiptranslate").css("visibility","hidden"); $("body").css("top","0px","important"); if(language == "es"){ triggerHtmlEvent(select, 'change'); $("body").css("top","0px","important"); //console.log("El lenguage es: "+language); $(".English").css("display","block"); $(".spanish").css("display","none"); } if(language == "en"){ //interchange best price button and banners back to specific English $(".spanish").css("display","block"); $(".English").css("display","none"); // console.log("The language is: "+language); } } }); }); }); </script> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KVRN95" height="0" width="0" style="display:none;visibility:hidden"> Privacy Policy: This site deploys cookies and similar tracking technologies to build profiles, serve ads, and personalize your experience across websites. By pressing accept, you consent to the use of such cookies. To view the categories of personal information we collect and the purposes for which the information is used, or to exercise your rights under the California Consumer Privacy Act (CCPA), click here. Note that while we do not sell personal information for monetary value, we disclose personal information to third parties, such as vehicle manufacturers, in such a way that may be considered a "sale" of personal information under the CCPA. To direct us to stop the sale of your personal information, or to re-access these settings or disclosures at anytime, click the following icon or link: Do Not Sell My Personal Information Powered by ComplyAuto Accept and Continue ➞ California Privacy Disclosures Language: English Spanish / Español Korean / 한국어 Vietnamese / Tiếng Việt Nam Tagalog / Filipino Chinese / 中文 Live Chat TEXT US