1<!DOCTYPE html> 2<html lang="en-US"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <title> Dealer Carlisle PA New & Used Cars for Sale - Platinum Central Pennsylvania</title> 6 <link rel="shortcut icon" type="image/png" href="https://dealerimages.dealereprocess.com/image/upload/w_48/4035321.png" /> 7 8 <meta name="keywords" content="Platinum Central Pennsylvania Carlisle Pennsylvania new used car dealer PA near Mechanicsburg Harrisburg Dillsburg Camp Hill where is best preowned vehicles near me auto repair service maintenance parts find car truck Suv van finance lease specials reviews preapproved tires battery brakes oil change coupon" /> 9<meta name="description" content="Platinum Central Pennsylvania in Carlisle, PA offers new and used cars, trucks, and SUVs to our customers. Visit us for sales, financing, service, and parts!" /> 10<meta name="google-site-verification" content="no5L23LLtjN1kGjgvcMh05EsgcV7QlVRKnXHD37caIU" /> 11<meta name="msvalidate.01" content="A7DB068DD6FFA56D8B44F19FA183EA4E" /><meta name="page-category" content="home" /> 12<meta name="viewport" content="width=device-width, initial-scale=1" > 13<link rel="canonical" href="https://www.creditpa.com/" /> 14<meta name="referrer" content="strict-origin-when-cross-origin" />
15<script type="text/javascript" src="https://cdn.dealereprocess.org/cdn/js/require/dep.require.2.1.17.js"></script>
vendor: 1 bytes, line 15
15
16<script type="text/javascript"> 17'use strict'; 18dep_require.require.onError=function(e){};dep_require.require.config({"baseUrl":"//cdn.dealereprocess.org/cdn/js","paths":{"advanced-search-tags":"search/advancedsearchtags.min.js?d=20230206","asc-event-subscriber":"subscriber/asc-event-subscriber.min.js?d=20260928","HotSpotDepProvider":"hotspots/HotSpotDepProvider.min.js?d=20230206","DataCollection":"dashboard/heatmap/DataCollection.min.js?d=20230206","dep-error":"utilities/dep_error.min.js?20220131","everest_vehicle_item":"search/everest_vehicle_item.min.js?d=20260526","HeatmapFilter":"dashboard/heatmap/HeatmapFilter.min.js?d=20230206","HighchartsHelper":"dashboard/HighchartsHelper.min.js?d=20230206","TableBuilder":"dashboard/heatmap/TableBuilder.min.js?d=20230206","GoogleHeatmapHelper":"dashboard/heatmap/GoogleHeatmapHelper.min.js?d=20230206","OptionBuilder":"dashboard/heatmap/OptionBuilder.min.js?d=20230206","HotSpotService":"hotspots/HotSpotService.min.js?d=20230206","HotSpotImageGalleryBuilder":"hotspots/HotSpotImageGalleryBuilder.min.js?d=20250424","HotSpotVdpPreviewBuilder":"hotspots/HotSpotVdpPreviewBuilder.min.js?d=20250424","HotSpotVdpGalleryBuilder":"hotspots/HotSpotVdpGalleryBuilder.min.js?d=20230206","activitylog":"activitylog.min.js?d=20230206","adfinder":"dashboard/media/adfinder.min.js?d=20230206","breadcrumb_viewbuilder":"search/breadcrumb_viewbuilder.min.js?d=20250828","broadcasting_slideshow":"broadcasting_slideshow.min.js?d=20230206","bPopup":"bpopup/bpopup.min.js?d=20230206","cloudinary-core":"jquery.cloudinary-2016223.min.js?d=20250417","compare_flex":"search/compare_flex.min.js?d=20231106","color":"color.min.js?d=20230206","cookies":"cookies.min.js?d=20230206","cookie":"cookie.min","currentinventory_scroller":"currentinventory_scroller.min.js?d=20230206","customlenders":"dashboard/customlenders/customlenders.js?d=20230825","customerprofile":"customer/customerprofile.min.js?d=20240423","customvdp":"customvdp.js?d=20220112v2","customcontent":"customcontent.min.js?d=20251007","cpe-event-subscriber":"subscriber/cpe-event-subscriber.min.js?d=20230612","csv-builder":"dashboard/utility/csv-builder.min.js?d=20230206","DashModal":"dashboard/DashModal.min.js?d=20230206","digital_retailing_app":"dist/digitalRetailingAppIndex.bundle.js?d=20261001v3","dep-event-publisher":"publisher/dep-event-publisher.min.js?d=20230206","dep-event-subscriber":"subscriber/dep-event-subscriber.min.js?d=20241017","dep-messenger":"messenger/dep-messenger.min.js?d=20230206","depImageGallery":"vehicle/depimagegallery.min.js?d=20250828","depImageGalleryPopUp":"vehicle/depimagegallerypopup.min.js?d=20260526","depStickyDiv":"vehicle/depstickydiv.min.js?d=20230206","disclaimer_popup":"disclaimer_popup/disclaimer_popup.min.js?d=20240521","disclaimer_replacement":"disclaimer_replacement.min.js?d=20260911","DriveCentive":"drivecentive/drivecentive.min.js?d=20260828","echo":"dashboard/media/echo.min.js?d=20230206","EmailManager":"gearbox/lead/email-manager.min.js?d=20230206","FancySelect":"dashboard/FancySelect.min.js?d=20230206","filter_search":"search/filter_search.min.js?d=20260908","advanced_search_options":"search/advanced_search_options.min.js?d=20260831","srp_filters_ajax":"search/srp_filters_ajax.min.js?d=20261001","srp_filter_engine":"search/srp_filter_engine.min.js?d=20260918","srp_results_refresh":"search/srp_results_refresh.min.js?d=20260929","fileuploader":"fileuploader.min","flickFusionJs":"//media.flickfusion.net/widget/dep_rickfusion.min.js?d=20230206","flipper":"flipper.min.js?d=20230630","flyout":"flyoutcontroller.min.js?d=20230206","form":"form.min.js?d=20230206","GearboxAlert":"gearbox/alert-notification.min.js?d=20230206","highcharts":"highcharts/highcharts.min","highcharts-new":"highcharts/new_highcharts.min","holland_byc":"holland/byc.min.js?d=20230206","html":"html.js?d=20250828","http_utility":"http_utility.min.js?d=20230206","imgfinder":"dashboard/media/imgfinder.min.js?d=20230825v2","inline_ad_listing":"search/inline_ad_listing.min.js?d=20250428","ispy":"ispy/ispy.min.js?d=20260515","izmophotomanager/app":"izmophotomanager/app.min.js?d=20230206","izmophotomanager/services/shared-data":"izmophotomanager/Services/sharedData.min.js?d=20230206","izmophotomanager/search/controller":"izmophotomanager/Search/mainController.min.js?d=20230206","izmophotomanager/edit/controller":"izmophotomanager/Edit/mainController.min.js?d=20230206","izmophotomanager/edit/pushlogcontroller":"izmophotomanager/Edit/pushLogController.min.js?d=20230206","izmophotomanager/edit/viewimagescontroller":"izmophotomanager/Edit/viewImagesController.min.js?d=20230206","izmophotomanager/edit/viewdiskpathsController":"izmophotomanager/Edit/viewDiskPathsController.min.js?d=20230206","izmophotomanager/edit/uploaddepimagecontroller":"izmophotomanager/Edit/uploadDepImageController.min.js?d=20230206","izmophotomanager/edit/managedepimagescontroller":"izmophotomanager/Edit/manageDepImagesController.min.js?d=20230206","izmophotomanager/edit/adddeppathcontroller":"izmophotomanager/Edit/addDepPathController.min.js?d=20230206","izmophotomanager/edit/tiedeppathcontroller":"izmophotomanager/Edit/tieDepPathController.min.js?d=20230206","izmophotomanager/maintenance/controller":"izmophotomanager/Maintenance/mainController.min.js?d=20230206","jscolor":"jscolor","lead_log_smart_search":"gearbox/lead/smart-search.min.js?d=20230206","leads_resend":"dashboard/leads/leads_resend.min.js?d=20230206","lead-remove":"dashboard/leads/lead_remove.min.js?d=20230206","include_clickpath":"dashboard/leads/include_clickpath.min.js?d=20230206","live_edit":"live_edit.js?d=20230914","LogManager":"gearbox/lead/log-manager.min.js?d=20230206","loopslider":"loopslider.min.js?d=20260715","ferrari_loopslider":"ferrari_loopslider.min.js?d=20260715","master":"master.min.js?d=20260513","MaxCharWarning":"dashboard/MaxCharWarning.min.js?d=20230206","media":"media.min.js?d=20230206","media_ext":"media_ext.min.js?d=20230206","media_img":"media_img.min.js?d=20230206","media_img_cropper":"media_img_cropper.min.js?d=20230206","megamenu_elementbuilder":"megamenu/megamenu_interface_elementbuilder-16317.min.js?d=20241008","megamenu_eventhandler":"megamenu/megamenu_interface_eventhandler-16317.min.js?d=20260428","megamenu_interface":"megamenu/megamenu_interface-16312.min.js?d=20250722","megamenu_mobile":"megamenu/megamenu_mobile.min.js?d=20260615","megamenu_mobile_side":"megamenu/megamenu_mobile_side.min.js?d=20260615","megamenu_setup":"megamenu/megamenu_setup_interface.min.js?d=20230206","modal_filter":"search/modal_filter.min.js?d=20250318","ModalUrlManager":"modal/modal-url-manager.min.js?d=20260828","modal_form":"modal_form.min.js?d=20230206","modal_form_responsive":"modal_form_responsive.min.js?d=20230206","modal-iframe":"modal-iframe.min.js?d=20230206","modal_overlay":"modal/modal_overlay.min.js?d=20250416","model_scroller":"modelscroller/modelscroller.min.js?d=20250617","modernizr":"mobile/libs/modernizr-custom","multithreesixty":"threesixty/multithreesixty.min.js?d=20230206","navigationHandler":"megamenu/navigation-handler.min.js?d=20260529","notifications":"dashboard/notifications.min.js?d=20230206","PageCodesEditor":"dashboard/pagecodes/pagecodeseditor.min.js?d=20230206","paycalc":"paycalc.min.js?d=20230206","priceAlert":"pricealert/pricealert.min.js?d=20260610","offermanager":"dashboard/offermanager/offermanager.js?d=20260904","pricemanager":"dashboard/pricemanager/pricemanager.js?d=20260924","priceinterface_eventhandler":"pricingruleinterface_eventhandler.js?d=20220112v2","priceinterface_manager":"pricingruleinterface_manager.js?d=20220318v2","priceinterface_rule":"pricingruleinterface.js?d=20220112v2","priceinterface_share":"pricingruleinterface_share","priceinterface_types":"pricingtypesinterface.min.js?d=20230206","price_unlock":"price_unlock.min.js?20260223","promo_banner":"promo_banner/promo_banner.min.js?d=20250225","ratemanager":"dashboard/ratemanager/ratemanager.js?d=20250102","reactvendors":"dist/reactvendors.bundle.js?d=20241118","rjsfvendors":"dist/rjsfvendors.bundle.js?d=20240130","ReferencialSticker":"referencialsticker.min.js?d=20230206","removedealer":"removedealer.min.js?d=20230206","respond":"mobile/libs/respond.min","richtext":"richtext.min","scroller":"scroller.min.js?d=20260410","search-results":"search/results.min.js?d=20230206","searchurlbuilder":"search/searchurlbuilder.min.js?d=20260924","seo_cities":"seo_cities/config.min.js?d=20230206","showroom":"showroom/byc-showroom.min.js?d=20230206","slideshow":"slideshow.min.js?d=20230630","smart-search":"smart-search-new_alt_2.min.js?d=20230206","sticky":"sticky.min.js?d=20250828","tag_search":"dist/tagSearchIndex.bundle.js?d=20240130","tagging_library":"tagging/tagging.require.min.js?d=20241112","textsearchparser":"search/textsearchparser.min.js?d=20260828","textsearchcontroller":"search/textsearchcontroller.min.js?d=20260804","textsearchinput"
18:"search/textsearchinput.min.js?d=20260818","to_top_mobile_button":"navigation/to_top_mobile_button.min.js?d=20230127","ua-event-subscriber":"subscriber/ua-event-subscriber.js?d=20220831","ThirdPartyEvents":"thirdpartyevents.min.js?d=20230206","tinymce":"tiny_mce/tiny_mce.js?d=20220112v2","tinymce_lang_en":"tiny_mce/langs/en","vehicle-filter":"dashboard/utility/vehicle_filter.js?d=20220112v2","VehicleImageScroller":"vehicle/vehicleimagescroller.min.js?d=20230206","centuryinteractive":"calltracking/centuryinteractive.min.js?d=20230206","hours-scroller":"hours-scroller.min.js?d=20230206","coupon-stats":"coupon_stats.min.js?d=20230206","coupon":"coupon.min.js?d=20230206","call-tracking-config":"calltracking/config.min.js?d=20230206","form-table-input":"form-table-input.min.js?d=20230206","waypoints":"waypoints.min.js?d=20230206","vehicleloopslidergallery":"vehicle/vehicleloopslidergallery.min.js?d=20260914","ferrariloopslidergallery":"vehicle/ferrariloopslidergallery.min.js?d=20260219","vehicle_views_service":"vehicle/stats/vehicleviewsservice.min.js?d=20250924","vehiclegallery":"vehicle/gallery.min.js?d=20260202","vehiclezoom":"vehicle/zoom.min.js?d=20260421","youtube-iframe-subscriber":"video/youtube-iframe-subscriber.min.js?d=20260330","video-player-subscriber":"video/video-player-subscriber.min.js?d=20260417","z_index":"z_index.min.js?d=20250828","async":"lib/async","bootstrap":"lib/bootstrap.min","bootstrap-datetimepicker":"lib/bootstrap-datetimepicker.min.js?d=20230206","js_diff":"lib/jsdiff","moment":"lib/moment.min.js?d=20230206","moment-timezone":"lib/moment-timezone-with-data-2010-2020.min.js?d=20230206","pannellum":"https://cdn.jsdelivr.net/npm/[email protected]/build/pannellum","semantic-ui":"lib/semantic-ui.min","underscore":"lib/underscore","wiked_diff":"lib/wiked_diff","vrview":"vrview/build/vrview.min.js?d=20230206","recorder":"//cdnjs.cloudflare.com/ajax/libs/recorderjs/0.1.0/recorder","threesixty":"threesixty/threesixty.min.js?d=20230206","element_position":"element_position.min.js?d=20230206","infinite-scroll":"infinite-scroll.min.js?d=20260930","PhotoSphereViewer":"psv/PhotoSphereViewer.min.js?d=20230206","dot/doT":"psv/doT.min.js?d=20230206","uevent":"psv/uevent.min.js?d=20230206","three":"psv/three.min.js?d=20230206","jquery":["//cdnjs.cloudflare.com/ajax/libs/jquery/1.7.2/jquery.min","//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min","lib/jquery"],"jquery.actual":["jquery.actual.min.js?d=20230206"],"jquery.counterup":"jquery.counterup.min","jquery.jcrop":"jquery.jcrop.min","jquery.popunder":"popunder/jquery.popunder.min","jquery.tablesorter":"lib/jquery.tablesorter","jquery.tablesorter.widgets":"jquery.tablesorter.widgets.min","jquery.throttle":"lib/jquery-throttle","jquery.tn3gallery":"tn3gallery/js/jquery.tn3lite.min","jquery-ui":["//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min","//code.jquery.com/ui/1.8.16/jquery-ui.min","lib/jquery-ui"],"addthis":"//s7.addthis.com/js/250/addthis_widget","angular-animate":"//code.angularjs.org/1.4.7/angular-animate.min","angular-aria":"//code.angularjs.org/1.4.7/angular-aria.min","angular-material":"//ajax.googleapis.com/ajax/libs/angular_material/0.11.2/angular-material.min","angular-resource":"//code.angularjs.org/1.4.7/angular-resource.min","angular-route":"//code.angularjs.org/1.4.7/angular-route.min","angular":"//code.angularjs.org/1.4.7/angular.min","datatables-fixedcolumns":"https://cdn.datatables.net/fixedcolumns/3.2.6/js/dataTables.fixedColumns","datatables.bootstrap":"https://cdn.datatables.net/1.10.18/js/dataTables.bootstrap.min","datatables.net-buttons":"https://cdn.datatables.net/buttons/1.5.2/js/dataTables.buttons.min","datatables.net":"https://cdn.datatables.net/1.10.13/js/jquery.dataTables.min","Draggable":"https://cdn.jsdelivr.net/npm/@shopify/[email protected]/lib/draggable.bundle.legacy","googleanalytics":"//www.google-analytics.com/analytics","html-buttons":"https://cdn.datatables.net/buttons/1.5.2/js/buttons.html5.min","plusone":"//apis.google.com/js/plusone","select2-full":"//cdnjs.cloudflare.com/ajax/libs/select2/4.0.12/js/select2.full.min","select2":"//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/select2.min","simplemde":"https://cdn.jsdelivr.net/simplemde/latest/simplemde.min","tippy":"https://unpkg.com/[email protected]/dist/tippy.all.min","toyota_tdds_dev":"https://staging.toyota.com/analytics/TDDS_dealers_s_code","toyota_tdds_prod":"https://www.toyota.com/analytics/TDDS_dealers_s_code","digital-garage":"digital_garage/digital_garage.min.js?d=20240226","dg-loader":"//cdn.dg.toyota.com/deploy/dg-loader/latest/dg-loader-app.min","ws-app":"//cdn.dg.toyota.com/deploy/websocket-library/1.0/ws-app.min","dg-app":"//cdn.dg.toyota.com/deploy/dg-library/1.0/deploy/dg-app.min","dg-component-main-toyota":"//cdn.dg.toyota.com/deploy/dg-components/1.0/deploy/dg-component-main.min","dg-component-main-lexus":"//cdn.dg.toyota.com/deploy/dg-components/1.0/deploy/dg-component-main-lexus.min","dg-inline-saves-toyota":"//cdn.dg.toyota.com/deploy/dg-components/1.0/deploy/dg-inline-saves-toyota.min","dg-inline-saves-lexus":"//cdn.dg.toyota.com/deploy/dg-components/1.0/deploy/dg-inline-saves-lexus.min","dg-nav-menu-toyota":"//cdn.dg.toyota.com/deploy/dg-components/1.0/deploy/dg-nav-menu.min","dg-nav-menu-lexus":"//cdn.dg.toyota.com/deploy/dg-components/1.0/deploy/dg-nav-menu-lexus.min","dg-spas-main":"//cdn.dg.toyota.com/deploy/dg-pages/1-0/dg-spas-main.min","dg-loader-dev":"//cdn.stage.dg.toyota.com/deploy/dg-loader/1.0/dg-loader-app.min","ws-app-dev":"//cdn.stage.dg.toyota.com/deploy/websocket-library/1.0/ws-app.min","dg-app-dev":"//cdn.stage.dg.toyota.com/deploy/dg-library/1.0/deploy/dg-app.min","dg-component-main-toyota-dev":"//cdn.stage.dg.toyota.com/deploy/dg-components/1.0/deploy/dg-component-main.min","dg-component-main-lexus-dev":"//cdn.stage.dg.toyota.com/deploy/dg-components/1.0/deploy/dg-component-main-lexus.min","dg-inline-saves-toyota-dev":"//cdn.stage.dg.toyota.com/deploy/dg-components/1.0/deploy/dg-inline-saves-toyota.min","dg-inline-saves-lexus-dev":"//cdn.stage.dg.toyota.com/deploy/dg-components/1.0/deploy/dg-inline-saves-lexus.min","dg-nav-menu-toyota-dev":"//cdn.stage.dg.toyota.com/deploy/dg-components/1.0/deploy/dg-nav-menu.min","dg-nav-menu-lexus-dev":"//cdn.stage.dg.toyota.com/deploy/dg-components/1.0/deploy/dg-nav-menu-lexus.min","dg-spas-main-dev":"//cdn.stage.dg.toyota.com/deploy/dg-pages/1-0/dg-spas-main.min","dep-app-events":"tagging_events/dep-app-events.min.js?d=20260610","dep-chat-events":"tagging_events/dep-chat-events.min.js?d=20260818","dep-form-events":"tagging_events/dep-form-events.min.js?d=20230206","genesis-google-subscriber":"oem_tagging/genesis-google-tagging.min.js?d=20260701","honda-google-app-subscriber":"oem_tagging/honda-google-app-subscriber.min.js?d=20250516","honda-facebook-pixel-subscriber":"oem_tagging/honda-facebook-pixel-subscriber.min.js?d=20260706","hyun
18dai-publisher":"oem_tagging/hyundai/publisher.min.js?d=20251212","hyundai-app-subscriber":"oem_tagging/hyundai/app-subscriber.min.js?d=20250424","hyundai-web-subscriber":"oem_tagging/hyundai/web-subscriber.min.js?d=20260630","nissan-critical-mass-subscriber":"oem_tagging/nissan/critical-mass-subscriber.min.js?d=20260626","acura-oem-tagging":"oem_tagging/acura/oem-tagging.min.js?d=20260629","shiftdigital-publisher":"oem_tagging/shiftdigital/publisher.min.js?d=20260925","shiftdigital-app-subscriber":"oem_tagging/shiftdigital/app-subscriber.min.js?d=20260925","shiftdigital-chat-subscriber":"oem_tagging/shiftdigital/chat-subscriber.min.js?d=20260925","shiftdigital-web-subscriber":"oem_tagging/shiftdigital/web-subscriber.min.js?d=20260928","conversion-pixel":"utilities/conversion-pixel.min.js?d=20260623","fordnl-oem-tagging":"oem_tagging/fordnl-oem-tagging.min.js?d=20230206","stellantis-google-subscriber":"oem_tagging/stellantis-google-tagging.min.js?d=20260630","stellantis-oem-tagging":"oem_tagging/stellantis-oem-tagging.min.js?d=20260928","stellantis-oem-demo-tagging":"oem_tagging/stellantis-oem-demo-tagging.min.js?d=20260928"},"shim":{"rjsfvendors":["reactvendors"],"dg-nav-menu-toyota":{"deps":["ws-app","dg-component-main-toyota","dg-inline-saves-toyota"],"exports":"dgCompMain"},"dg-nav-menu-lexus":{"deps":["ws-app","dg-component-main-lexus","dg-inline-saves-lexus"],"exports":"dgCompMain"},"dg-component-main-toyota":{"deps":["ws-app"],"exports":"dgCompMain"},"dg-component-main-lexus":{"deps":["ws-app"],"exports":"dgCompMain"},"dg-inline-saves-toyota":{"deps":["dg-component-main-toyota"],"exports":"dgInlineSave"},"dg-inline-saves-lexus":{"deps":["dg-component-main-lexus"],"exports":"dgInlineSave"},"dg-nav-menu-toyota-dev":{"deps":["ws-app-dev","dg-component-main-toyota-dev","dg-inline-saves-toyota-dev"],"exports":"dgCompMain"},"dg-nav-menu-lexus-dev":{"deps":["ws-app-dev","dg-component-main-lexus-dev","dg-inline-saves-lexus-dev"],"exports":"dgCompMain"},"dg-component-main-toyota-dev":{"deps":["ws-app-dev"],"exports":"dgCompMain"},"dg-component-main-lexus-dev":{"deps":["ws-app-dev"],"exports":"dgCompMain"},"dg-inline-saves-toyota-dev":{"deps":["dg-component-main-toyota-dev"],"exports":"dgInlineSave"},"dg-inline-saves-lexus-dev":{"deps":["dg-component-main-lexus-dev"],"exports":"dgInlineSave"},"angular":{"deps":["jquery"],"exports":"angular"},"PhotoSphereViewer":{"deps":["dot/doT","three","uevent"],"exports":"PhotoSphereViewer"},"angular-animate":["angular"],"angular-aria":["angular"],"angular-route":["angular"],"angular-resource":["angular"],"angular-material":["angular","angular-aria","angular-animate"],"bootstrap":["jquery"],"bootstrap-datetimepicker":["bootstrap","moment"],"cookie":["jquery"],"customvdp":["jquery-ui"],"cycle-all":["jquery"],"html-buttons":["datatables.net-buttons"],"depImageGallery":["jquery","master"],"dep_gallery":["jquery-ui","cycle-all"],"fileuploader":["media_img_cropper","jquery-ui"],"googleanalytics":{"exports":"ga"},"highcharts":{"deps":["jquery-ui"],"exports":"Highcharts"},"highcharts-new":{"deps":["jquery-ui"],"exports":"Highcharts"},"ispy":{"exports":"iSpy"},"jquery.actual":{"deps":["jquery"],"exports":"$"},"jquery.counterup":{"deps":["jquery","waypoints"],"exports":"$"},"jquery.jcrop":["jquery"],"jquery.livequery":["jquery"],"jquery.popunder":["jquery"],"jquery.rotate":["jquery"],"jquery.tablesorter":["jquery"],"jquery.tablesorter.widgets":["jquery.tablesorter"],"jquery.throttle":["jquery"],"jquery.tn3gallery":["jquery"],"jquery-ui":{"deps":["jquery"],"exports":"$"},"jscolor":["jquery"],"modernizr":{"exports":"Modernizr"},"richtext":["jquery","tinymce","media_ext"],"tinymce":["jquery"],"tinymce_lang_en":{"deps":["tinymce"],"exports":"tinyMCE"},"underscore":{"exports":"_"},"vehiclegallery":["jquery.tn3gallery"],"scroller":["jquery"],"semantic-ui":{"deps":["jquery"],"exports":"$"}},"waitSeconds":60});window.dep_require.requirejs.onError = function (err) { 19 console.log('requirejs error: ' + err.requireType + ' modules: ' + err.requireModules); 20 throw err; 21}; 22 window.require = window.dep_require.require; 23 window.requirejs = window.dep_require.requirejs; 24 window.define = window.dep_require.define; 25</script>
25 26
27<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
27<script type="text/javascript"> 28var clickpath_use = true; 29dep_require.require(["master","ispy"]);</script>
vendor: 1 bytes, line 29
29
30<script type="text/javascript">dep_require.require(["priceAlert"], function(priceAlert) { 31 priceAlert.setContent('subscribe', 'You are all set to receive price alerts for this vehicle.'); 32 priceAlert.setContent('optin', 'You are all set to receive price alerts for this vehicle. Please remember to check your email and confirm your interest in receiving price alerts'); 33 priceAlert.setContent('unsubscribe', 'You have successfully unsubscribed to price alerts for this vehicle'); 34 });</script>
34<script type="text/javascript">dep_require.require(["plusone"], function(plusone) {gapi.savetoandroidpay.render();});</script>
34 <link rel="stylesheet" type="text/css" href="//cdn.dealereprocess.org/cdn/css/depmasterresp.min.css?d=20260828" /> 35 <link rel="stylesheet" type="text/css" href="//cdn.dealereprocess.org/cdn/css/media_queries.min.css?d=20260623" /> 36 37<link rel="stylesheet" type="text/css" href="/assets/d4782/css/site.min.css?v=1731603636" /> <style> 38 #content { 39 max-width: 1560px; 40 } 41 </style>
42<script type="text/javascript"> 43var _is_responsive = true; 44var mobile_map_location = false; 45var iSpy_config = {"iSpy_exp":"31536000","session_exp":"900"}; 46var iSpy_identity = false; 47var clickpath_ispy_site_id = "15152"; 48var ajax_hash_req = '27050a3a540614cc5a4501976a3792a5'; 49var subscriber_data = JSON.parse('false'); 50var host_ssl = "secure02.dealereprocess.com"; 51var customer_profile = JSON.parse('[]'); 52 dep_require.require(["jquery", "cloudinary-core"], function($) { 53 $.cloudinary.config({ 54 breakpoints: function (width){ 55 return 100 * Math.ceil(width / 100); 56 }, 57 responsive_use_breakpoints: 'true', 58 responsive_resize: false 59 }); 60 }); 61requirejs.config({ 62 paths: { 63 'navigation': 'navigation.min' } 64}); 65(function(require, define){ 66require(['navigation', 'modal_form']); 67})(window.dep_require ? window.dep_require.require : require, window.dep_require ? window.dep_require.define : define); 68</script>
68 69<!-- Custom Plugins Head Output Start --> 70<!-- Google tag (gtag.js) -->
vendor: 65 bytes, lines 70-71
70 71<script async src="https://www.googletagmanager.com/gtag/js?id=
71AW-16709371783
vendor: 15 bytes, lines 71-72
71"> 72</script>
73<script> 74
vendor: 138 bytes, lines 74-78
74window.dataLayer = window.dataLayer || []; 75 function gtag(){dataLayer.push(arguments);} 76 gtag('js', new Date()); 77 78 gtag('config', '
78AW-16709371783
vendor: 5 bytes, line 78
78');
79</script>
79 80<!-- Custom Plugins Head Output End -->
81<script> 82(function() { 83 // 1. Automation-injected DOM properties (ChromeDriver/Selenium leave these behind) 84 var hasAutomationProps = !!( 85 Object.keys(window).some(function(key) { return /^\$cdc_/.test(key); }) || 86 document.__selenium_unwrapped || 87 document.__webdriver_evaluate || 88 document.__driver_evaluate || 89 document.__webdriver_script_fn || 90 document.__fxdriver_evaluate || 91 document.__driver_unwrapped || 92 document.__fxdriver_unwrapped || 93 document.__selenium_evaluate 94 ); 95 96 // 2. Headless Chrome's default software renderer (no real GPU) 97 var isSwiftShaderRenderer = false; 98 try { 99 var canvas = document.createElement('canvas'); 100 var gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl'); 101 var debugInfo = gl && gl.getExtension('WEBGL_debug_renderer_info'); 102 var renderer = debugInfo && gl.getParameter(debugInfo.UNMASKED_RENDERER_WEBGL); 103 isSwiftShaderRenderer = !!(renderer && /SwiftShader/i.test(renderer)); 104 } catch (e) {} 105 106 // 3. Missing browser chrome (no toolbar/tab bar) - only trusted on non-touch (desktop) contexts 107 var hasNoBrowserChrome = window.outerHeight === 0 || ( 108 navigator.maxTouchPoints === 0 && 109 window.outerWidth > 0 && 110 window.outerWidth - window.innerWidth === 0 && 111 window.outerHeight - window.innerHeight === 0 112 ); 113 114 // 4. webdriver flag leaking into a freshly created iframe's browsing context 115 var hasIframeWebdriver = false; 116 try { 117 var probe = document.createElement('iframe'); 118 probe.style.display = 'none'; 119 document.documentElement.appendChild(probe); 120 hasIframeWebdriver = !!(probe.contentWindow && probe.contentWindow.navigator && probe.contentWindow.navigator.webdriver); 121 probe.parentNode.removeChild(probe); 122 } catch (e) {} 123 124 // 5. Known automation user-agent strings 125 var isAutomationUserAgent = /HeadlessChrome|Puppeteer|Playwright|Selenium/i.test(navigator.userAgent); 126 127 // 6. Detect headless browser footprints (Puppeteer, Playwright, Selenium) 128 var isHeadlessBot = !!( 129 navigator.webdriver || 130 window.callPhantom || 131 window._phantom || 132 window.__nightmare || 133 isAutomationUserAgent || 134 hasAutomationProps || 135 isSwiftShaderRenderer || 136 hasNoBrowserChrome || 137 hasIframeWebdriver 138 ); 139 140 // 7. Detect known AI crawler User-Agents 141 var isAiUserAgent = /ClaudeBot|Claude-SearchBot|Claude-User|Anthropic|GPTBot|OAI-SearchBot|Perplexity/i.test(navigator.userAgent); 142 143 // 8. Expose result for other scripts to consume 144 window.dep_isBot = !!(isHeadlessBot || isAiUserAgent); 145})(); 146</script>
146<script> 147dep_require.require(['dep-event-publisher', 'dep-event-subscriber', 'cookies', 'jquery'], function(depEventPublisher, depEventSubscriber, cookies) { 148 var DealereProcessSubscriber = function() { 149 this.iSpyCookiesLoaded = function (publisher, data) { 150 // build query string 151 var query_str = ''; 152 if (cookies.cookie_get('iSpy_id') === null && cookies.cookie_get('sess_id') === null) { 153 if (cookies.cookie_get('initial_url') !== null) { 154 query_str += '&initial_url=' + cookies.cookie_get('initial_url'); 155 } 156 } 157 158 // check if query string is unique 159 var secure_query_check = cookies.cookie_get('secure_query_check'); 160 161 if (secure_query_check === query_str) { 162 query_str = ''; 163 } 164 165 // output javascript to create secure tracking image 166 if (query_str !== '') { 167 cookies.cookie_set('secure_query_check', query_str, 0.0104167); // 15 minutes 168 169 var sec03_img = new Image(); 170 sec03_img.src = "https://secure02.dealereprocess.com/resrc/clickpath/track/subscriber.gif?site_uuid=15152" + query_str; 171 } 172 } 173 174 this.iSpyUpdatedSecureCookies = function (publisher, data) { 175 if (data.initial_url !== undefined) { 176 var sec03_img = new Image(); 177 sec03_img.src = "https://secure02.dealereprocess.com/resrc/clickpath/track/subscriber.gif?site_uuid=15152&initial_url=" + data.initial_url; 178 } 179 } 180 181 this.documentLoaded = function (publisher, data) { 182 } 183 184 this.appConversion = function (publisher, data) { 185 //check the application 186 if (data.application) { 187 var applications = [ 188 "eautoappraise", 189 "eAuto Appraise", 190 "VCC", 191 "VSC", 192 "eCredit App", 193 "creditconfirm", 194 "credit confirm", 195 "SARA" 196 ]; 197 var clickpath_data; 198 199 if ($.inArray(data.application, applications) > -1) {
200 if (data.lead.ispy_id != null && data.lead.sess_id != null) { 201 if (data.application === 'VCC') { 202 data.lead.id = data.lead.vcc_lead_id; 203 } 204 205 clickpath_data = { 206 iSpy_id: data.lead.ispy_id, 207 sess_id: data.lead.sess_id, 208 current_url: { 209 "category": data.application, 210 "url": data.lead.id, 211 "srpvdp": data.lead.pagetype 212 } 213 }; 214 } 215 } 216 217 if (clickpath_data !== undefined) { 218 //continue clickpath session 219 $.ajax({ 220 type: 'POST', 221 global: false, 222 dataType:'json', 223 data: clickpath_data, 224 url: '/req/private/resrc/clickpath/continueSession/'+ajax_hash_req, 225 success: function(data) { 226 //console.log(data); 227 } 228 }); 229 } 230 } 231 } 232 } 233 234 if (!window.DealereProcessSubscriberInstance) { 235 DealereProcessSubscriber.prototype = new depEventSubscriber(); 236 window.DealereProcessSubscriberInstance = new DealereProcessSubscriber(); 237 //subscribe to 238 window.DealereProcessSubscriberInstance.subscribe(depEventPublisher); 239 } 240}); 241</script>
241 242
243<script> 244 window.dep_data = 'eyJkZXBfc2Vzc2lvbl9pZCI6IjY4NDAxNzU0LWRjODgtYjI0My0xMGQyLTM2NTY3YjI5ZjllMiJ9'; 245</script>
vendor: 1 bytes, line 245
245
246<script type="text/javascript"> 247dep_require.require([ 248 'dep-app-events', 249 'dep-chat-events', 250 'dep-form-events' 251]); 252dep_require.require([ 253 'dep-event-publisher', 254 'jquery' 255], function(depEventPublisher, $) 256{ 257 depEventPublisher.loadPage({"language":["en"],"page_category":["home"],"page_type":["full"],"page_id":["1"],"flag_global":[0],"traffic_type":"direct","site_version":[4],"site_locations":{"16454":{"location_id":"16454","latitude":"40.222034","longitude":"-77.159983","title":"Platinum Central Pennsylvania","address1":"1119 Harrisburg Pike ","address2":null,"city":"Carlisle","state":"PA","zip":"17013","phone":null,"fax":null,"email":null,"country_code":"US","dealer_uuid":"4782","address3":"Carlisle, PA 17013","default_site_uuid":"15152","site_uuids":["15152"]},"16460":{"location_id":"16460","latitude":"40.242796","longitude":"-76.989807","title":"Platinum Mitsubishi Mechanicsburg","address1":"6039 Carlisle Pike","address2":null,"city":"Mechanicsburg","state":"PA","zip":"17050","phone":null,"fax":null,"email":null,"country_code":"US","dealer_uuid":"4782","address3":"Mechanicsburg, PA 17050","default_site_uuid":"15144","site_uuids":["15152"]},"16457":{"location_id":"16457","latitude":"40.222034","longitude":"-77.159983","title":"Platinum Pre-Owned Carlisle","address1":" 1119 Harrisburg Pike ","address2":null,"city":"Carlisle","state":"PA","zip":"17013","phone":null,"fax":null,"email":null,"country_code":"US","dealer_uuid":"4782","address3":"Carlisle, PA 17013","default_site_uuid":"15149","site_uuids":["15152"]}},"page_title":[" Dealer Carlisle PA New & Used Cars for Sale - Platinum Central Pennsylvania"]}); 258 depEventPublisher.setPageData({"language":["en"],"page_category":["home"],"page_type":["full"],"page_id":["1"],"flag_global":[0],"traffic_type":"direct","site_version":[4],"site_locations":{"16454":{"location_id":"16454","latitude":"40.222034","longitude":"-77.159983","title":"Platinum Central Pennsylvania","address1":"1119 Harrisburg Pike ","address2":null,"city":"Carlisle","state":"PA","zip":"17013","phone":null,"fax":null,"email":null,"country_code":"US","dealer_uuid":"4782","address3":"Carlisle, PA 17013","default_site_uuid":"15152","site_uuids":["15152"]},"16460":{"location_id":"16460","latitude":"40.242796","longitude":"-76.989807","title":"Platinum Mitsubishi Mechanicsburg","address1":"6039 Carlisle Pike","address2":null,"city":"Mechanicsburg","state":"PA","zip":"17050","phone":null,"fax":null,"email":null,"country_code":"US","dealer_uuid":"4782","address3":"Mechanicsburg, PA 17050","default_site_uuid":"15144","site_uuids":["15152"]},"16457":{"location_id":"16457","latitude":"40.222034","longitude":"-77.159983","title":"Platinum Pre-Owned Carlisle","address1":" 1119 Harrisburg Pike ","address2":null,"city":"Carlisle","state":"PA","zip":"17013","phone":null,"fax":null,"email":null,"country_code":"US","dealer_uuid":"4782","address3":"Carlisle, PA 17013","default_site_uuid":"15149","site_uuids":["15152"]}},"page_title":[" Dealer Carlisle PA New & Used Cars for Sale - Platinum Central Pennsylvania"]}); 259 depEventPublisher.publish("headLoaded"); 260 261 $(window).load(function() { 262 depEventPublisher.publish("documentLoaded"); 263 }); 264 265 $(window).on('beforeunload', function(e) { 266 depEventPublisher.publish("documentUnloaded", e); 267 }); 268 269 270 271 272 function document_ready() { 273 depEventPublisher.publish("documentReady"); 274 var $doc = $(document); 275 var $win = $(window); 276 277 /** 278 * Formats text to be trimmed of whitespace/only alphabetic chars and lowercase 279 * 280 * @param string txt Text that needs to be formatted 281 * 282 * @return string Formatted Text 283 */ 284 function formatText(txt) { 285 return txt.replace(/[\(\[]\d*[\)\]]/g, "").replace(/([^A-Za-z0-9-\.\s]*)/g, "").trim().toLowerCase(); 286 } 287 288 /** 289 * Get the vehicle ID for a CTA click on SRP pages 290 */ 291 function getVehicleIdForCTA(cta_element) { 292 let vehicle_id; 293 let vehicle_container = $(cta_element).closest(".srp_vehicle_item_container, .vehicle_item, .vehicle_item_return"); 294 295 if (vehicle_container.length) { 296 vehicle_id = vehicle_container.data("vehicle_id"); 297 } 298 299 return vehicle_id; 300 } 301 302 303 $("a[href^='tel'], a[href^='wtai']").bind('click touch', function(e){ 304 var $this = $(this); 305 var a_href = $this.attr('href'); 306 var a_html = $this.html() + ' ' + $this.siblings('span').html(); 307 var p_num_match = a_href.match(/(\d{3}-\d{3}-\d{4})/); 308 if (p_num_match && p_num_match[0]) { 309 a_href = p_num_match[0].toString(); 310 } else { 311 a_href = a_href.replace(/[^0-9]/g, ''); 312 } 313 314 var depParser = { 315 'Sales' : /\bsales/i, 316 'Parts' : /\bparts/i, 317 'Service' : /\bservice/i, 318 'Finance' : /\bfinance/i 319 }; 320 var d = 'Sales'; 321 for (var r in depParser) { 322 if(depParser[r] && a_href && a_html.match(depParser[r])){ 323 d = r; 324 break; 325 } 326 } 327 var data = { 328 phone : a_href, 329 department : d, 330 eventData : e, 331 332 }; 333 data.design_version = '3'; 334 data.eventLabel = data.department + ' ' + data.phone; 335 var vehicle_id = getVehicleIdForCTA(this); 336 if (vehicle_id !== undefined) { 337 data.vehicle_id = vehicle_id; 338 } 339 340 depEventPublisher.publish("clickPhoneLink", data); 341 }); 342 343 $('#megamenu_navigation_container a').bind('click touch', function(e){ 344 var menu_parent_active = $(e.target).parent().hasClass('active_parent'); 345 var is_plain_link = $(e.target).parent().hasClass('parent_plain_link'); 346 depEventPublisher.publish("clickMegaMenuParentNavigation", { 347 event: e, 348 element: e.target, 349 type: "topNav", 350 text: e.target.outerText.replace(/[^\x00-\x7F]|[\r\n]/g, ""), 351 is_megamenu: true, 352 is_toggle: (!menu_parent_active && !is_plain_link) || e.isDefaultPrevented() || e.originalEvent.defaultPrevented 353 }); 354 }); 355
356 $('#megamenu_content_container .content_link').bind('click touch', function(e){ 357 var $this = $(this); 358 var data = { 359 event: e, 360 element: this, 361 href : $this.attr('href') || '', 362 eventData : e 363 }; 364 depEventPublisher.publish("clickMegaMenuContentLink", data); 365 }); 366 367 $('#megamenu_content_container, .megamenu_content_container').click(function(e) { 368 var target = e.target; 369 370 if (target.tagName !== "A") { 371 closest_a = $(target).closest('a'); 372 siblings_a = $(target).siblings('a'); 373 374 if (closest_a.length > 0) { 375 target = closest_a[0]; 376 } else if (siblings_a.length > 0) { 377 target = siblings_a[0]; 378 } else { 379 return; 380 } 381 } 382 383 if (typeof target.attributes['data-coupon-id'] != "undefined") { 384 return; 385 } 386 387 var text = false; 388 var label_row_div = $(target).find('.label_row') 389 390 if (label_row_div.length > 0) { 391 text = label_row_div[0].outerText; 392 } else { 393 text = target.outerText.replace(/[^\x00-\x7F]|[\r\n]/g, ""); 394 } 395 396 var parent_text = ""; 397 var closest_megamenu_parent = $(e.target).closest('div[id^="megamenu_parent-"]'); 398 399 if (closest_megamenu_parent.length > 0) { 400 var parent_nav_id_selector = "#" + closest_megamenu_parent[0].id.replace(/megamenu_parent-/, 'parent_nav-') + " a"; 401 var parent_nav_a = $(parent_nav_id_selector); 402 403 if (parent_nav_a.length > 0) { 404 parent_text = parent_nav_a[0].outerText.replace(/[^\x00-\x7F]|[\r\n]/g, ""); 405 } 406 } 407 408 var closest_mobile_megamenu_parent = $(e.target).closest('li[id^="mobile_menu_parent-"]'); 409 410 if (closest_mobile_megamenu_parent.length > 0) { 411 var parent_label = $(closest_mobile_megamenu_parent[0]).find('.parent_label'); 412 413 if (parent_label.length > 0) { 414 parent_text = parent_label[0].outerText.replace(/[^\x00-\x7F]|[\r\n]/g, ""); 415 } 416 } 417 418 depEventPublisher.publish("clickMegaMenuLink", { 419 event: e, 420 element: target, 421 type: "topNav", 422 text: text, 423 parent_text: parent_text, 424 is_megamenu: true, 425 }); 426 }); 427 428 $('.multi_cta_wrapper a, .vdp_vehicle_links_container a, .dep_image_slider_view_all, .view_all_images_wrapper, .get-e-price a').click(function(e) { 429 depEventPublisher.publish("clickVdpCTA", { 430 event: e, 431 element: this, 432 }); 433 }); 434 435 436 $('a.carfax, a.oneowner, .carfax a, .oneowner a').on('click', function(){ 437 depEventPublisher.publish("clickCarfax"); 438 }); 439 440 441 (function() { 442 var win_height = $win.height(); 443 var doc_height = $doc.height(); 444 var scroll_start = false;
445 var scroll_half = false; 446 var scroll_full = false; 447 var quarter_trigger = 250; 448 var half_trigger = (doc_height / 2); 449 var full_trigger = (doc_height - win_height) - 150; 450 function scrollHandler(){ 451 452 var st = $win.scrollTop(); 453 454 if (scroll_start && scroll_half && scroll_full) { 455 $win.off('scroll', scrollHandler); 456 return false; 457 } 458 if (!scroll_start && st >= quarter_trigger) { 459 scroll_start = true; 460 depEventPublisher.publish("scrollPageStart"); 461 } 462 if (!scroll_half && st >= half_trigger) { 463 scroll_half = true; 464 depEventPublisher.publish("scrollPageHalf"); 465 } 466 467 if (!scroll_full && st >= full_trigger) { 468 scroll_full = true; 469 depEventPublisher.publish("scrollPageFull"); 470 } 471 472 } 473 $win.on('scroll', scrollHandler); 474 })(); 475 476 window.androidPaySuccessHandler = function(r) { 477 if ( 478 r !== undefined && 479 r.walletObjectIds !== undefined 480 ) { 481 var wallet_obj_id_parts = r.walletObjectIds[0].split('.'); 482 var coupon_parts = wallet_obj_id_parts[1].split('_'); 483 $('.android_pay_wrapper[data-obj-id=' + wallet_obj_id_parts[1] + ']').click(); 484 } 485 } 486 487 window.androidPayFailureHandler = function(r) { 488 console.log(r); 489 } 490 491 $('#container').on('click', '.cta_buttons_coupons, .applebadge, .android_pay_wrapper, .coupon_print, .coupon_print-stat', function(){ 492 var $this = $(this); 493 var couponName = ''; 494 var couponCategory = ''; 495 var couponExpire = '01/01/' + ((new Date).getFullYear() + 1); 496 var couponParams = []; 497 498 // find out what type of click this is 499 if ($this.hasClass('print-coupon-stat') || $this.hasClass('coupon_print')) { 500 couponParams.push('Print'); 501 } else if ($this.hasClass('applebadge')) { 502 couponParams.push('AppleWallet'); 503 } else if ($this.hasClass('android_pay_wrapper')) { 504 couponParams.push('GoogleWallet'); 505 } 506 507 if (couponParams.length) { 508 couponName = getCouponName($this); 509 couponParams.push(couponName); 510 511 couponNameLower = couponName.toLowerCase(); 512 if (couponNameLower.indexOf("brake") > -1) { 513 couponCategory = "Brake Service"; 514 } else if (couponNameLower.indexOf("oil") > -1) { 515 couponCategory = "Oil Change"; 516 } else if (couponNameLower.indexOf("tire") > -1) { 517 couponCategory = "Tire Service"; 518 } 519 520 var expiration = $this.find("a").attr("data-expiration"); 521 if (expiration) { 522 couponExpire = expiration; 523 } 524 var offerId = $this.find("a").attr("data-coupon-id"); 525 var couponTextElements = $($this[0].parentElement).find("p.coupon_text"); 526 var offerText = couponTextElements.length ? couponTextElements[0].innerText : couponName; 527 var eventLabel = couponParams.join('|').trim(); 528 depEventPublisher.publish("clickPrintCoupon", { 529 eventLabel, 530 text : eventLabel, 531 offerId, 532 offerText, 533 offerCategory : couponCategory, 534 offerName : couponName, 535 offerExpire: couponExpire, 536 }); 537 } 538 539 function getCouponName($ele) { 540 var dataName = ''; 541 var $href = false;
542 // this is the only one that has it. 543 if ($ele.hasClass('coupon_print') || $ele.hasClass('print-coupon-stat')) { 544 $href = $ele.find('a[href^="/print-coupons/"]'); 545 } else { 546 $href = $ele.siblings('div').find('a[href^="/print-coupons/"]'); 547 } 548 dataName = $href && $href.data && $href.data('name') || 'Coupon'; 549 dataName = decodeURIComponent(dataName).replace(/\+/g, ' ').trim(); 550 //dataName = dataName.replace(/\+/g, ' ').trim(); 551 return dataName; 552 } 553 554 }); 555 556 $('.multi_cta_wrapper a:not(.modal_link, .modal_link_active)').click(function(e) { 557 var vid = $(this).data('vehicle_id'); 558 var app = $(this).data('application'); 559 var app_version = $(this).data('app-version'); 560 depEventPublisher.publish("clickCTA", { 561 event: e, 562 element: this, 563 vehicle_id: vid, 564 application: app, 565 app_version: app_version 566 }); 567 }); 568 569 $('.asc_custom_cta_event').click(function(e) { 570 var vid = $(this).data('vehicle_id'); 571 depEventPublisher.publish("clickCustomCTA", { 572 event: e, 573 element: this, 574 vehicle_id: vid 575 }); 576 }); 577 578 $(".list_optional_sale_wrapper a").click(function(e) { 579 depEventPublisher.publish("clickServiceLink", { 580 event: e, 581 element: this, 582 }); 583 }); 584 585 $('.purchase_button').click(function(e) { 586 var pb_count = $(this).children().length; 587 var pb_element = $(this).children()[pb_count - 1]; 588 var vid = $(this).data('vehicle_id'); 589 var app = $(this).data('application'); 590 var app_version = $(this).data('app-version'); 591 depEventPublisher.publish("clickCTA", { 592 event: e, 593 element: pb_element, 594 vehicle_id: vid, 595 application: app, 596 app_version: app_version 597 }); 598 }); 599 600 $('#sara_app_get_started_button a, .ecredit_app_custom_button a, .ecredit_custom_banner a, .eautoappraise_custom_banner a, .sara_custom_banner a').click(function(e) { 601 var vid = $(this).data('vehicle_id'); 602 var app = $(this).data('application'); 603 var app_version = $(this).data('app-version'); 604 depEventPublisher.publish('clickCTA', { 605 event: e, 606 element: this, 607 vehicle_id: vid, 608 application: app, 609 app_version: app_version 610 }); 611 }); 612 613 $('.collapsible_epayments___edit_button, .collapsible_epayments___payment_button').click(function(e) { 614 var vid = getVehicleIdForCTA(this); 615 depEventPublisher.publish("clickCTA", { 616 event: e, 617 element: this, 618 vehicle_id: vid, 619 }); 620 }); 621 622 $('a.smartpath_btn').click(function(e) { 623 var vid = getVehicleIdForCTA(this); 624 depEventPublisher.publish('clickCTA', { 625 event: e, 626 element: this, 627 vehicle_id: vid 628 }); 629 }); 630 631 $('.header_social_media').on('click', 'a', function() { 632 depEventPublisher.publish("clickSocialMedia", { 633 eventLabel : $(this).attr('href'), 634 location : "topNav" 635 }); 636 }); 637 638 $('#header2 a, #header a, .header a, .header_mobile a').not('#megamenu_navigation_container a, #megamenu_content_container a, #megamenu_mobile a').click(function(e) { 639 depEventPublisher.publish("clickNavigation", { 640 element: this, 641 type: "topNav", 642 text: this.outerText.replace(/[^\x00-\x7F]|[\r\n]/g, "") 643 }); 644 }); 645 646 $('#footer a:not(.footer_contact_social_media, .footer_bottom_middle_social_media), #footer-container a, #footer-bottom-container a').click(function(e) { 647 depEventPublisher.publish("clickNavigation", { 648 element: this, 649 type: "bottomNav", 650 text: this.outerText.replace(/[^\x00-\x7F]|[\r\n]/g, "") 651 }); 652 }); 653 654 $('.vehicle_item__position_ad').on('click', 'a', function(e) { 655 var ad_alt_text = $(this).find('img').attr('alt'); 656 depEventPublisher.publish("clickSRPVehicleAdTile", { 657 event: e, 658 element: this, 659 title: ad_alt_text.replace(/[^\x00-\x7F]|[\r\n]/g, ""), 660 link_url : $(this).attr('href') 661 }); 662 }); 663 664 function getNearestHtmlElementBySelector(htmlNode, selector = '', count = 5) { 665 let targetNode = null; 666 let count_limited = (count > 0) ? true : false; 667 do { 668 if (htmlNode.classList && htmlNode.matches(selector)) { 669 targetNode = htmlNode; 670 break; 671 } 672 673 if (count_limited) { 674 count--; 675 if (count <= 0) { 676 break; 677 } 678 } 679 htmlNode = htmlNode.parentNode; 680 681 } while(htmlNode.parentNode); 682 683 return targetNode;
684 } 685 686 function handleFooterHoursEvents(e) 687 { 688 let htmlParent = getNearestHtmlElementBySelector(e.target, '.dep_tagging'); 689 if ( 690 typeof(htmlParent) != "undefined" 691 && htmlParent != null 692 && htmlParent.getAttribute('data-dep_handler').includes('clickFooterHours') 693 ) { 694 depEventPublisher.publish("clickFooterHours", { 695 linkText: htmlParent.getAttribute('data-hours'), 696 location: "bottomNav" 697 }); 698 } 699 } 700 document.addEventListener('click', handleFooterHoursEvents); 701 document.addEventListener('keydown', handleFooterHoursEvents); 702 document.addEventListener('touch', handleFooterHoursEvents); 703 704 function handleSocialMediaEvents(e) 705 { 706 let htmlParent = getNearestHtmlElementBySelector(e.target, '.dep_tagging') 707 if ( 708 typeof(htmlParent) !== "undefined" 709 && htmlParent != null 710 && htmlParent.getAttribute('data-dep_handler').includes('clickSocialMedia') 711 ) { 712 if (htmlParent.getAttribute('data-location').includes('footer')) { 713 eventLocation = "bottomNav"; 714 } else if (htmlParent.getAttribute('data-location').includes('header')) { 715 eventLocation = "topNav"; 716 } 717 depEventPublisher.publish("clickSocialMedia", { 718 location: eventLocation, 719 socialType: htmlParent.getAttribute('data-platform') 720 }); 721 } 722 } 723 724 document.addEventListener('click', handleSocialMediaEvents); 725 document.addEventListener('keydown', handleSocialMediaEvents); 726 document.addEventListener('touch', handleSocialMediaEvents); 727 728 $('#header svg').click(function(e) { 729 let page_brand = ""; 730 let span = getNearestHtmlElementBySelector(e.target, 'span'); 731 if (page_brand == 'fca' && span.innerHTML.toLowerCase().includes('search')) { 732 let action = 'close'; 733 if (document.getElementById('search_dropdown_wrapper').classList.contains('closed')) { 734 action = 'open'; 735 } 736 737 depEventPublisher.publish("clickNavigation", { 738 element: this, 739 type: "topNav", 740 text: "", 741 action 742 }) 743 } 744 }) 745 // Refine Search Inventory 746 $('.filter_option a, #search-criteria li a').click(function(e) { 747 var inventory_type = "any"; 748 var category_header = $(this).parents('.group, #search-criteria'); 749 var category_type = category_header[0] 750 ? category_header[0].firstElementChild.innerText 751 : ""; 752 753 var format_cat_type = $(this).data('filter-category') ? $(this).data('filter-category') : formatText(category_type); 754 var value = this.parentElement; 755 var filter_img = $(e.target).find('img'); 756 757 if ( 758 filter_img.length > 0 && 759 filter_img[0].alt.toLowerCase() === "unselected" 760 ) { 761 value = this; 762 var type = formatText(value.innerText); 763 if (format_cat_type == "type") { 764 inventory_type = (type == "new" || type == "used") 765 ? type 766 : "any"; 767 } 768 } 769 770 var filter_value = formatText(value.innerText); 771 var filter_data = {}; 772 773 if (format_cat_type == "price") { 774 var price_range_arr = filter_value.split('-'); 775 filter_data.min_price = price_range_arr[0]; 776 filter_data.max_price = price_range_arr[1]; 777 } else if (format_cat_type == "miles") { 778 var miles_arr = filter_value.split(' '); 779 var miles_range_arr = miles_arr[0].split('-'); 780 filter_data.distance_unit = miles_arr[1].toLowerCase(); 781 filter_data.min_miles = miles_range_arr[0]; 782 filter_data.max_miles = miles_range_arr[1]; 783 } else if (format_cat_type == "fuel economy") { 784 var fuel_economy_arr = filter_value.split(' '); 785 var fuel_economy_range_arr = fuel_economy_arr[0].split('-'); 786 filter_data.fuel_economy_type = fuel_economy_arr[1].toLowerCase(); 787 filter_data.min_fuel_economy = fuel_economy_range_arr[0]; 788 filter_data.max_fuel_economy = fuel_economy_range_arr[1]; 789 } 790 791 var filter_action = this.getAttribute('title'); 792 793 if (filter_action) { 794 filter_action = filter_action.toLowerCase(); 795 } else { 796 filter_action = 'add'; 797 } 798 799 depEventPublisher.publish("refineSearchInventory", { 800 filter_action: filter_action, 801 filter_category: format_cat_type, 802 filter_type: inventory_type, 803 filter_value: filter_value, 804 filter_data: filter_data 805 }); 806 }); 807 808 //Carbon Refine Search Inventory 809 $('.srp_filter_options a, .breadcrumb a').click(function(e) { 810 var field = $(this).data('filter-field'); 811 var category = $(this).data('filter-category'); 812 var value = $(this).data('filter-value') ? $(this).data('filter-value') : $(this).data('filter'); 813 var label = $(this).data('filter-label'); 814 var action = $(this).data('filter-action'); 815 816 var closest_srp_filter = $(this).closest('.srp_filter'); 817 if (closest_srp_filter.length > 0) { 818 var srp_filter_label = closest_srp_filter.find('.srp_filter_label'); 819 if (srp_filter_label.length > 0) { 820 category = srp_filter_label[0].innerText; 821 } 822 } 823 824 if (action) { 825 action = action.toLowerCase(); 826 } else { 827 action = 'add'; 828 } 829 830 depEventPublisher.publish("refineSearchInventory", { 831 filter_category: category ? category.toLowerCase() : field, 832 filter_value: value, 833 filter_label: label, 834 filter_action: action 835 }); 836 }); 837 838 //Schedule Service Click 839 $('#container').on('click', "a[href*=service-appointment], a[href*=ServiceApptForm], a:contains('Schedule Service')", function(e) { 840 depEventPublisher.publish("scheduleServiceClick", { 841 event: e 842 }); 843 }); 844 //Directions CTA Click 845 $('#container').on('click', "a[href*=directions], a[href*='maps.google.com']", function(e) { 846 let page_brand = ""; 847 if (page_brand == 'lexus_canada' || page_brand == 'infiniti' || page_brand == 'ferrari' || page_brand == 'fca') { 848 depEventPublisher.publish("getDirections", { 849 event: e 850 }) 851 } 852 }) 853 // General CTA Clicks 854 $('#container').on('click', "cta_text_icon, .boxed_cta", function(e) { 855 let page_brand = ""; 856 if (page_brand == 'fca') { 857 depEventPublisher.publish("clickCTA", { 858 event: e, 859 element: e.target 860 }) 861 } 862 }); 863 // Banner Carousel Interactions 864 $('#container').on('click', "span.banner_section_nav_bar", function(e) { 865 let page_brand = ""; 866 if (page_brand == 'fca') { 867 depEventPublisher.publish("carouselClick", { 868 event: e, 869 element: e.target, 870 }) 871 } 872 }) 873 //Offer Click 874 var vehicle_offer_button = document.querySelector('.vehicle_offer_cta a'); 875 876 if (vehicle_offer_button) { 877 vehicle_offer_button.addEventListener('click', function(e) { 878 if (vehicle_offer_button.innerText == 'Get Offer') { 879 depEventPublisher.publish("clickOffer", { 880 offerId: this.getAttribute('data-offerid'), 881 offerName: this.getAttribute('data-offername'), 882 offerType: this.getAttribute('data-offertype'), 883 vehicleModel: this.getAttribute('data-vehiclemodel'), 884 vehicleTrim: this.getAttribute('data-vehicletrim'), 885 vehicleYear: this.getAttribute('data-vehicleyear'), 886 vehicleCategory: this.getAttribute('data-vehiclecategory'), 887 vehicleBodyStyle: this.getAttribute('data-vehiclebodystyle'), 888 vehicleEngine: this.getAttribute('data-vehicleengine'), 889 vehicleMsrp: this.getAttribute('data-vehiclemsrp'), 890 }); 891 } 892 }); 893 } 894 //SRP Search FIlter
895 var srp_search_filter = document.querySelector('.srp_filters_search, #search-query input'); 896 var results_count_element = $('div.srp_results_count_container, .srp_carbon_results__count--digits'); 897 898 if ( 899 typeof srp_search_filter !== "undefined" && 900 srp_search_filter !== null && 901 srp_search_filter.getAttribute('value') !== "" 902 ) { 903 var typed_search_filter = srp_search_filter.getAttribute('value').split(' '); 904 typed_search_filter = typed_search_filter.join('|'); 905 906 var results_count = 0; 907 908 if (results_count_element.length > 0) { 909 results_count = results_count_element.data('vehicle_count'); 910 } 911 912 depEventPublisher.publish("srpSearchFilter", { 913 search_filter: typed_search_filter, 914 results_count: results_count 915 }); 916 } 917 918 //Stellantis CTA 919 var stellantis_ctas = document.querySelectorAll('.stellantis-oem a, .stellantis-oem p.med.accordion'); 920 921 if (stellantis_ctas) { 922 for (var i = 0; i < stellantis_ctas.length; i++) { 923 stellantis_ctas[i].addEventListener('click', function(e) { 924 depEventPublisher.publish("clickCTA", { 925 element: this, 926 }); 927 }) 928 } 929 } 930 var homepage_ctas = document.querySelectorAll('.top_cta_search_cta_wrapper a'); 931 var homepage_cta_heading = document.querySelector('.top_cta_search_heading'); 932 var homepage_cta_title = homepage_cta_heading != undefined ? homepage_cta_heading.innerText.replaceAll(/[^a-z0-9\s]/gi, "").replaceAll("\n", " ").toLowerCase().replaceAll(' ', '-') : ""; 933 let page_brand = ""; 934 if (homepage_ctas && page_brand == 'fca') { 935 for (var i = 0; i < homepage_ctas.length; i++) { 936 homepage_ctas[i].addEventListener('click', function(e) { 937 depEventPublisher.publish("clickCTA", { 938 element: this, 939 location: "hero", 940 type: "hero", 941 text: e.target.innerText, 942 target: e.target.href, 943 parent_text: homepage_cta_title 944 }); 945 }) 946 } 947 } 948 if (page_brand == 'fca') { 949 let mobile_get_directions = document.getElementById('header_bottom_mobile_icon_directions'); 950 if (mobile_get_directions) { 951 mobile_get_directions.addEventListener("click", (e) => { 952 depEventPublisher.publish("getDirections", { 953 event: e, 954 type: 'header' 955 }) 956 }) 957 } 958 var footer_social_media_elements = document.querySelectorAll("a.footer_bottom_middle_social_media"); 959 footer_social_media_elements.forEach((el) => { 960 el.addEventListener("click", (e) => { 961 depEventPublisher.publish("clickSocialMedia", { 962 socialType: el.dataset.social 963 }) 964 }) 965 }) 966 967 } 968 function handleCarSaverCta(e) 969 { 970 if (e.target.matches('cs-buy-widget, cs-buy-widget-v2')) { 971 depEventPublisher.publish("clickCTA", { 972 element: e, 973 }); 974 } 975 } 976 977 document.addEventListener('click', handleCarSaverCta); 978 document.addEventListener('keydown', handleCarSaverCta); 979 document.addEventListener('touch', handleCarSaverCta); 980 981 var content_links = document.querySelectorAll('.TMCE.CE a:not(.dep_tagging), .nissan-oem a:not(.dep_tagging), .hyundai-oem a, .hyundai-oem button'); 982 if (content_links) { 983 for (var i = 0; i < content_links.length; i++) { 984 content_links[i].addEventListener('click', function(e) { 985 depEventPublisher.publish("clickContentLink", { 986 element: this, 987 }); 988 }) 989 } 990 } 991 992 //Vehicle Quick View 993 var vehicle_quick_view_buttons = document.querySelectorAll('.vehicle_item__nav_tab, .vehicle_item_return__nav_tab'); 994 995 if (vehicle_quick_view_buttons) { 996 for (var i = 0; i < vehicle_quick_view_buttons.length; i++) { 997 vehicle_quick_view_buttons[i].addEventListener('click', function(e) { 998 depEventPublisher.publish("clickVehicleQuickView", { 999 element: this, 1000 }); 1001 }); 1002 } 1003 } 1004 depEventPublisher.publish('homePageView'); 1005 1006 $('.cta_link_container a, .btn_cta a, a.cta_btn, .videos_btn a, a.shop_button_section, a.schedule_button_section, .video_action-group a, .schedule_service a, .contact_button a, .inventory-banner a, a.advanced_search_service_link, a.cta_button, a.section_btn, a.about_us_link, a.service-btn, a.testemonial_btn, .promo_6040_left_btn, .cta_thirds_btn, .advanced-search-dropdown-bar_submit-button, .model_lineup_item_btn').click(function(e) { 1007 var data = { 1008 element: this, 1009 type: "other", 1010 }; 1011 var img_element = $(this).find('img'); 1012 if (img_element.length > 0) { 1013 var img_alt = img_element.attr('alt'); 1014 1015 if (img_alt && img_alt.length > 0) { 1016 data.text = img_alt; 1017 } 1018 } 1019 depEventPublisher.publish("clickHomePageLink", data); 1020 }); 1021 1022 $('a.brochure_launcher, a.pill_cta_icon__brochure').not('.event_handler_added').on('click', function(){ 1023 brochureClickHandler(this); 1024 }).addClass('event_handler_added'); 1025 1026 window.brochureClickHandler = function (cta_element) { 1027 var title = $(cta_element).data('title') || 'Brochure'; 1028 var year = $(cta_element).data('year') || null; 1029 var make = $(cta_element).data('make-name') || null; 1030 var model = $(cta_element).data('model-name') || null; 1031 var event_data = { 1032 element: cta_element, 1033 eventLabel: title, 1034 text: title, 1035 item_year: year, 1036 item_make: make, 1037 item_model: model 1038 }; 1039 var vehicle_id = getVehicleIdForCTA(cta_element); 1040 if (vehicle_id !== undefined) { 1041 event_data.vehicle_id = vehicle_id; 1042 } 1043 depEventPublisher.publish("clickDownloadBrochure", event_data); 1044 } 1045 1046 $('.owners_manual_launcher').not('.event_handler_added').on('click', function(){ 1047 ownersManualClickHandler(this); 1048 }).addClass('event_handler_added'); 1049 1050 window.ownersManualClickHandler = function (cta_element) { 1051 var title = $(cta_element).data('title') || 'Owners Manual'; 1052 var year = $(cta_element).data('year') || null; 1053 var make = $(cta_element).data('make-name') || null; 1054 var model = $(cta_element).data('model-name') || null; 1055 var event_data = { 1056 element: cta_element, 1057 eventLabel: title, 1058 text: title, 1059 item_year: year, 1060 item_make: make, 1061 item_model: model 1062 }; 1063 var vehicle_id = getVehicleIdForCTA(cta_element); 1064 if (vehicle_id !== undefined) { 1065 event_data.vehicle_id = vehicle_id; 1066 } 1067 depEventPublisher.publish("clickDownloadOwnersManual", event_data); 1068 } 1069 1070 $('a[href^="/print-auto/"]').on('click', function(e){ 1071 var labelString = 'Other'; 1072 var pageData = depEventPublisher.getPage(); 1073 if (typeof pageData === 'object' && pageData.page_category && pageData.page_category[0]) { 1074 switch (pageData.page_category[0].toLowerCase()) { 1075 case 'vdp' : 1076 labelString = 'VDP'; 1077 break; 1078 case 'search' : 1079 case 'srp' : 1080 labelString = 'SRP'; 1081 break; 1082 } 1083 } 1084 var vehicle_id = getVehicleIdForCTA(this); 1085 var modal_data = {eventLabel : labelString}; 1086 if (vehicle_id !== undefined) { 1087 modal_data.vehicle_id = vehicle_id; 1088 } 1089 depEventPublisher.publish("clickPrintVehicle", modal_data); 1090 }); 1091 1092 $('#content').on('click', 'a.srp_window_sticker_inner, a.vdp_window_sticker, .link-window_sticker, .pill_cta_icon__window_sticker, a[href*="windowsticker"]', function(e){ 1093 var labelString = 'Other'; 1094 var pageData = depEventPublisher.getPage(); 1095 if (typeof pageData === 'object' && pageData.page_category && pageData.page_category[0]) { 1096 switch (pageData.page_category[0].toLowerCase()) { 1097 case 'vdp' : 1098 labelString = 'VDP'; 1099 break; 1100 case 'search' : 1101 case 'srp' : 1102 labelString = 'SRP'; 1103 break; 1104 } 1105 } 1106 var vehicle_id = getVehicleIdForCTA(this); 1107 var modal_data = { 1108 eventLabel: labelString, // passes srp/vdp value, redundant for ASC events 1109 text: $(this).find('span, div').first().text(), 1110 element: $(this).find('span, div').first(), 1111 event: e 1112 }; 1113 if (vehicle_id !== undefined) { 1114 modal_data.vehicle_id = vehicle_id; 1115 } 1116 depEventPublisher.publish("clickWindowSticker", modal_data); 1117 }); 1118 1119 $('.multi_widget_tabs_wrapper>ul>li').on('click', function(){ 1120 var label_name = $(this).text().replace(/[^a-zA-Z]/g, ''); 1121 depEventPublisher.publish('clickVehicleTab', {eventLabel : label_name, text : label_name}); 1122 }); 1123 1124 $('#content').on('click', '.vehicle_item a[data-link_type]', function(e) { 1125 var label = 'Other'; 1126 var pageData = depEventPublisher.getPage(); 1127 if (typeof pageData === 'object' && pageData.page_category && pageData.page_category[0]) { 1128 switch (pageData.page_category[0].toLowerCase()) { 1129 case 'vdp' : 1130 label = 'VDP'; 1131 break; 1132 case 'search' : 1133 case 'srp' : 1134 label = 'SRP'; 1135 break; 1136 } 1137 } 1138 var vehicle_id = getVehicleIdForCTA(this); 1139 var event_data = { 1140 page_type: label, 1141 event_label: $(this).data('link_type'), 1142 element: this 1143 }; 1144 if (vehicle_id !== undefined) { 1145 event_data.vehicle_id = vehicle_id; 1146 } 1147 depEventPublisher.publish("clickVehicleLink", event_data); 1148 }); 1149 1150 1151 $(document).on('click keydown touch', '.toggle_header', function(event) { 1152 depEventPublisher.publish('toggleAccordion', { 1153 event: event, 1154 expanding: $(this).next().is(":visible"), 1155 label: this.innerText, 1156 }); 1157 }); 1158 1159 function handleAccordionEvent(e) 1160 { 1161 if (e.target.matches('.dep_accordion__header, .dep_accordion__header *')) { 1162 let accordion_header = e.target; 1163 const parent_attempts = 5; 1164 1165 1166 if (!accordion_header.matches('.dep_accordion__header')) { 1167 for (let i = 0; i < parent_attempts; i++) { 1168 accordion_header = accordion_header.parentNode; 1169 1170 if (accordion_header.matches('.dep_accordion__header')) { 1171 break; 1172 } 1173 } 1174 } 1175 1176 if (!accordion_header.matches('.dep_accordion__header')) { 1177 depDebug(`Unable to handle accordion event; could not find .dep_accordion__header within ${parent_attempts} parents of clicked/touched element.`); 1178 1179 return; 1180 } 1181 1182 toggleAccordionActiveStatus(accordion_header); 1183 publishAccordionEvent(accordion_header, e); 1184 } 1185 return; 1186 } 1187 1188 function toggleAccordionActiveStatus(accordion_header) 1189 { 1190 let is_accordion_active = accordion_header.classList.contains('dep_accordion__header--active') ? true : false;
1191 let accordion_parent = accordion_header; 1192 const parent_attempts = 5; 1193 1194 for (let i = 0; i < parent_attempts; i++) { 1195 accordion_parent = accordion_parent.parentNode; 1196 1197 if (accordion_parent.matches('.dep_accordion')) { 1198 break; 1199 } 1200 } 1201 1202 if (!accordion_parent.matches('.dep_accordion')) { 1203 depDebug(`Unable to handle accordion event; could not find .dep_accordion__header within ${parent_attempts} parents of clicked/touched element.`); 1204 return; 1205 } 1206 1207 let accordion_header_nodes = accordion_parent.querySelectorAll('.dep_accordion__header'); 1208 accordion_header_nodes.forEach((accordion_header) => { 1209 accordion_header.classList.remove('dep_accordion__header--active'); 1210 accordion_header.nextElementSibling.classList.remove('dep_accordion__content--active'); 1211 1212 if (!accordion_header.classList.contains('dep_accordion__header--inactive')) { 1213 accordion_header.classList.add('dep_accordion__header--inactive'); 1214 accordion_header.nextElementSibling.classList.add('dep_accordion__content--inactive'); 1215 } 1216 }); 1217 1218 if (!is_accordion_active) { 1219 accordion_header.classList.remove('dep_accordion__header--inactive'); 1220 accordion_header.nextElementSibling.classList.remove('dep_accordion__content--inactive'); 1221 accordion_header.classList.add('dep_accordion__header--active'); 1222 accordion_header.nextElementSibling.classList.add('dep_accordion__content--active'); 1223 } 1224 1225 return; 1226 } 1227 1228 function publishAccordionEvent(accordion_header, event) 1229 { 1230 let category = ''; 1231 if (accordion_header.attributes.getNamedItem('data-accordion_category')) { 1232 category = accordion_header.attributes.getNamedItem('data-accordion_category').value; 1233 } 1234 1235 let label = ''; 1236 if (accordion_header.attributes.getNamedItem('data-accordion_label')) { 1237 label = accordion_header.attributes.getNamedItem('data-accordion_label').value; 1238 } else { 1239 el = accordion_header.querySelector('.dep_accordion_label'); 1240 if (el) { 1241 label = el.innerText.replace((/\n/gm), ' '); 1242 } 1243 } 1244 1245 depEventPublisher.publish('toggleAccordion', { 1246 element: accordion_header, 1247 event: event, 1248 category: category, 1249 label: label, 1250 text: label, 1251 expanding: accordion_header.classList.contains('dep_accordion__header--active') ? true : false, 1252 }); 1253 } 1254 1255 document.addEventListener('click', handleAccordionEvent); 1256 document.addEventListener('keydown', handleAccordionEvent); 1257 document.addEventListener('touch', handleAccordionEvent); 1258 1259 1260 window.addEventListener('consent-decision', (event) => { 1261 if ( 1262 event.detail && 1263 event.detail.message && 1264 event.detail.message.necessary != undefined && 1265 event.detail.message.functional != undefined && 1266 event.detail.message.analytics != undefined && 1267 event.detail.message.marketing != undefined 1268 ) { 1269 depEventPublisher.publish('cookieConsentDecision', { 1270 product_name: 'Springtime', 1271 consents: { 1272 ...event.detail.message 1273 } 1274 }); 1275 } 1276 }); 1277 1278 1279 function handleToggleTabEvent(e) 1280 { 1281 if (e.target.matches('.dep_tabs__header, .dep_tabs__header *')) { 1282 let toggle_header = e.target; 1283 const parent_attempts = 5; 1284 if (!toggle_header.matches('.dep_tabs__header')) { 1285 for (let i = 0; i < parent_attempts; i++) { 1286 toggle_header = toggle_header.parentNode; 1287 1288 if (toggle_header.matches('.dep_tabs__header')) { 1289 break; 1290 } 1291 } 1292 } 1293 1294 if (!toggle_header.matches('.dep_tabs__header')) { 1295 depDebug(`Unable to handle accordion event; could not find .dep_accordion__header within ${parent_attempts} parents of clicked/touched element.`); 1296 1297 return; 1298 } 1299 1300 publishToggleTabEvent(toggle_header, e); 1301 } else { 1302 let htmlElement = getNearestHtmlElementBySelector(e.target, '.dep_tagging') 1303 if ( 1304 typeof(htmlElement) !== "undefined" 1305 && htmlElement !== null 1306 && htmlElement.getAttribute('data-dep_handler').includes('toggleTab') 1307 ) { 1308 publishToggleTabEvent(htmlElement, e); 1309 1310 } 1311 } 1312 } 1313 1314 function publishToggleTabEvent(toggle_header, event) 1315 { 1316 let category = ''; 1317 if (toggle_header.attributes.getNamedItem('data-tab_category')) { 1318 category = toggle_header.attributes.getNamedItem('data-tab_category').value; 1319 } 1320 1321 let label = ''; 1322 if (toggle_header.attributes.getNamedItem('data-tab_label')) { 1323 label = toggle_header.attributes.getNamedItem('data-tab_label').value; 1324 } else { 1325 label = toggle_header.innerText.replace((/\n/gm), ' '); 1326 } 1327 1328 let type = ''; 1329 if (toggle_header.attributes.getNamedItem('data-tab_type')) { 1330 type = toggle_header.attributes.getNamedItem('data-tab_type').value; 1331 } 1332 1333 depEventPublisher.publish('toggleTab', { 1334 category: category, 1335 element: toggle_header, 1336 event: event, 1337 label: label, 1338 type: type, 1339 }); 1340 } 1341 1342 document.addEventListener('click', handleToggleTabEvent); 1343 document.addEventListener('keydown', handleToggleTabEvent); 1344 document.addEventListener('touch', handleToggleTabEvent); 1345 1346 $('.tab-content').on('click', function(e){ 1347 $(this).attr("data-carousel-click", true); 1348 depEventPublisher.publish("modelScrollerToggle", { 1349 value: $(this).text().trim(), 1350 index: $(this).index() 1351 }); 1352 }); 1353 1354 $('#footer-container .tab').on('click', function(e){ 1355 depEventPublisher.publish("footerHoursToggle", { 1356 value : $(this).text(), 1357 }); 1358 }); 1359 1360 $('#select_vehicle').on('change', function(e){ 1361 depEventPublisher.publish("researchModelDropdown", { 1362 label: $(this)[0].previousElementSibling.innerHTML, 1363 value : $("#select_vehicle option:selected").text(), 1364 }); 1365 }); 1366 1367 $('.sort_results_box').on('change', function(e){ 1368 depEventPublisher.publish("clickSrpSortDropdown", { 1369 value : $(".sort_results_box option:selected")[2].innerHTML, 1370 }); 1371 }); 1372 $(document).on('focusin', '.form[id^="form"]:not(".form_start_added")', formUserInitHandler); 1373 function formUserInitHandler(e){ 1374 let page_brand = ""; 1375 $(this).addClass('form_start_added'); 1376 if ($(this).closest('.modal-inner-wrapper').length > 0 && page_brand == 'fca') { 1377 return; 1378 } 1379 var data = { 1380 eventData : e 1381 }; 1382 depEventPublisher.publish("startFormEvent", data); 1383 } 1384 1385 $(document).on('focusin', '.form[id^="form"] input, .form[id^="form"] select, .form[id^="form"] textarea', formFieldInteractionHandler); 1386 1387 function formFieldInteractionHandler(e){ 1388 let page_brand = ""; 1389 if ($(this).closest('.modal-inner-wrapper').length > 0 && page_brand == 'fca') { 1390 return; 1391 } 1392 var data = { 1393 eventData : e, 1394 }; 1395 depEventPublisher.publish("FormFieldInteractionEvent", data); 1396 } 1397 1398 $(".error_messages").each(function(index, el) { 1399 var errors = []; 1400 1401 $(el).find("p").each(function(indexP, p) { 1402 errors.push(p.innerHTML); 1403 }); 1404 1405 setTimeout(function() { 1406 depEventPublisher.publish("formErrors", { 1407 errors: errors, 1408 }); 1409 }, 1000); 1410 }); 1411 1412 } 1413 //check state so we make sure the ready event happens 1414 if (document.readyState === "complete") { 1415 document_ready(); 1416 } else { 1417 $(document).ready(document_ready); 1418 } 1419 1420 1421}); 1422</script>
1422 1423 1424 1425 </head> 1426 1427 <body id="custom_page_1"><a href="https://www.creditpa.com/cdn-cgi/content?id=9b1AC09wKGpr8z7Md5J61HhC5FP67CPGZ5gUkFw5ie4-1791095998.84629-1.2.1.1-QK5wod81rzaV3h9GJ7ERNIKpzfGtjxulzUwsOWH8FPMRISDHwUzJGATBnqxn2ykZ" aria-hidden="true" rel="nofollow noopener" style="display: none !important; visibility: hidden !important"></a> 1428 <div id="container"> 1429 <!-- Load Header (/php/header.php) --> 1430 <!-- Module ID: 58 --> 1431 <!-- Arguments: {"filename":"header","local":true} --> 1432 1433<header id="header" role="banner"> 1434 <div class="inner_content"> 1435 <section class="header_logo_section"> 1436 <a href="https://www.creditpa.com/"> 1437 <img class="header_logo" src="/assets/d4782/img/header-logo.png" alt="Platinum Central Pennsylvania Header Logo" /> 1438 1439 <!--<span class="header_logo_divider"></span> 1440 1441 <h2 class="header_logo_content"><span>Mitsubishi <br />of Anytown</span></h2>--> 1442 </a> 1443 </section> 1444 1445 <section class="header_nav_section"> 1446 <div id="megamenu" class="navigation"> 1447 <div class='megamenu_layers' role="navigation" aria-label="Primary"> 1448 <div id='megamenu_navigation_container' class='megamenu_navigation_container'> 1449 1450 <ul class='parent_ul'><li id="parent_nav-32" class="parent_li parent_no_link" style="width:28.842105263158%;"><a class="parent_label" href="#">Shop Our Inventory<span class="parent_caret">▼</span></a><div class="hidden_aria_element" aria-owns="megamenu_parent-32"></div></li><li id="parent_nav-33" class="parent_li parent_no_link" style="width:23.789473684211%;"><a class="parent_label" href="#">Sell or Trade<span class="parent_caret">▼</span></a><div class="hidden_aria_element" aria-owns="megamenu_parent-33"></div></li><li id="parent_nav-20" class="parent_li parent_no_link" style="width:20.526315789474%;"><a class="parent_label" href="#">Finance<span class="parent_caret">▼</span></a><div class="hidden_aria_element" aria-owns="megamenu_parent-20"></div></li><li id="parent_nav-29" class="parent_li last_parent parent_no_link" style="width:26.842105263158%;"><a class="parent_label" href="#">Schedule Service<span class="parent_caret">▼</span></a><div class="hidden_aria_element" aria-owns="megamenu_parent-29"></div></li></ul> 1451 </div> <div id='megamenu_content_container' class='megamenu_content_container'><div class='template template_1' id='megamenu_parent-32'> 1452 <div id='megamenu_links-32' class='links'> 1453 <div class="item_ul_container"><ul class="first_item_ul"><li id="megamenu_item-155" class="no_right_margin"><span class="item_icon icon_car"></span><a class="item_label thm-hglight-text_color-hover" href="https://platinummitsubishimechanicsburg.com/search/new-mitsubishi-mechanicsburg-pa/?cy=17050&tp=new" target="_blank">New Inventory - Platinum Mitsubishi Mechanicsburg</a></li><li id="megamenu_item-158" class="no_right_margin"><span class="item_icon icon_car"></span><a class="item_label thm-hglight-text_color-hover" href="https://platinummitsubishimechanicsburg.com/search/used-mechanicsburg-pa/?cy=17050&tp=used" target="_blank">Pre-Owned Inventory - Platinum Mitsubishi Mechanicsburg</a></li><li id="megamenu_item-161" class="no_right_margin no_bottom_margin"><span class="item_icon icon_car"></span><a class="item_label thm-hglight-text_color-hover" href="https://www.platinumpreownedllc.com/search/used-carlisle-pa/?cy=17013&tp=used" target="_blank">Pre-Owned Inventory - Platinum Pre-Owned Carlisle</a></li></ul></div> </div> 1454</div> 1455<div class='template template_1' id='megamenu_parent-33'> 1456 <div id='megamenu_links-33' class='links'> 1457 <div class="item_ul_container"><ul class="first_item_ul"><li id="megamenu_item-162" class="no_right_margin"><span class="item_icon icon_car"></span><a class="item_label thm-hglight-text_color-hover" href="https://www.platinummitsubishimechanicsburg.com/value-trade-in/" target="_blank">Platinum Mitsubishi Mechanicsburg Trade</a></li><li id="megamenu_item-165" class="no_right_margin no_bottom_margin"><span class="item_icon icon_car"></span><a class="item_label thm-hglight-text_color-hover" href="https://www.platinumpreownedllc.com/value-trade-in/" target="_blank">Platinum Pre-Owned Carlisle Trade</a></li></ul></div> </div> 1458</div> 1459<div class='template template_1' id='megamenu_parent-20'> 1460 <div id='megamenu_links-20' class='links'> 1461 <div class="item_ul_container"><ul class="first_item_ul"><li id="megamenu_item-110" class="no_right_margin"><span class="item_icon icon_form"></span><a class="item_label thm-hglight-text_color-hover" href="https://platinummitsubishimechanicsburg.com/finance-application/" target="_blank">Finance Application - Platinum Mitsubishi Mechanicsburg</a></li><li id="megamenu_item-152" class="no_right_margin no_bottom_margin"><span class="item_icon icon_form"></span><a class="item_label thm-hglight-text_color-hover" href="https://www.platinumpreownedllc.com/finance-application/" target="_blank">Finance Application - Platinum Pre-Owned Carlisle</a></li></ul></div> </div> 1462</div> 1463<div class='template template_1 last_parent' id='megamenu_parent-29'> 1464 <div id='megamenu_links-29' class='links'> 1465 <div class="item_ul_container"><ul class="first_item_ul"><li id="megamenu_item-146" class="no_right_margin"><span class="item_icon icon_calendar"></span><a class="item_label thm-hglight-text_color-hover" href="https://platinummitsubishimechanicsburg.com/service-appointment/" target="_blank">Schedule Service at Platinum Mitsubishi Mechanicsburg</a></li><li id="megamenu_item-149" class="no_right_margin no_bottom_margin"><span class="item_icon icon_calendar"></span><a class="item_label thm-hglight-text_color-hover" href="https://www.platinumpreownedllc.com/service-appointment/" target="_blank">Schedule Service at Platinum Pre-Owned Carlisle</a></li></ul></div> </div> 1466</div> 1467</div></div>
1468<script type='text/javascript'>dep_require.require(['navigationHandler'], function(navigationHandler) { 1469 var mm_opts = { 1470 c_source: [], 1471 p_source: {"32":{"template_id":"1"},"33":{"template_id":"1"},"20":{"template_id":"1"},"29":{"template_id":"1"}}, 1472 inline_content: [], 1473 responsive_flag: 1, 1474 group_items_hide_point: null, 1475 group_items_hide_rows: null }; 1476 1477 1478 1479 navigationHandler.view_cnt = 'View'; 1480 navigationHandler.more_cnt = 'More'; 1481 1482 1483 navigationHandler.initialize(mm_opts); 1484 navigationHandler.cache.storage = []; 1485}); 1486</script>
1486 1487 </div> 1488 </section> 1489 1490 <section class="header_icons_section"> 1491 <div class="header_icons_wrapper"> 1492 <span id="header_phone_icon" class="header_icon" tabindex="0" aria-haspopup="true"> 1493 <svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"> 1494 <title>Phone Icon</title> 1495 <path id="Color_Fill_1" data-name="Color Fill 1" class="cls-1" d="M41,0c5.929-.079,13.56-0.834,18,1,7.573,3.129,12.57,10.57,18,16,10.014,10.014,24.514,19.892,32,32,2.467,3.99,5.865,12.658,4,20-4.334,17.061-23.512,21.274-29,36,5.123,4,8.072,10.754,12,16,8.571,11.447,43.687,46.629,57,51,6.1-9.532,29.492-34.949,48-28,13.481,5.062,23.421,20.421,33,30,8.433,8.434,28.192,19.318,22,41-3.444,12.059-29.882,34.639-42,39-34.749,12.5-77.143-12.257-96-24C71.423,200.994,33.43,162.107,11,109,3.6,91.484-6.1,60.117,4,37,11.065,20.828,27.9,10.518,41,0Zm4,17C37.413,28.1,22.988,34.532,18,48c-7.93,21.411,4.767,48.1,12,62,24.867,47.786,61.077,87.541,108,113,14.949,8.111,50.415,23.147,72,14,7.323-3.1,11.757-9.757,17-15,4.129-4.128,10.632-7.247,12-14,2.483-4.666-7.015-11.014-10-14-8.137-8.138-2
14956.864-33.777-40-34-5.475,8.462-25.943,29.735-39,30l-8-3c-20.9-13.449-41.174-33.237-56-53-7.537-10.047-19.769-16.784-20-34,1.585-1.947,1.507-4.783,3-7,6.394-9.5,26.435-18.212,27-32C81.063,47,66,31.933,52,17H45Z"/> 1496 </svg> 1497 </span> 1498 1499 <a class="header_icon" href="https://www.creditpa.com/hours-and-directions/"> 1500 <svg xmlns="http://www.w3.org/2000/svg" width="678" height="980" viewBox="0 0 678 980"> 1501 <title>Directions Icon</title> 1502 <path id="Color_Fill_1" data-name="Color Fill 1" class="cls-1" d="M319,0C493.939-3.577,601.148,90.436,652,211c20.3,48.124,36.5,134.891,18,200-20.477,72.055-49.768,135.323-85,193-9.709,15.894-16.321,32.219-26,48-28.152,45.9-57.414,91.675-87,136-31.267,46.844-62.991,92.553-95,138-8.362,11.873-16.853,23.429-25,35-4.02,5.71-7.081,15.419-14,18-8.316-14.6-20.446-27.459-30-41q-28.653-40.608-57-81c-33.168-47.179-62.984-95.8-94-145C111.18,639.315,66.23,564.2,31,481c-12.187-28.782-18.822-58.442-27-92-4.971-20.4-5.81-64.929-1-86l1-16,9-42c12.281-37.406,27.433-71.732,48-101,39.173-55.744,93.579-96.354,161-124,20.542-8.423,43.9-11.5,67-17C296.724,1.161,313.366,3.537,319,0Zm-2,60c-6.036,3.534-16.692,1.154-24,3-16.981,4.288-34.56,6.631-50,13-52.519,21.664-98.306,53.534-129,97-20.082,28.439-34.637,60.573-46,98-4.273,14.073-2.627,27.293-6,43-3.618,16.849-3.118,49.048,1,66,8.073,33.235,15.682,61.643,28,90,22.92,52.765,51.025,102.9,80,150,28.934,47.037,55.792,93.605,86,139,17.056,25.63,34.188,51.582,52,77,9.36,13.357,21.437,26.09,29,41h2c2.072-6.816,8.263-11.7,12-17,7.827-11.106,15.388-22.188,23-33,22.332-31.721,44.353-64.411,65-97,25.792-40.711,50.737-81.927,76-123,9.83-15.982,16.189-32.855,26-49a627.034,627.034,0,0,0,70-162c14.391-53.135,1.394-122.411-15-161-32.668-76.9-84.521-127.092-162-159-17.113-7.047-36.806-9.394-56-14C360.913,57.659,337.788,60.03,317,60Zm10,114c19.142-.234,36.275.2,51,5,47.731,15.553,78.29,48.023,93,97,4.141,13.789,8.42,38.673,4,57-2.8,11.623-5.469,23.556-10,34-19.383,44.677-56.93,69.324-110,81-22.358,4.919-53.86-4.448-67-10-40.558-17.137-65.894-44.285-80-88-4.713-14.607-9.819-40.938-5-61l7-26c14.606-35.759,40.886-63.834,76-79l27-8C317.746,174.809,323.423,176.23,327,174Zm1,60c-5.843,3.651-14.787,3.291-21,6-20.362,8.878-35.921,27.758-43,50-2.639,8.292-3.19,23.791-1,33,7.783,32.727,21.7,50.1,51,61,9.6,3.572,24.9,7.184,38,4,35.9-8.722,54.517-28.489,63-65,1.7-7.308,2.093-21.5,0-29-2.1-7.529-5.058-16.633-9-23C390.994,246.762,368.22,233.585,328,234Z"/> 1503 </svg> 1504 </a> 1505 1506 <!--<span id="header_smart_search_icon" class="header_icon" tabindex="0" aria-haspopup="true"> 1507 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="122.879px" height="119.799px" viewBox="0 0 122.879 119.799" enable-background="new 0 0 122.879 119.799" xml:space="preserve"> 1508 <title>Search Icon</title> 1509 <g><path d="M49.988,0h0.016v0.007C63.803,0.011,76.298,5.608,85.34,14.652c9.027,9.031,14.619,21.515,14.628,35.303h0.007v0.033v0.04 h-0.007c-0.005,5.557-0.917,10.905-2.594,15.892c-0.281,0.837-0.575,1.641-0.877,2.409v0.007c-1.446,3.66-3.315,7.12-5.547,10.307 l29.082,26.139l0.018,0.016l0.157,0.146l0.011,0.011c1.642,1.563,2.536,3.656,2.649,5.78c0.11,2.1-0.543,4.248-1.979,5.971 l-0.011,0.016l-0.175,0.203l-0.035,0.035l-0.146,0.16l-0.016,0.021c-1.565,1.642-3.654,2.534-5.78,2.646 c-2.097,0.111-4.247-0.54-5.971-1.978l-0.015-0.011l-0.204-0.175l-0.029-0.024L78.761,90.865c-0.88,0.62-1.778,1.209-2.687,1.765 c-1.233,0.755-2.51,1.466-3.813,2.115c-6.699,3.342-14.269,5.222-22.272,5.222v0.007h-0.016v-0.007 c-13.799-0.004-26.296-5.601-35.338-14.645C5.605,76.291,0.016,63.805,0.007,50.021H0v-0.033v-0.016h0.007 c0.004-13.799,5.601-26.296,14.645-35.338C23.683,5.608,36.167,0.016,49.955,0.007V0H49.988L49.988,0z M50.004,11.21v0.007h-0.016 h-0.033V11.21c-10.686,0.007-20.372,4.35-27.384,11.359C15.56,29.578,11.213,39.274,11.21,49.973h0.007v0.016v0.033H11.21 c0.007,10.686,4.347,20.367,11.359,27.381c7.009,7.012,16.705,11.359,27.403,11.361v-0.007h0.016h0.033v0.007 c10.686-0.007,20.368-4.348,27.382-11.359c7.011-7.009,11.358-16.702,11.36-27.4h-0.006v-0.016v-0.033h0.006 c-0.006-10.686-4.35-20.372-11.358-27.384C70.396,15.56,60.703,11.213,50.004,11.21L50.004,11.21z"/></g> 1510 </svg> 1511 </span>--> 1512 </div> 1513 </section> 1514 1515 <section class="header_mobile_nav"> 1516 <div id='megamenu_mobile' class='megamenu_mobile' role="navigation" aria-label="Mobile"> 1517 <div class='toggle_menu_bar'> 1518 <span class='site_title thm-inverse_text_color'>Platinum Central Pennsylvania</span><span id='toggle_menu_button' class='toggle_menu_button'>☰</span> 1519 <input hidden="hidden" id="mobilemenu-open-menu-text" aria-label="☰" value="☰" /> 1520 <input hidden="hidden" id="mobilemenu-close-menu-text" aria-label="☰" value="☰" /> 1521 </div> 1522 <div id='megamenu_mobile_body' class='megamenu_mobile_body'> 1523 <ul class='parent_collection'> 1524 <li id="mobile_menu_parent-32"><span class="parent_label clickable_li">Shop Our Inventory</span><ul id="group_collection-32" class="group_collection"><li id="group_entry-47"><ul id="item_collection-47" class="item_collection"><li id="item_entry-155"><div class="item_label_container"><a class="item_label thm-hglight-text_color-hover" href="https://platinummitsubishimechanicsburg.com/search/new-mitsubishi-mechanicsburg-pa/?cy=17050&tp=new" target="_blank"><span class="item_icon icon_car"></span><span class="item_label_text">New Inventory - Platinum Mitsubishi Mechanicsburg</span></a></div></li><li id="item_entry-158"><div class="item_label_container"><a class="item_label thm-hglight-text_color-hover" href="https://platinummitsubishimechanicsburg.com/search/used-mechanicsburg-pa/?cy=17050&tp=used" target="_blank"><span class="item_icon icon_car"></span><span class="item_label_text">Pre-Owned Inventory - Platinum Mitsubishi Mechanicsburg</span></a></div></li><li id="item_entry-161"><div class="item_label_container"><a class="item_label thm-hglight-text_color-hover" href="https://www.platinumpreownedllc.com/search/used-carlisle-pa/?cy=17013&tp=used" target="_blank"><span class="item_icon icon_car"></span><span class="item_label_text">Pre-Owned Inventory - Platinum Pre-Owned Carlisle</span></a></div></li></ul></li></ul></li><li id="mobile_menu_parent-33"><span class="parent_label clickable_li">Sell or Trade</span>
1524<ul id="group_collection-33" class="group_collection"><li id="group_entry-48"><ul id="item_collection-48" class="item_collection"><li id="item_entry-162"><div class="item_label_container"><a class="item_label thm-hglight-text_color-hover" href="https://www.platinummitsubishimechanicsburg.com/value-trade-in/" target="_blank"><span class="item_icon icon_car"></span><span class="item_label_text">Platinum Mitsubishi Mechanicsburg Trade</span></a></div></li><li id="item_entry-165"><div class="item_label_container"><a class="item_label thm-hglight-text_color-hover" href="https://www.platinumpreownedllc.com/value-trade-in/" target="_blank"><span class="item_icon icon_car"></span><span class="item_label_text">Platinum Pre-Owned Carlisle Trade</span></a></div></li></ul></li></ul></li><li id="mobile_menu_parent-20"><span class="parent_label clickable_li">Finance</span><ul id="group_collection-20" class="group_collection"><li id="group_entry-35"><ul id="item_collection-35" class="item_collection"><li id="item_entry-110"><div class="item_label_container"><a class="item_label thm-hglight-text_color-hover" href="https://platinummitsubishimechanicsburg.com/finance-application/" target="_blank"><span class="item_icon icon_form"></span><span class="item_label_text">Finance Application - Platinum Mitsubishi Mechanicsburg</span></a></div></li><li id="item_entry-152"><div class="item_label_container"><a class="item_label thm-hglight-text_color-hover" href="https://www.platinumpreownedllc.com/finance-application/" target="_blank"><span class="item_icon icon_form"></span><span class="item_label_text">Finance Application - Platinum Pre-Owned Carlisle</span></a></div></li></ul></li></ul></li><li id="mobile_menu_parent-29"><span class="parent_label clickable_li">Schedule Service</span><ul id="group_collection-29" class="group_collection"><li id="group_entry-44"><ul id="item_collection-44" class="item_collection"><li id="item_entry-146"><div class="item_label_container"><a class="item_label thm-hglight-text_color-hover" href="https://platinummitsubishimechanicsburg.com/service-appointment/" target="_blank"><span class="item_icon icon_calendar"></span><span class="item_label_text">Schedule Service at Platinum Mitsubishi Mechanicsburg</span></a></div></li><li id="item_entry-149"><div class="item_label_container"><a class="item_label thm-hglight-text_color-hover" href="https://www.platinumpreownedllc.com/service-appointment/" target="_blank"><span class="item_icon icon_calendar"></span><span class="item_label_text">Schedule Service at Platinum Pre-Owned Carlisle</span></a></div></li></ul></li></ul></li> </ul> 1525 </div> 1526</div>
1527<script>dep_require.require(['megamenu_mobile'], function() {});</script>
1527 1528 </section> 1529 1530 <div id="phone-drop-down-container" class="header_phone_dropdown closed"> 1531 1532 <div id="phone-drop-down-wrap"> 1533 <div class="phone-wrap first"> 1534 <span class="phone-title">Platinum Pre-Owned Carlisle Sales:</span> 1535 1536 <a href="tel:717-218-5133" class="phone-number"> 1537 717-218-5133 </a> 1538 </div> 1539 1540 <div class="phone-wrap first"> 1541 <span class="phone-title">Platinum Pre-Owned Carlisle Service:</span> 1542 1543 <a href="tel:717-218-5133" class="phone-number"> 1544 717-218-5133 </a> 1545 </div> 1546 1547 <div class="phone-wrap"> 1548 <span class="phone-title">Platinum Mitsubishi Mechanicsburg Sales:</span> 1549 1550 <a href="tel:717-462-6338" class="phone-number"> 1551 717-462-6338 </a> 1552 </div> 1553 1554 <div class="phone-wrap"> 1555 <span class="phone-title">Platinum Mitsubishi Mechanicsburg Service:</span> 1556 1557 <a href="tel:717-462-6338" class="phone-number"> 1558 717-462-6338 </a> 1559 </div> 1560 </div> 1561 1562 <div id="phone-drop-down-close-wrap" tabindex="0"> 1563 <span>Close</span> 1564 </div> 1565 </div> 1566 1567 <!--<div id="header_smart_search_dropdown" class="header_smart_search_dropdown closed"> 1568 <span class="header_smart_search_dropdown_icon"> 1569 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="122.879px" height="119.799px" viewBox="0 0 122.879 119.799" enable-background="new 0 0 122.879 119.799" xml:space="preserve"> 1570 <title>Search Icon</title> 1571 <g><path d="M49.988,0h0.016v0.007C63.803,0.011,76.298,5.608,85.34,14.652c9.027,9.031,14.619,21.515,14.628,35.303h0.007v0.033v0.04 h-0.007c-0.005,5.557-0.917,10.905-2.594,15.892c-0.281,0.837-0.575,1.641-0.877,2.409v0.007c-1.446,3.66-3.315,7.12-5.547,10.307 l29.082,26.139l0.018,0.016l0.157,0.146l0.011,0.011c1.642,1.563,2.536,3.656,2.649,5.78c0.11,2.1-0.543,4.248-1.979,5.971 l-0.011,0.016l-0.175,0.203l-0.035,0.035l-0.146,0.16l-0.016,0.021c-1.565,1.642-3.654,2.534-5.78,2.646 c-2.097,0.111-4.247-0.54-5.971-1.978l-0.015-0.011l-0.204-0.175l-0.029-0.024L78.761,90.865c-0.88,0.62-1.778,1.209-2.687,1.765 c-1.233,0.755-2.51,1.466-3.813,2.115c-6.699,3.342-14.269,5.222-22.272,5.222v0.007h-0.016v-0.007 c-13.799-0.004-26.296-5.601-35.338-14.645C5.605,76.291,0.016,63.805,0.007,50.021H0v-0.033v-0.016h0.007 c0.004-13.799,5.601-26.296,14.645-35.338C23.683,5.608,36.167,0.016,49.955,0.007V0H49.988L49.988,0z M50.004,11.21v0.007h-0.016 h-0.033V11.21c-10.686,0.007-20.372,4.35-27.384,11.359C15.56,29.578,11.213,39.274,11.21,49.973h0.007v0.016v0.033H11.21 c0.007,10.686,4.347,20.367,11.359,27.381c7.009,7.012,16.705,11.359,27.403,11.361v-0.007h0.016h0.033v0.007 c10.686-0.007,20.368-4.348,27.382-11.359c7.011-7.009,11.358-16.702,11.36-27.4h-0.006v-0.016v-0.033h0.006 c-0.006-10.686-4.35-20.372-11.358-27.384C70.396,15.56,60.703,11.213,50.004,11.21L50.004,11.21z"/></g> 1572 </svg> 1573 </span> 1574 1575 </div>--> 1576 1577 </div> 1578</header> 1579 1580 1581
1582<script type="text/javascript"> 1583dep_require.require(['jquery'], function($) { 1584 $("#header_phone_icon").on('click keydown', function(event) { 1585 if (keydownEnterOrNonKeydownEvent(event)) { 1586 if (!$("#header_smart_search_dropdown").hasClass('closed')) { 1587 $("#header_smart_search_dropdown").addClass('closed'); 1588 } 1589 1590 if ($("#phone-drop-down-container").hasClass('closed')) { 1591 $("#phone-drop-down-container").removeClass('closed'); 1592 } else { 1593 $("#phone-drop-down-container").addClass('closed'); 1594 } 1595 } 1596 }); 1597 1598 $("#phone-drop-down-close-wrap").on('click keydown', function(event) { 1599 if (keydownEnterOrNonKeydownEvent(event)) { 1600 $("#phone-drop-down-container").addClass('closed'); 1601 } 1602 }); 1603 1604 $("#header_smart_search_icon").on('click keydown', function(event) { 1605 if (keydownEnterOrNonKeydownEvent(event)) { 1606 if (!$("#phone-drop-down-container").hasClass('closed')) { 1607 $("#phone-drop-down-container").addClass('closed'); 1608 } 1609 1610 if ($("#header_smart_search_dropdown").hasClass('closed')) { 1611 $("#header_smart_search_dropdown").removeClass('closed'); 1612 } else { 1613 $("#header_smart_search_dropdown").addClass('closed'); 1614 } 1615 } 1616 }); 1617}); 1618</script>
1618 1619 1620 1621 <div id="content" role="main"> 1622 <div id="region_1" class="region mw_full tmp_1-rg_1 fl_l"> 1623 1624<section class="top_cta_search_section"> 1625 <span class="top_cta_search_img_video"> 1626 <img src="/assets/d4782/img/banner.jpg" alt="" /> 1627 1628 </span> 1629 1630 <div class="inner_content"> 1631 <span class="top_cta_search_heading"> 1632 <span class="light-text">Welcome to</span> 1633 <h2>PLATINUM <span class="light-text adjust-text-size">- CENTRAL PENNSYLVANIA</span></h2> 1634 </span> 1635 1636 <span class="top_cta_search_cta_wrapper"> 1637 <a href="https://platinummitsubishimechanicsburg.com/" target="_blank"> 1638 <span class="top_cta_search_cta_left"> 1639 <img class="top_cta_search_cta_icon" src="/assets/d4782/img/p-icon.png" alt="Platinum Central Pennsylvania Mitsubishi Mechanicsburg" /> 1640 <img class="top_cta_search_cta_icon_hover" src="/assets/d4782/img/p-icon-hover.png" alt="Platinum Central Pennsylvania Mitsubishi Mechanicsburg" /> 1641 </span> 1642 1643 <span class="light-text">Platinum Mitsubishi <br /> Mechanicsburg</span> 1644 </a> 1645 1646 <a href="https://platinumpreownedllc.com/" target="_blank"> 1647 <span class="top_cta_search_cta_left"> 1648 <img class="top_cta_search_cta_icon" src="/assets/d4782/img/p-icon.png" alt="Platinum Central Pennsylvania Pre-Owned Carlisle" /> 1649 <img class="top_cta_search_cta_icon_hover" src="/assets/d4782/img/p-icon-hover.png" alt="Platinum Central Pennsylvania Pre-Owned Carlisle" /> 1650 </span> 1651 1652 <span class="light-text">Platinum Pre-Owned <br /> Carlisle</span> 1653 </a> 1654 1655 <a href="https://www.platinumpreownedllc.com/get-preapproved/" target="_blank"> 1656 <span class="top_cta_search_cta_left"> 1657 <img class="top_cta_search_cta_icon" src="/assets/d4782/img/new-inv.png" alt="Platinum Central Pennsylvania Get Pre-Approved" /> 1658 <img class="top_cta_search_cta_icon_hover" src="/assets/d4782/img/new-inv-hover.png" alt="Platinum Central Pennsylvania Get Pre-Approved" /> 1659 </span> 1660 1661 <span class="light-text">Get Pre-Approved</span> 1662 </a> 1663 1664 <a href="https://www.platinumpreownedllc.com/sell-us-your-vehicle/" target="_blank"> 1665 <span class="top_cta_search_cta_left"> 1666 <img class="top_cta_search_cta_icon" src="/assets/d4782/img/specials-cta.png" alt="Platinum Central Pennsylvania Weâll Buy Your Car" /> 1667 <img class="top_cta_search_cta_icon_hover" src="/assets/d4782/img/specials-cta-hover.png" alt="Platinum Central Pennsylvania Weâll Buy Your Car" /> 1668 </span> 1669 1670 <span class="light-text">Weâll Buy Your Car</span> 1671 </a> 1672 </span> 1673 1674 1675 </div> 1676</section> 1677 1678 1679<section class="banner_section"> 1680 <div class="inner_content"> 1681 <div class="banner_section_visible"> 1682 <svg id="banner_left_arrow" role="button" aria-label="image slider control, previous image" tabindex="0" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path id="primary" d="M21.71,11.29l-3-3a1,1,0,0,0-1.42,1.42L18.59,11H3a1,1,0,0,0,0,2H18.59l-1.3,1.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l3-3A1,1,0,0,0,21.71,
168211.29Z"></path></svg> 1683 1684 1685 <svg id="banner_right_arrow" role="button" aria-label="image slider control, next image" tabindex="0" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path id="primary" d="M21.71,11.29l-3-3a1,1,0,0,0-1.42,1.42L18.59,11H3a1,1,0,0,0,0,2H18.59l-1.3,1.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l3-3A1,1,0,0,0,21.71,11.29Z"></path></svg> 1686 </div> 1687 1688 <div class="banner_section_nav_bar_wrapper"></div> 1689 </div> 1690</section> 1691 1692<section class="testimonials_section"> 1693 <div class="inner_content"> 1694 <span class="testimonials_left"> 1695 <img src="/assets/d4782/img/reviews-bg.jpg" alt="Platinum Central Pennsylvania Way" /> 1696 </span> 1697 1698 <span class="testimonials_right"> 1699 <h2 class="light-text">The <span style="color:#dd0011;">Platinum</span> Way</h2> 1700 1701 <div class="comments_testimonial"> 1702 <p class="light-text"> 1703 1704When you're in the market for a quality new or pre-owned ride in Central Pennsylvania, Platinum Central Pennsylvania is the place to be. We make it incredibly easy for you to shop through our extensive lineup of used vehicles found at our locations in Carlisle & Mechanicsburg PA, and we'll be on hand to help you find the perfect used car, truck or SUV that works for your travels around Central PA and beyond. 1705 1706 1707 </p> 1708 </div> 1709 <a class="shop-new-btn" href="https://platinummitsubishimechanicsburg.com/" target="_blank">Shop New</a> 1710 </span> 1711 </div> 1712</section> 1713 1714<section class="contact_hours_map_section"> 1715 <div class="inner_content"> 1716 <span class="contact_hours_map_left"> 1717 <span> 1718 <h2>Get in Touch</h2> 1719 1720 <span class="contact_hours_map_left_address"> 1721 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-geo-alt-fill" viewBox="0 0 16 16"><title>Directions Icon</title> 1722 <path d="M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10zm0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/> 1723</svg> 1724 1725 <span class="address">1119 Harrisburg Pike Carlisle, PA 17013</span> </span> 1726 1727 <span class="contact_hours_map_left_phone"> 1728 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-telephone-fill" viewBox="0 0 16 16"><title>Phone Icon</title> 1729 <path fill-rule="evenodd" d="M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"/> 1730</svg> 1731 1732 <span> 1733 <span> 1734 Sales: 717-218-5133 </span> 1735 1736 <span class="contact_hours_map_left_phone_divider">|</span> 1737 <span> 1738 Service: 717-218-5133</span> 1739 </span> 1740 </span> 1741 1742 <a class="contact_hours_map_left_directions_btn" href="https://www.platinumpreownedllc.com/directions" target="_blank">Get Directions <span>›</span></a> 1743 1744 1745 <span class="contact_hours_map_left_address" style="margin-top:2em;"> 1746 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-geo-alt-fill" viewBox="0 0 16 16"><title>Directions Icon</title> 1747 <path d="M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10zm0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/> 1748</svg> 1749 1750 <span class="address">6039 Carlisle Pike Mechanicsburg, PA 17050</span> </span> 1751 </span> 1752 1753 1754 <span class="contact_hours_map_left_phone"> 1755 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-telephone-fill" viewBox="0 0 16 16"><title>Phone Icon</title> 1756 <path fill-rule="evenodd" d="M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.9
175605 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"/> 1757</svg> 1758 1759 <span> 1760 <span> 1761 1762 Sales: 717-462-6338</span> 1763 <span class="contact_hours_map_left_phone_divider">|</span> 1764 <span> 1765 Service: 717-462-6338</span> 1766 </span> 1767 </span> 1768 1769 <a class="contact_hours_map_left_directions_btn" href="https://platinummitsubishimechanicsburg.com/directions" target="_blank">Get Directions <span>›</span></a> 1770 </span> 1771 1772 </span> 1773 1774 <a class="contact_hours_map_right"> 1775 <img src="/assets/d4782/img/map.jpg" alt="Directions" /> 1776 </a> 1777 </div> 1778</section> 1779 1780 1781
1782<script type="text/javascript"> 1783dep_require.require(['jquery'], function($) { 1784 /* CONTACT SECTION HOURS TABS */ 1785 $('.contact_hours_btn_sales').on('click keydown', function(event) { 1786 if (keydownEnterOrNonKeydownEvent(event)) { 1787 $('.contact_hours_btn').removeClass("active"); 1788 $(this).addClass("active"); 1789 $('.contact_hours_content').removeClass("active"); 1790 $('.contact_hours_content_sales').addClass("active"); 1791 $('.contact_hours_tabs span').attr('aria-selected','false'); 1792 $(this).attr('aria-selected','true'); 1793 } 1794 }); 1795 1796 $('.contact_hours_btn_service').on('click keydown', function(event) { 1797 if (keydownEnterOrNonKeydownEvent(event)) { 1798 $('.contact_hours_btn').removeClass("active"); 1799 $(this).addClass("active"); 1800 $('.contact_hours_content').removeClass("active"); 1801 $('.contact_hours_content_service').addClass("active"); 1802 $('.contact_hours_tabs span').attr('aria-selected','false'); 1803 $(this).attr('aria-selected','true'); 1804 } 1805 }); 1806 1807 $('.contact_hours_btn_parts').on('click keydown', function(event) { 1808 if (keydownEnterOrNonKeydownEvent(event)) { 1809 $('.contact_hours_btn').removeClass("active"); 1810 $(this).addClass("active"); 1811 $('.contact_hours_content').removeClass("active"); 1812 $('.contact_hours_content_parts').addClass("active"); 1813 $('.contact_hours_tabs span').attr('aria-selected','false'); 1814 $(this).attr('aria-selected','true'); 1815 } 1816 }); 1817 1818 /* MODEL SCROLLER TABS */ 1819 $(".model_scroller_section_tabs .tab-content").on('click keydown', function(event) { 1820 if (keydownEnterOrNonKeydownEvent(event)) { 1821 $('.model_scroller_section_tabs .tab-content').each(function() { 1822 var tab_content = $(this); 1823 1824 if (tab_content.hasClass('active')) { 1825 tab_content.removeClass('active'); 1826 tab_content.attr('aria-selected','false'); 1827 return; 1828 } 1829 }); 1830 1831 $('.scroller-container').hide(); 1832 1833 var id_num = $(this).attr('id').split('_')[2]; 1834 1835 if (typeof id_num === 'string') { 1836 $(this).addClass('active'); 1837 $(this).attr('aria-selected','true'); 1838 $('#scroller-' + id_num).show(); 1839 } 1840 } 1841 }); 1842 1843 $(document).ready(function() { 1844 /* scroller tabs */ 1845 $('.non-default-scroller').hide(); 1846 }); 1847 1848 // BANNER SLIDER FUNCTION --- SEE COMMENTS BELOW FOR CUSTOMIZATIONS 1849 let banner_width_percentage = 0; 1850 let banner_slide_margins = 100 - banner_width_percentage; 1851 1852 let banner_slide_total_number = $('.banner_section .flipper .slide').length; 1853 let banner_moving_space_width = banner_width_percentage * banner_slide_total_number; 1854 let banner_slide_percentage_width = 100 / banner_slide_total_number; 1855 1856 let banner_moving_space_left_position = banner_slide_margins/2; 1857 let banner_slider_position = 0; 1858 let banner_nav_bar_number = 0; 1859 let banner_nav_bar_selected = 0; 1860 let banner_nav_bar_current = 0; 1861 1862 $(window).on("load resize", function () { 1863 setTimeout (function() { 1864 //$('.banner_section .inner_content > .ad_flipper').hide(); 1865 1866 if (window.innerWidth <= 960) { 1867 // MOBILE SIZES CAN STAY THE SAME 1868 banner_width_percentage = 80; 1869 banner_slide_margins = 100 - banner_width_percentage; 1870 } else { 1871 // DESKTOP BANNER SIZES MAY VARY TRY: 1872 // banner_width_percentage = 70 for wider banners 1873 // or 50 for square-ish banner 1874 banner_width_percentage = 50; 1875 banner_slide_margins = 100 - banner_width_percentage; 1876 } 1877 1878 banner_moving_space_width = banner_width_percentage * banner_slide_total_number; 1879 banner_slide_margins = 100 - banner_width_percentage; 1880 $('.banner_section_nav_bar_wrapper').css('width', banner_width_percentage + '%') 1881 1882 1883 banner_nav_bar_selected = $('.banner_section_nav_bar.active').attr('data-selector'); 1884 //console.log('banner_nav_bar_selected : ' + banner_nav_bar_selected); 1885 banner_moving_space_left_position = banner_slide_margins/2 - (banner_width_percentage * banner_nav_bar_selected); 1886 1887 $('.banner_section .ad_flipper .flipper').css('width', banner_moving_space_width + "%"); 1888 $('.banner_section .ad_flipper .flipper').css('margin-left', banner_moving_space_left_position + "%"); 1889 1890 $('.banner_section .ad_flipper .flipper > *').css('width', banner_slide_percentage_width + "%"); 1891 1892 $('.banner_section').css('visibility','visible'); 1893 1894 if (banner_slide_total_number == 1) { 1895 $('#banner_left_arrow').hide(); 1896 $('#banner_right_arrow').hide(); 1897 $('.banner_section_nav_bar_wrapper').hide(); 1898 } 1899 }, 1000); 1900 }); 1901 1902 // BANNER NAV BAR 1903 for (let i = 0; i < banner_slide_total_number; i++) { 1904 ++banner_nav_bar_number; 1905 1906 $("<span class='banner_section_nav_bar' data-selector='" + i + "'></span>").appendTo('.banner_section_nav_bar_wrapper'); 1907
1908 if (i === 0) { 1909 $('.banner_section_nav_bar').addClass('active'); 1910 } 1911 } 1912 1913 $('.banner_section_nav_bar').css('width', 98/banner_slide_total_number + "%"); 1914 1915 let slide_interval = setInterval (function () { 1916 ++banner_slider_position; 1917 1918 if (banner_slider_position < banner_slide_total_number) { 1919 banner_moving_space_left_position = banner_moving_space_left_position - banner_width_percentage; 1920 } else { 1921 banner_slider_position = 0; 1922 banner_moving_space_left_position = banner_slide_margins/2; 1923 } 1924 1925 $('.banner_section .ad_flipper .flipper').css('margin-left', banner_moving_space_left_position + "%"); 1926 1927 // UPDATE NAV BAR HIGHLIGHT 1928 $('.banner_section_nav_bar').removeClass('active'); 1929 $('.banner_section_nav_bar[data-selector="' + banner_slider_position + '"]').addClass('active'); 1930 }, 4000); 1931 1932 // BANNER NAV BAR CLICK 1933 $('.banner_section_nav_bar').on("click", function () { 1934 banner_nav_bar_selected = $(this).attr('data-selector'); 1935 1936 clearInterval(slide_interval); 1937 1938 banner_moving_space_left_position = banner_slide_margins/2 - (banner_width_percentage * banner_nav_bar_selected); 1939 1940 $('.banner_section .ad_flipper .flipper').css('margin-left', banner_moving_space_left_position + "%"); 1941 1942 // UPDATE NAV BAR HIGHLIGHT 1943 $('.banner_section_nav_bar').removeClass('active'); 1944 $('.banner_section_nav_bar[data-selector="' + banner_nav_bar_selected + '"]').addClass('active'); 1945 }); 1946 1947 // BANNER ARROW CLICK 1948 $('#banner_left_arrow').on("click", function () { 1949 clearInterval(slide_interval); 1950 1951 banner_nav_bar_current = $('.banner_section_nav_bar.active').attr('data-selector'); 1952 banner_nav_bar_current--; 1953 //console.log('banner_width_percentage: ' + banner_width_percentage); 1954 1955 if (banner_nav_bar_current >= 0) { 1956 banner_moving_space_left_position = (banner_slide_margins/2) - (banner_width_percentage * banner_nav_bar_current); 1957 } else { 1958 banner_moving_space_left_position = (banner_slide_margins/2) - (banner_width_percentage * (banner_slide_total_number - 1)); 1959 banner_nav_bar_current = banner_slide_total_number - 1; 1960 } 1961 1962 $('.banner_section .ad_flipper .flipper').css('margin-left', banner_moving_space_left_position + "%"); 1963 1964 // UPDATE NAV BAR HIGHLIGHT 1965 $('.banner_section_nav_bar').removeClass('active'); 1966 $('.banner_section_nav_bar[data-selector="' + banner_nav_bar_current + '"]').addClass('active'); 1967 }); 1968 1969 $('#banner_right_arrow').on("click", function () { 1970 clearInterval(slide_interval); 1971 1972 banner_nav_bar_current = $('.banner_section_nav_bar.active').attr('data-selector'); 1973 banner_nav_bar_current++; 1974 //console.log('banner_width_percentage: ' + banner_width_percentage); 1975 1976 if (banner_nav_bar_current < banner_slide_total_number) { 1977 banner_moving_space_left_position = (banner_slide_margins/2) - (banner_width_percentage * banner_nav_bar_current); 1978 } else { 1979 banner_moving_space_left_position = (banner_slide_margins/2) - 0; 1980 banner_nav_bar_current = 0; 1981 } 1982 1983 $('.banner_section .ad_flipper .flipper').css('margin-left', banner_moving_space_left_position + "%"); 1984 1985 // UPDATE NAV BAR HIGHLIGHT 1986 $('.banner_section_nav_bar').removeClass('active'); 1987 $('.banner_section_nav_bar[data-selector="' + banner_nav_bar_current + '"]').addClass('active'); 1988 }); 1989}); 1990</script>
1990 1991 1992<div class="TMCE CE " id=""></div> 1993<div class="fl_c"></div> 1994 </div> 1995 <br class="fl_c" /> 1996 </div> 1997 1998 <!-- Load Footer (/php/footer.php) --> 1999 <!-- Module ID: 58 --> 2000 <!-- Arguments: {"filename":"footer","local":true} --> 2001 2002<footer id="footer" role="contentinfo"> 2003 <section class="footer_info_section"> 2004 <div class="inner_content"> 2005 <p>Welcome to</p> <h1>Platinum Central Pennsylvania located in Carlisle, PA, near Mechanicsburg, PA.</h1> <h2>Visit our locations Platinum Mitsubishi Mechanicsburg in Mechanicsburg, PA and Platinum Pre-Owned Carlisle in Carlisle, PA.</h2> <h3>We Are Your Carlisle, PA New and Certified Pre-owned Dealership near Mechanicsburg, Harrisburg, Dillsburg, Camp Hill.</h3> <p>Are you wondering, where is Platinum Central Pennsylvania or what is the closest dealer near me? Platinum Central Pennsylvania is located at 1119 Harrisburg Pike , Carlisle, PA 17013. Although Platinum Central Pennsylvania is not open 24 hours a day, seven days a week â our website is always open. On our website, you can research and view photos of the new models that you would like to purchase or lease. You can also search our entire inventory of new and used vehicles, value your trade-in, and visit our Meet the Staff page to familiarize yourself with our staff who are committed to making your visit to Platinum Central Pennsylvania a great experience every time.</p> <h2>New Models for Sale at Platinum Central Pennsylvania</h2> <p>Looking for a new or ? Look no further than Platinum Central Pennsylvania in Carlisle, Pennsylvania. We offer a full lineup of new vehicles. Our knowledgeable Platinum Central Pennsylvania new car dealer staff is dedicated and will work with you to put you behind the wheel of the vehicle you want, at an affordable price. Feel free to browse our online inventory, request more information about our vehicles, or set up a test drive with a sales associate.</p> <h2>Used Cars, Trucks, and SUVs for Sale at Platinum Central Pennsylvania</h2> <p>As a leading dealer near Mechanicsburg, Platinum Central Pennsylvania also has a wide variety of pre-owned cars, trucks, and SUVs for you to choose from. Each of our pre-owned vehicles has undergone a rigorous inspection to ensure the highest quality used cars, trucks, and SUVs in Pennsylvania. Stop by Platinum Central Pennsylvania or search our online inventory to find the used car, truck, or SUV that is right for you. We have used cars, trucks, and SUVs for every need and budget, along with expert staff who will work to get you in the vehicle you want for an affordable price.</p> <h2>Auto Finance, Loans, and Leasing</h2> <p>The Platinum Central Pennsylvania staff within our Finance Department is dedicated to putting you in the car you want, at a price you can afford. We also offer competitive auto leasing options for our customers who are not looking to purchase or finance a vehicle. Whether you are looking to finance or lease your new car, truck, or SUV, our finance experts will work to arrange affordable payments for our customers.</p> <h2>Auto Body Repair, Service, Parts, and Accessories </h2> <p>Our state-of-the-art Service Department here at Platinum Central Pennsylvania will keep your new vehicle or used car in excellent condition. The diagnostic equipment operated by our expert mechanics will detect any issues that may be occurring in your vehicle so that our trained service technicians can fix the problem right the first time. We offer all the auto services, maintenance, and parts you need to keep your vehicle running like new, even if all you need is an oil change. Visit our Service Department page to schedule a service appointment, or our Parts Department page to order parts for your new , or for more information about any of the services offered by Platinum Central Pennsylvania.</p> </div> 2006 </section> 2007 2008 <section class="footer_bottom"> 2009 <div class="inner_content"> 2010 <span class="footer_bottom_left"> 2011 <a href="/sitemap/">Sitemap</a> 2012 | 2013 <a href="/privacy-policy/">Privacy Policy</a> 2014 | 2015 <a href="/accessibility/">Accessibility </a> 2016 </span> 2017 2018 <span class="footer_bottom_middle"> 2019 <span>© 2026 Platinum Central Pennsylvania. All Rights Reserved.</span> 2020 </span> 2021 2022 <span class="footer_bottom_right"> 2023 <span>This website was designed to perform by: <a href="https://www.dealereprocess.com" target="_blank">Dealer eProcess</a></span> 2024 2025 2026 </span> 2027 </div> 2028 </section> 2029</footer> 2030 2031 2032 2033 </div> 2034 2035
2035<script type="application/ld+json">{"@context":"https:\/\/schema.org","@graph":[{"@type":"AutoDealer","url":"https:\/\/www.creditpa.com\/","address":{"@type":"PostalAddress","addressCountry":"US","addressLocality":"Carlisle","addressRegion":"PA","postalCode":"17013","streetAddress":"1119 Harrisburg Pike "},"logo":"https:\/\/www.creditpa.com\/assets\/d4782\/img\/header-logo.png","image":"https:\/\/www.creditpa.com\/assets\/d4782\/img\/header-logo.png","name":"Platinum Central Pennsylvania","priceRange":"$$$","geo":{"@type":"GeoCoordinates","latitude":"40.222034","longitude":"-77.159983"},"areaServed":[{"@type":"City","name":"Carlisle, PA"},{"@type":"City","name":"Mechanicsburg, PA"},{"@type":"City","name":"Harrisburg, PA"},{"@type":"City","name":"Dillsburg, PA"},{"@type":"City","name":"Camp Hill, PA"}]},{"@type":"AutoDealer","url":"https:\/\/www.creditpa.com\/","address":{"@type":"PostalAddress","addressCountry":"US","addressLocality":"Mechanicsburg","addressRegion":"PA","postalCode":"17050","streetAddress":"6039 Carlisle Pike"},"logo":"https:\/\/www.creditpa.com\/assets\/d4782\/img\/header-logo.png","image":"https:\/\/www.creditpa.com\/assets\/d4782\/img\/header-logo.png","name":"Platinum Mitsubishi Mechanicsburg","priceRange":"$$$","geo":{"@type":"GeoCoordinates","latitude":"40.242796","longitude":"-76.989807"},"areaServed":[{"@type":"City","name":"Carlisle, PA"},{"@type":"City","name":"Mechanicsburg, PA"},{"@type":"City","name":"Harrisburg, PA"},{"@type":"City","name":"Dillsburg, PA"},{"@type":"City","name":"Camp Hill, PA"}]},{"@type":"AutoDealer","url":"https:\/\/www.creditpa.com\/","address":{"@type":"PostalAddress","addressCountry":"US","addressLocality":"Carlisle","addressRegion":"PA","postalCode":"17013","streetAddress":" 1119 Harrisburg Pike "},"logo":"https:\/\/www.creditpa.com\/assets\/d4782\/img\/header-logo.png","image":"https:\/\/www.creditpa.com\/assets\/d4782\/img\/header-logo.png","name":"Platinum Pre-Owned Carlisle","priceRange":"$$$","geo":{"@type":"GeoCoordinates","latitude":"40.222034","longitude":"-77.159983"},"areaServed":[{"@type":"City","name":"Carlisle, PA"},{"@type":"City","name":"Mechanicsburg, PA"},{"@type":"City","name":"Harrisburg, PA"},{"@type":"City","name":"Dillsburg, PA"},{"@type":"City","name":"Camp Hill, PA"}]},{"@type":"PostalAddress","addressCountry":"US","addressLocality":"Carlisle","addressRegion":"PA","postalCode":"17013","streetAddress":"1119 Harrisburg Pike "},{"@type":"PostalAddress","addressCountry":"US","addressLocality":"Mechanicsburg","addressRegion":"PA","postalCode":"17050","streetAddress":"6039 Carlisle Pike"},{"@type":"PostalAddress","addressCountry":"US","addressLocality":"Carlisle","addressRegion":"PA","postalCode":"17013","streetAddress":" 1119 Harrisburg Pike "},{"@type":"GeoCoordinates","latitude":"40.222034","longitude":"-77.159983"},{"@type":"GeoCoordinates","latitude":"40.242796","longitude":"-76.989807"},{"@type":"GeoCoordinates","latitude":"40.222034","longitude":"-77.159983"},{"@type":"WebSite","url":"https:\/\/www.creditpa.com\/","name":"Platinum Central Pennsylvania","potentialAction":{"@type":"SearchAction","target":"https:\/\/www.creditpa.com\/search\/?q={search_term_string}","url":"https:\/\/www.creditpa.com\/","query-input":"required name=search_term_string"}}]}</script>
2035<script type="text/javascript">dep_require.require(["coupon-stats"], function(couponStats) { 2036 couponStats.initCouponPrint(); 2037 couponStats.initCouponSchedule(); 2038 couponStats.initCouponClick(); 2039 2040 couponStats.initAndroid(); 2041 2042 couponStats.initAppleWallet(); 2043 });</script>
2043
2043<script type="text/javascript"> 2044 dep_require.require(['jquery', 'echo', 'cloudinary-core'], function($, echo) { 2045 var cld_callback = function(element, op) { 2046 if (op === 'load') { 2047 element.className += ' loaded'; 2048 } 2049 } 2050 2051 $.cloudinary.responsive(); 2052 2053 echo.init({offset: 100, throttle: 250, unload: false, offsetHorizontal: 10000, callback: cld_callback}); 2054 setTimeout(function(){ 2055 echo.init({offset: 100, throttle: 250, unload: false, offsetHorizontal: 10000, callback: cld_callback}); 2056 }, 5000); 2057 }); 2058 </script>
vendor: 1 bytes, line 2058
2058
2059<script type="text/javascript"> 2060dep_require.require(['jquery'], function($) { 2061 /** 2062 * This script will set a min width on the container for ie7 and ie8 2063 */ 2064 $(document).ready(function(e) { 2065 ie_min_width(); 2066 $(window).resize(function(){ 2067 ie_min_width(); 2068 }); 2069 }); 2070 2071 /** 2072 * Set a min width to container for IE 7 and 8 2073 */ 2074 function ie_min_width() { 2075 if (navigator.appVersion.indexOf("MSIE 7.") != -1 || navigator.appVersion.indexOf("MSIE 8.") != -1) { 2076 if ($(window).width() < 800) { 2077 $("#container").addClass("ie_min_width"); 2078 } else { 2079 $("#container").removeClass("ie_min_width"); 2080 } 2081 } 2082 } 2083}); 2084</script>
vendor: 1 bytes, line 2084
2084
2085<script type="text/javascript"> 2086 (function(c,l,a,r,i,t,y) { 2087 c[a] = c[a] || function() { 2088 (c[a].q = c[a].q || []).push(arguments) 2089 }; 2090 t = l.createElement(r); 2091 t.async = 1; 2092 t.src = "https://www.clarity.ms/tag/" + i; 2093 y = l.getElementsByTagName(r)[0]; 2094 y.parentNode.insertBefore(t, y); 2095 })(window, document, "clarity", "script", "oyise5ft3f"); 2096</script>
2096<script type="text/javascript"> 2097dep_require.require(["jquery", "dep-event-publisher", "cookies"], function($, depEventPublisher, cookies){ 2098 setTimeout(function(){ 2099 depEventPublisher.setPageData({"language":["en"],"page_category":["home"],"page_type":["full"],"page_id":["1"],"flag_global":[0],"traffic_type":"direct","site_version":[4],"site_locations":{"16454":{"location_id":"16454","latitude":"40.222034","longitude":"-77.159983","title":"Platinum Central Pennsylvania","address1":"1119 Harrisburg Pike ","address2":null,"city":"Carlisle","state":"PA","zip":"17013","phone":null,"fax":null,"email":null,"country_code":"US","dealer_uuid":"4782","address3":"Carlisle, PA 17013","default_site_uuid":"15152","site_uuids":["15152"]},"16460":{"location_id":"16460","latitude":"40.242796","longitude":"-76.989807","title":"Platinum Mitsubishi Mechanicsburg","address1":"6039 Carlisle Pike","address2":null,"city":"Mechanicsburg","state":"PA","zip":"17050","phone":null,"fax":null,"email":null,"country_code":"US","dealer_uuid":"4782","address3":"Mechanicsburg, PA 17050","default_site_uuid":"15144","site_uuids":["15152"]},"16457":{"location_id":"16457","latitude":"40.222034","longitude":"-77.159983","title":"Platinum Pre-Owned Carlisle","address1":" 1119 Harrisburg Pike ","address2":null,"city":"Carlisle","state":"PA","zip":"17013","phone":null,"fax":null,"email":null,"country_code":"US","dealer_uuid":"4782","address3":"Carlisle, PA 17013","default_site_uuid":"15149","site_uuids":["15152"]}},"page_title":[" Dealer Carlisle PA New & Used Cars for Sale - Platinum Central Pennsylvania"]}); 2100 depEventPublisher.publish("finale"); 2101 }, 0); 2102}); 2103</script>
vendor: 1 bytes, line 2103
2103
2104<script> 2105 dep_require.require(['jquery','tippy'], function($, tippy) { 2106 $(document).ready(function() { 2107 tippy("#content", { 2108 theme: 'dep', 2109 arrow: true, 2110 allowHTML: true, 2111 trigger: 'mouseenter focus', 2112 placement: 'top', 2113 interactive: true, 2114 target: ".dep-tippy-content", 2115 popperOptions: { 2116 modifiers: { 2117 preventOverflow: { boundariesElement: 'viewport'} 2118 } 2119 }, 2120 2121 }); 2122 }); 2123 }); 2124</script>
2124
2124<script>window.__CF$cv$params={r:'a4523148ce8fb4b8',t:'MTc5MTA5NTk5OA==',u:'01a105a40a6a7012bf7c79450cc14fcb',ut:'IUGgcmwft8TjTqDDdasM_tdr7CxKHpM9ilhMlJATF1Q-1791095999-1.2.1.1-Wl1bnnyz_MGoI0cXoKZQVPo8MBVTYXDWDRZbc56sLAdKt3ApchKTFDY40vmUekIFX_dTJ2_jQnQUZBdC3ZIzjtNnm3yjcJn4w9uqCS45kA4',i:60};(function(){if(!document.body)return;var s=document.createElement('script');s.src='/cdn-cgi/challenge-platform/scripts/precursor/main.js';document.head.appendChild(s);})();</script>
2124</body> 2125</html> 2126 2127
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.