1<!DOCTYPE html> 2 3<html lang="en"> 4 5<head> 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 7 <title>Apply for an Auto Loan at American Auto Sales. </title> 8 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 9 <meta name="description" content="Apply online for auto financing and get approved at American Auto Sales in Wichita! Easy online application & fast decisions. "> 10 <meta name="og:image" property="og:image" content="https://imagescdn.dealercarsearch.com/DealerImages/19190/47129/logo.png"> 11 <meta name="og:url" property="og:url" content="https://americanautoks.com/creditapp"> 12 <meta name="og:title" property="og:title" content="Apply for an Auto Loan at American Auto Sales. "> 13 <meta name="og:description" property="og:description" content="Apply online for auto financing and get approved at American Auto Sales in Wichita! Easy online application & fast decisions. "> 14 <meta property="og:type" content="website" /> 15 <meta name="ahrefs-site-verification" content="53103b0d9242445bf5556befdfb2c6276ecca58675c43bb2eb60ad5be6a227df"> 16 17 18<link rel="preconnect" href="https://www.googletagmanager.com"/> 19 20 <link rel="stylesheet" href="/Dealers/19001_20000/19190MVC/47129.min.css?v=0O2rx1owgpKcWzR4dYIPMbRN3e876Ok6dzfqkyFJJsU" /> 21 <link rel="canonical" href="https://americanautoks.com/creditapp" /> 22<!-- Global site tag (gtag.js) - Google Analytics -->
vendor: 65 bytes, lines 22-23
22 23<script async src="https://www.googletagmanager.com/gtag/js?id=
23G-3RNWQYM023
vendor: 13 bytes, line 23
23"></script>
24<script> 25
vendor: 136 bytes, lines 25-28
25window.dataLayer = window.dataLayer || []; 26 function gtag(){dataLayer.push(arguments);} 27 gtag('js', new Date()); 28 gtag('config', '
28G-3RNWQYM023
vendor: 5 bytes, line 28
28');
29</script>
29 30 31 32</head> 33 34 35<body class="tertPage creditapp-dcs"> 36 37 <div class="bodyWrapper container"> 38 39 <header class="headerWrapper"> 40 <div class="s25r_menuWrapper"> 41 42 <nav id="s25r_menu" class="navbar navbar-expand-lg"> 43 <button class="siteMenu navbar-toggler" type="button" data-toggle="collapse" data-target="#siteNav" aria-controls="siteNav" aria-expanded="false" aria-label="Toggle navigation"> 44 Site Menu 45 </button> 46 <div class="collapse navbar-collapse" id="siteNav"> 47 <ul class="navbar-nav "> 48 49 <li class="nav-item "> 50 <a href="/inventory?clearall=1" class="nav-link" > 51 <span>Inventory</span> 52 </a> 53 54 </li> 55 <li class="nav-item dropdown"> 56 <a href="/creditapp?" class="nav-link dropdown-toggle" data-toggle=dropdown aria-haspopup=true aria-expanded=false > 57 <span>Financing</span> 58 </a> 59 60 <div class="dropdown-menu"> 61 <a class="dropdown-item" href="/creditapp" ><span>Apply Online</span></a> 62 <a class="dropdown-item" href="/loancalculator" ><span>Loan Calculator</span></a> 63 </div> 64 </li> 65 <li class="nav-item "> 66 <a href="/directions" class="nav-link" > 67 <span>Visit Us</span> 68 </a> 69 70 </li> 71 <li class="nav-item dropdown"> 72 <a href="/sendcomments?" class="nav-link dropdown-toggle" data-toggle=dropdown aria-haspopup=true aria-expanded=false > 73 <span>Services</span> 74 </a> 75 76 <div class="dropdown-menu"> 77 <a class="dropdown-item" href="/trade" ><span>Value Your Trade-In</span></a> 78 <a class="dropdown-item" href="/locatorservice" ><span>Vehicle Finder</span></a> 79 </div> 80 </li> 81 <li class="nav-item dropdown"> 82 <a href="/directions?" class="nav-link dropdown-toggle" data-toggle=dropdown aria-haspopup=true aria-expanded=false > 83 <span>Our Store</span> 84 </a> 85 86 <div class="dropdown-menu"> 87 <a class="dropdown-item" href="/aboutus" ><span>About Us</span></a> 88 <a class="dropdown-item" href="/blog" ><span>Blog</span></a> 89 <a class="dropdown-item" href="/sendcomments" ><span>Contact Us</span></a> 90 <a class="dropdown-item" href="/meetourstaff" ><span>Meet Our Staff</span></a> 91 <a class="dropdown-item" href="/reviews" ><span>Reviews</span></a> 92 <a class="dropdown-item" href="/privacy" ><span>Privacy Policy</span></a> 93 <a class="dropdown-item" href="/terms" ><span>Terms of Service</span></a> 94 </div> 95 </li> 96 </ul> 97 </div> 98 </nav> 99 100 </div> 101 <div class="s25r_headerBottom"> 102 <div class="topHeader row no-gutters"> 103 <div class="logoWrapper"> 104 105 106
106<script type="text/javascript"> 107 var pageTitle = ""; 108 var pageH1 = ""; 109 var pageTitleLength = "0"; 110 111 // The UDO minus the AI Sales Agent's attribution. Those variables are scoped to view 112 // events (DCS-2549), yet they live on init_utag_data because the view events that refire 113 // from it read it at fire time - product_list_view on an SRP filter change, 114 // blog_article_view on a blog ajax refresh. So every NON-view event builds its payload 115 // through here instead of copying init_utag_data itself, and one rule covers them all. 116 // 117 // Declared in this unconditional block, so it exists no matter which of the gated Tealium 118 // blocks below render; it reads init_utag_data only when called, long after parse. 119 function dcsUdoForNonViewEvent() { 120 var data = {}; 121 if (typeof init_utag_data === 'undefined' || !init_utag_data) { return data; } 122 for (var k in init_utag_data) { 123 if (!init_utag_data.hasOwnProperty(k)) { continue; } 124 if (k.indexOf('aisa_') === 0) { continue; } 125 data[k] = init_utag_data[k]; 126 } 127 return data; 128 } 129 130 try { 131 var pageTitleEl = document.querySelector('meta[name="og:title"]') 132 133 if (pageTitleEl != null) { 134 pageTitle = pageTitleEl.content; 135 pageTitleLength = pageTitle.length; 136 } 137 document.addEventListener("DOMContentLoaded", 138 function () { 139 140 var pageH1El = document.querySelector("h1"); 141 142 if (pageH1El != null) { 143 var h1Text = pageH1El.innerText; 144 145 if (h1Text != null) { 146 pageH1 = h1Text; 147 148 if (init_utag_data && init_utag_data.page_h1 != null) { 149 init_utag_data.page_h1 = h1Text; 150 } 151 152 } 153 } 154 else { 155 if (init_utag_data["page_h1"] === "" || init_utag_data["page_h1"] === null) { 156 delete init_utag_data["page_h1"]; 157 } 158 } 159 160 161 }); 162 } 163 catch (e) { 164 console.error('[dcs-tealium] page title/h1 setup failed', e); 165 } 166 </script>
vendor: 2 bytes, line 166
166
167<script type="text/javascript"> 168var init_utag_data = { 169"tealium_event": "standard_view", 170"ga4_id": "G-1VWDVEF9G1", 171"page_title": pageTitle, 172"page_h1": pageH1 , 173"page_title_count": pageTitleLength, 174"digital_retailing_active": "false", 175"ai_product_expert_active": "false", 176"site_company_name": "American Auto Sales", 177"site_id": "47129", 178"site_internal_id": "19190", 179"site_platform": "dcs", 180"site_section": "finance", 181"site_sub_section": "financing form", 182"site_company_city": "Wichita", 183"site_company_state": "KS", 184"site_company_zip_code": "67212", 185"site_phone_main": "316-871-6588", 186}; 187</script>
187 188
188<script type="text/javascript"> 189 var utag_data = init_utag_data; 190 </script>
vendor: 2 bytes, line 190
190
191<script type="text/javascript"> 192utag_data = init_utag_data; 193(function (a, b, c, d) { 194a = 'https://tags.tiqcdn.com/utag/dtms/dcs-eas/prod/utag.js'; 195b = document; c = 'script'; d = b.createElement(c); d.src = a; d.type = 'text/java' + c; d.async = true; 196a = b.getElementsByTagName(c)[0]; a.parentNode.insertBefore(d, a); 197})(); 198window.addEventListener("load", function (event) { 199(function fireView(n) { 200if (typeof utag !== 'undefined' && typeof utag.view === 'function') { 201window.dcsUtagReady = true; 202var dcsViewPayload = ''; 203try { dcsViewPayload = JSON.stringify(utag_data); } catch (e) { dcsViewPayload = '(not serializable)'; } 204var dcsNoisyPrefixes = ['cp.', 'ls.', 'ss.', 'dom.', 'ut.', 'meta.', 'qp.', 'va.', 'tealium_', '_']; 205var dcsOurs = {}, dcsTotal = 0, dcsOurCount = 0; 206for (var dcsK in utag_data) { 207if (!utag_data.hasOwnProperty(dcsK)) { continue; } 208dcsTotal++; 209var dcsNoisy = false; 210for (var dcsI = 0; dcsI < dcsNoisyPrefixes.length; dcsI++) { if (dcsK.indexOf(dcsNoisyPrefixes[dcsI]) === 0) { dcsNoisy = true; break; } } 211if (!dcsNoisy) { dcsOurs[dcsK] = utag_data[dcsK]; dcsOurCount++; } 212} 213var dcsTealiumDebug = false || document.cookie.indexOf('utagdb=true') >= 0; 214try { 215utag.view(utag_data); 216window.dcsUtagViewSent = dcsViewPayload; 217if (dcsTealiumDebug) { console.log('[cms-tealium] sent ' + (utag_data.tealium_event || '(no tealium_event)') + ' | conversation=' + (utag_data.aisa_conversation_id || '-') + ' | widget=' + (utag_data.aisa_widget_version || '-') + ' | ' + dcsOurCount + '/' + dcsTotal + ' vars from DCS', dcsOurs); } 218} catch (e) { console.error('[cms-tealium] utag.view threw; page view not sent', e, dcsViewPayload); } 219return; 220} 221if (n >= 100) { console.error('[cms-tealium] utag.js never loaded after 10s; no page view sent'); return; } 222setTimeout(function () { fireView(n + 1); }, 100); 223})(0); 224}); 225</script>
225 226
226<script type="text/javascript"> 227 var formName = ''; 228 var form_submit_utag_data = { 229"tealium_event": "form_submit", 230"form_name": formName, 231"form_type": formName, 232"form_id": formName, 233"ga4_id": "G-1VWDVEF9G1", 234"page_title": pageTitle, 235"page_title": pageH1, 236"page_title_count": pageTitleLength, 237"page_h1": pageH1, 238"digital_retailing_active": "false", 239"ai_product_expert_active": "false", 240"site_company_name": "American Auto Sales", 241"site_id": "47129", 242"site_internal_id": "19190", 243"site_platform": "dcs", 244"site_section": "finance", 245"site_sub_section": "financing form", 246"site_company_city": "Wichita", 247"site_company_state": "KS", 248"site_company_zip_code": "67212", 249"site_phone_main": "316-871-6588", 250"form_submission_first_name": "", 251"form_submission_last_name": "", 252"form_submission_middle_name": "", 253"form_submission_address": "", 254"form_submission_email": "", 255"form_submission_location_name": "", 256"form_submission_mobile_phone": "", 257"form_submission_home_phone": "", 258"form_submission_postal_code": "", 259"form_submission_city": "", 260"form_submission_trade_in_vin": "", 261"form_submission_trade_in_make": "", 262"form_submission_trade_in_miles": "", 263"form_submission_trade_in_model": "", 264"form_submission_trade_in_year": "", 265"form_submission_trade_in_cylinders": "", 266"form_submission_trade_in_transmission": "", 267"form_submission_trade_in_color": "", 268"form_submission_trade_in_payoff_amount": "", 269"form_submission_trade_in_wrecked": "", 270"form_submission_trade_in_vehicle_option": "", 271}; 272 273 </script>
273 274
274<script type="text/javascript"> 275 function getCookie(name) { 276 var nameEQ = name + "="; 277 var cookies = document.cookie.split(';'); 278 if(typeof(cookies) != 'undefined' && cookies != null ) { 279 for (var i = 0; i < cookies.length; i++) { 280 var cookie = cookies[i].trim(); 281 if (cookie.indexOf(nameEQ) === 0) { 282 return cookie.substring(nameEQ.length); 283 } 284 } 285 } 286 return null; 287 } 288 289 function tealiumFormSubmit(formNameVal) { 290 if (!form_submit_utag_data) { 291 return; 292 } 293 formName = formNameVal; 294 form_submit_utag_data.tealium_event = 'form_submit'; 295 296 var webLeadIdCookie = getCookie('webLeadId'); 297 if (webLeadIdCookie) { 298 form_submit_utag_data.form_submission_id = webLeadIdCookie; 299 } 300 301 utag.link(form_submit_utag_data); 302 }; 303 304 305 // Build a per-event copy of init_utag_data. init_utag_data is aliased by utag_data 306 // (the page-view object), so form events must NOT mutate it in place - doing so 307 // stamps tealium_event='form_load' etc. onto the page view and corrupts it. 308 function tealiumFormData(formNameVal, eventName) { 309 var data = dcsUdoForNonViewEvent(); 310 data.tealium_event = eventName; 311 data.form_name = formNameVal; 312 data.form_id = formNameVal; 313 data.form_type = formNameVal; 314 return data; 315 } 316 317 function tealiumFormLoad(formNameVal) { 318 if (!init_utag_data || typeof utag === 'undefined') { 319 return; 320 } 321 formName = formNameVal; 322 utag.link(tealiumFormData(formNameVal, 'form_load')); 323 }; 324 325 function tealiumFormInteraction(formNameVal) { 326 if (!init_utag_data || typeof utag === 'undefined') { 327 return; 328 } 329 formName = formNameVal; 330 utag.link(tealiumFormData(formNameVal, 'form_interaction')); 331 } 332 333 function tealiumLink(formName) { 334 if (!init_utag_data) 335 return 336 utag.link(init_utag_data); 337 } 338 339 // On list pages (SRP) init_utag_data carries index-aligned product_list_* arrays 340 // instead of a single product. When a shared modal (SMS / Price Drop) opens for a 341 // specific row, set the singular product_* fields for that vehicle so the 342 // form_load / form_interaction events carry per-vehicle context. No-ops on VDP 343 // (no product_list_* arrays), leaving the existing single-product data intact. 344 function tealiumSetListVehicleContext(inventoryId) { 345 if (!init_utag_data || !inventoryId) { return; } 346 var ids = init_utag_data.product_list_ids; 347 if (!ids || !ids.length) { return; } 348 var idx = ids.indexOf(String(inventoryId)); 349 var map = { 350 product_id: 'product_list_ids', 351 product_name: 'product_list_names', 352 product_make: 'product_list_makes', 353 product_brand: 'product_list_brands', 354 product_brand_id: 'product_list_make_ids', 355 product_year: 'product_list_years' 356 }; 357 for (var target in map) { 358 var arr = init_utag_data[map[target]]; 359 if (idx > -1 && arr && idx < arr.length) { 360 init_utag_data[target] = arr[idx]; 361 } else { 362 delete init_utag_data[target]; 363 } 364 } 365 } 366 367 function aipeModalOpen() { 368 if (!init_utag_data || typeof utag === 'undefined') { 369 return; 370 } 371 // Per-event copy - see tealiumFormData comment above for why init_utag_data 372 // must not be mutated in place. 373 var data = dcsUdoForNonViewEvent(); 374 data.tealium_event = 'aipe_modal_open'; 375 utag.link(data); 376 } 377 378 function getTradeOptions() { 379 var stringOptionsVal = ""; 380 $('input[id="vehicleOptions"]:checked').each(function () { 381 let element = $(this); 382 let value = element.val(); // Get the value of the checked element
383 stringOptionsVal += (value + ' ,'); 384 }); 385 return stringOptionsVal; 386 387 } 388 function addTealiumFormInfo(formNameVal, removeTags) { 389 390 var removeFormSubmitTags = false 391 if (removeTags && removeTags == true) 392 removeFormSubmitTags = true 393 394 395 if (!form_submit_utag_data) 396 return 397 398 formName = formNameVal; 399 400 var tForm = document.getElementById(formName); 401 402 if (!tForm) { 403 var formByClass = document.getElementsByClassName(formName); 404 tForm = formByClass && formByClass[0] ? formByClass[0] : null; 405 } 406 407 try { 408 if (tForm && tForm != null && form_submit_utag_data) { 409 410 form_submit_utag_data.form_name = formName; 411 form_submit_utag_data.form_id = formName; 412 form_submit_utag_data.form_type = formName; 413 414 var webLeadIdCookie = getCookie('webLeadId'); 415 if (webLeadIdCookie) { 416 form_submit_utag_data.form_submission_id = webLeadIdCookie; 417 } 418 419 //Lead Info 420 form_submit_utag_data.form_submission_first_name = tForm.querySelector(`${'#FirstName'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#FirstName'}`).value : document.getElementById('txtFirstName') ? document.getElementById('txtFirstName').value : null; 421 form_submit_utag_data.form_submission_last_name = tForm.querySelector(`${'#LastName'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#LastName'}`).value : document.getElementById('txtLastName') ? document.getElementById('txtLastName').value : null; 422 form_submit_utag_data.form_submission_mobile_phone = tForm.querySelector(`${'#MobilePhone'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#MobilePhone'}`).value : document.getElementById('txtMobilePhone') ? document.getElementById('txtMobilePhone').value : null; 423 form_submit_utag_data.form_submission_home_phone = tForm.querySelector(`${'#HomePhone'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#HomePhone'}`).value : document.getElementById('txtHomePhone') ? document.getElementById('txtHomePhone').value : null; 424 form_submit_utag_data.form_submission_email = tForm.querySelector(`${'#Email'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#Email'}`).value : document.getElementById('txtEmail') ? document.getElementById('txtEmail').value : null; 425 form_submit_utag_data.form_submission_postal_code = tForm.querySelector(`${'#txtZip'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtZip'}`).value : document.getElementById('txtZip') ? document.getElementById('txtZip').value : null; 426 form_submit_utag_data.form_submission_city = tForm.querySelector(`${'#txtCity'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtCity'}`).value : document.getElementById('txtCity') ? document.getElementById('txtCity').value : null; 427 428 if (formName.toLowerCase().includes("credit") || formName.toLowerCase().includes("default")) { 429 form_submit_utag_data.form_submission_first_name = document.getElementById('txtApplicantFirstName') && removeFormSubmitTags == false ? document.getElementById('txtApplicantFirstName').value : null; 430 form_submit_utag_data.form_submission_last_name = document.getElementById('txtApplicantLastName') && removeFormSubmitTags == false ? document.getElementById('txtApplicantLastName').value : null; 431 form_submit_utag_data.form_submission_mobile_phone = document.getElementById('txtApplicantMobilePhone') && removeFormSubmitTags == false ? document.getElementById('txtApplicantMobilePhone').value : null; 432 form_submit_utag_data.form_submission_home_phone = document.getElementById('txtApplicantHomePhone') && removeFormSubmitTags == false ? document.getElementById('txtApplicantHomePhone').value : null; 433 form_submit_utag_data.form_submission_email = document.getElementById('txtApplicantEmail') && removeFormSubmitTags == false ? document.getElementById('txtApplicantEmail').value : null; 434 form_submit_utag_data.form_submission_postal_code = document.getElementById('txtApplicantZip') && removeFormSubmitTags == false ? document.getElementById('txtApplicantZip').value : null; 435 form_submit_utag_data.form_submission_city = document.getElementById('txtApplicantCity') && removeFormSubmitTags == false ? document.getElementById('txtApplicantCity').value : null; 436 form_submit_utag_data.form_submission_address = document.getElementById('txtApplicantAddress1') && removeFormSubmitTags == false ? document.getElementById('txtApplicantAddress1').value : document.getElementById('txtApplicantHomeAddress1') ? document.getElementById('txtApplicantHomeAddress1').value : null; 437 438 form_submit_utag_data.product_make = document.getElementById('txtVehicleMake') && removeFormSubmitTags == false ? document.getElementById('txtVehicleMake').value : null; 439 form_submit_utag_data.product_brand = document.getElementById('txtVehicleMake') && removeFormSubmitTags == false ? document.getElementById('txtVehicleMake').value : null; 440 form_submit_utag_data.product_model = document.getElementById('txtVehicleModel') && removeFormSubmitTags == false ? document.getElementById('txtVehicleModel').value : null; 441 form_submit_utag_data.product_year = document.getElementById('txtVehicleYear') && removeFormSubmitTags == false ? document.getElementById('txtVehicleYear').value : null; 442 } 443 //Trade Forms 444 if (formName.toLowerCase().includes("trade") || formName.toLowerCase().includes("lookup")) { 445 form_submit_utag_data.form_submission_trade_in_make = tForm.querySelector(`${'#txtMake'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtMake'}`).value : $('#tradein-make-select').find(":selected").text(); 446 form_submit_utag_data.form_submission_trade_in_model = tForm.querySelector(`${'#txtModel'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtModel'}`).value : $('#tradein-model-select').find(":selected").text(); 447 form_submit_utag_data.form_submission_trade_in_miles = tForm.querySelector(`${'#txtMileage'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtMileage'}`).value : null; 448 form_submit_utag_data.form_submission_trade_in_year = tForm.querySelector(`${'#VehicleYear'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#VehicleYear'}`).value : $('#tradein-year-select').find(":selected").text() != '' ? $('#tradein-year-select').find(":selected").text() : $('#ddlYear').find(":selected").text(); 449 form_submit_utag_data.form_submission_trade_in_color = tForm.querySelector(`${'#txtColor'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtColor'}`).value : null; 450 form_submit_utag_data.form_submission_trade_in_cylinders = tForm.querySelector(`${'#txtEngine'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtEngine'}`).value : null; 451 form_submit_utag_data.form_submission_trade_in_vin = tForm.querySelector(`${'#txtVin'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtVin'}`).value : null; 452 form_submit_utag_data.form_submission_trade_in_transmission = tForm.querySelector(`${'#txtTransmission'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtTransmission'}`).value : null; 453 form_submit_utag_data.form_submission_trade_in_payoff_amount = tForm.querySelector(`${'#txtPayoff'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtPayoff'}`).value : null; 454 form_submit_utag_data.form_submission_trade_in_wrecked = tForm.querySelector(`${'#txtWrecked'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtWrecked'}`).value : null; 455 form_submit_utag_data.form_submission_trade_in_vehicle_option = getTradeOptions(); 456 form_submit_utag_data.form_submission_trade_in_color = tForm.querySelector(`${'#txtColor'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtColor'}`).value : null; 457 } 458 459 //Buy Now form 460 if (formName.toLowerCase().includes("buynow")) { 461 form_submit_utag_data.form_submission_first_name = tForm.querySelector(`${'#txtLeadFirstName'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtLeadFirstName'}`).value : null; 462 form_submit_utag_data.form_submission_last_name = tForm.querySelector(`${'#txtLeadLastName'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtLeadLastName'}`).value : null; 463 form_submit_utag_data.form_submission_home_phone = tForm.querySelector(`${'#txtLeadHomePhone'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtLeadHomePhone'}`).value : null; 464 form_submit_utag_data.form_submission_email = tForm.querySelector(`${'#txtLeadEmail'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtLeadEmail'}`).value : null; 465 } 466 467 //Service, parts , detail, rental forms 468 if (formName.toLowerCase().includes("service") || formName.toLowerCase().includes("rental") || formName.toLowerCase().includes("detailing") || formName.toLowerCase().includes("parts")) { 469 form_submit_utag_data.product_make = tForm.querySelector(`${'#txtMake'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtMake'}`).value : $('#tradein-make-select').find(":selected").text(); 470 form_submit_utag_data.product_brand = tForm.querySelector(`${'#txtMake'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtMake'}`).value : $('#tradein-make-select').find(":selected").text(); 471 form_submit_utag_data.product_model = tForm.querySelector(`${'#txtModel'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtModel'}`).value : $('#tradein-model-select').find(":selected").text(); 472 form_submit_utag_data.product_year = tForm.querySelector(`${'#VehicleYear'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#VehicleYear'}`).value : $('#ddlYear').find(":selected").text(); 473 } 474 475 //Car Proof forms (CarProofForm, Mod
475alCarProofForm) 476 if (formName.toLowerCase().includes("carproof")) { 477 form_submit_utag_data.form_submission_first_name = tForm.querySelector(`${'#txtCarProofFirstName'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtCarProofFirstName'}`).value : null; 478 form_submit_utag_data.form_submission_last_name = tForm.querySelector(`${'#txtCarProofLastName'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtCarProofLastName'}`).value : null; 479 form_submit_utag_data.form_submission_email = tForm.querySelector(`${'#txtCarProofEmail'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtCarProofEmail'}`).value : null; 480 form_submit_utag_data.form_submission_mobile_phone = tForm.querySelector(`${'#txtCarProofPhoneNumber'}`) && removeFormSubmitTags == false ? tForm.querySelector(`${'#txtCarProofPhoneNumber'}`).value : null; 481 } 482 483 //SMS text forms (ModalSmsTextForm, EmbedSmsTextForm, ResponsiveSmsForm, ResponsiveSmsTextingForm) 484 if (formName.toLowerCase().includes("sms")) { 485 var smsFirstName = tForm.querySelector('#txtSMSFirstName, #txtEmbedSMSFirstName, #txtSMSFirstNameForm, #txtSMSFirstNameFS'); 486 var smsLastName = tForm.querySelector('#txtSMSLastName, #txtEmbedSMSLastName, #txtSMSLastNameForm, #txtSMSLastNameFS'); 487 var smsMobilePhone = tForm.querySelector('#txtSMSPhoneNumber, #txtEmbedSMSPhoneNumber, #txtSMSPhoneNumberForm, #txtSMSPhoneNumberFS'); 488 form_submit_utag_data.form_submission_first_name = smsFirstName && removeFormSubmitTags == false ? smsFirstName.value : null; 489 form_submit_utag_data.form_submission_last_name = smsLastName && removeFormSubmitTags == false ? smsLastName.value : null; 490 form_submit_utag_data.form_submission_mobile_phone = smsMobilePhone && removeFormSubmitTags == false ? smsMobilePhone.value : null; 491 } 492 493 //Forms whose email input is bound to EmailAddress (ScheduleTestDriveForm, SimpleLeadCaptureForm, etc.) 494 if ((form_submit_utag_data.form_submission_email == null || form_submit_utag_data.form_submission_email === "") && removeFormSubmitTags == false) { 495 var emailAddressEl = tForm.querySelector(`${'#EmailAddress'}`); 496 if (emailAddressEl) { 497 form_submit_utag_data.form_submission_email = emailAddressEl.value; 498 } 499 } 500 } 501 502 if (form_submit_utag_data) { 503 504 for (var propName in form_submit_utag_data) { 505 if (form_submit_utag_data[propName] === "" || form_submit_utag_data[propName] === null) { 506 delete form_submit_utag_data[propName]; 507 } 508 } 509 } 510 } 511 catch 512 { 513 console.log('Tealium form error ') 514 return null; 515 } 516 517 finally { 518 } 519 } 520 521 function formInteractionListener(formClass, formId, interactionType) { 522 try { 523 var formName = formClass ?? formId; 524 var form = document.querySelector((formClass != null ? '.' : '#') + formName); 525 526 var interacted = false; 527 528 form.addEventListener(interactionType ?? 'change', function () { 529 if (interacted == true) 530 return 531 interacted = true; 532 addTealiumFormInfo(formName, true) 533 534 tealiumFormInteraction(formName) 535 }, { once: true });
536 } 537 538 catch { 539 console.log('error loading form interaction events: ' + formName) 540 } 541 } 542 543 // Form events must wait until utag is fully initialized - not merely defined. 544 // window.dcsUtagReady is set right after the initial utag.view (see GetUTagScript), 545 // which is the point the data layer/tags are established. Firing before that runs 546 // load rules on an uninitialized utag and crashes it ("called before tags loaded"). 547 function whenUtagReady(callback, attempts) { 548 attempts = attempts || 0; 549 if (typeof utag !== 'undefined' && window.dcsUtagReady === true) { 550 callback(); 551 return; 552 } 553 if (attempts >= 150) { 554 return; 555 } 556 setTimeout(function () { whenUtagReady(callback, attempts + 1); }, 100); 557 } 558 559 function formLoadListener(formClass, formId) { 560 try { 561 var formName = formClass ?? formId; 562 var viewed = false; 563 var observer = new IntersectionObserver(function (entries) { 564 565 566 if (entries[0].isIntersecting === true && viewed == false) { 567 viewed = true; 568 addTealiumFormInfo(formName, true) 569 // utag.js loads async; if the form is above the fold the observer 570 // can fire before utag exists, so defer until it is ready. The 571 // extra delay pushes the fire past document_idle so Tealium's event 572 // viewer (whose capture hook attaches after window.load) sees it. 573 whenUtagReady(function () { setTimeout(function () { tealiumFormLoad(formName) }, 750) }) 574 } 575 }, { threshold: [0] }); 576 577 observer.observe(document.querySelector((formClass != null ? '.' : '#') + formName)); 578 } 579 catch { 580 console.log('error loading form interaction events: ' + formName) 581 582 } 583 } 584 </script>
584 585 586 587<a id="hlLogo" aria-label="Dealer Logo" href="//americanautoks.com"> 588 <img class="dealerLogo logo logo_19190 img-fluid" title="American Auto Sales" alt="American Auto Sales" src="https://imagescdn.dealercarsearch.com/DealerImages/19190/47129/logo.png" /> 589</a> 590 </div> 591 <div class="addressWrapper"> 592 593 <div id="AddressPane" class="s25r_addressPane"> 594 595<div class="ContentPane_320165 AddressAndPhone AddressAndPhone_320165"> 596 597<div class="AddressPhone_Main"> 598 <span class="LabelAddress1"> 599 <i class="fa-solid fa-location-dot"></i> 5601 W. Central 600 </span> 601 <span class="LabelCityStateZip1">Wichita, KS 67212</span> 602 <span class="LabelPhone1"> 603 <i class="fa-solid fa-phone"></i> 604 <a href='tel:316-871-6588'> 605 316-871-6588 606 </a> 607 </span> 608 609 610 611 612</div> 613</div></div> 614 615 <div id="SocialMediaPane" class="s25r_SocialMediaPane"> 616 617<div class="ContentPane_320166 SocialMedia SocialMedia_320166"> 618 619<div class="socialMedia"> 620 <a href="https://www.facebook.com/AMERICANAUTOSALESKS/" target="_blank" rel="noopener" title="Follow Us on Facebook" aria-label="Follow Us on Facebook"> 621 <i class='fa-brands fa-facebook-f'></i> 622 </a> 623 624 625 626 627 628 629 630 631 632</div></div></div> 633 </div> 634 </div> 635 </div> 636 </header> 637 638 <main class="s25r_wrapper"> 639 640 <div id="ContentPane" class="s25r_tert clearfix"> 641 642<div class="ContentPane_2298555 HTMLModule HTMLModule_2298555"> 643 644 645<iframe style="width: 100%; height: 1500px; overflow: show;" src="https://www.accreditapp.com/ACCreditApp_spf.aspx?ACCFX=54399o7651" width="100" height="100" scrolling="yes">Iframes not supported</iframe></div> 646<div class="ContentPane_320171 VisitedVehiclesModal VisitedVehiclesModal_320171"> 647 648 649<button id="btnVisitedVehicles" class="leftLowerBtnVisited btn btn-secondary collapsed _btnVisited" 650 data-toggle="collapse" 651 data-target="#VisitedTray" 652 onclick="viewVisited('spotlight')"> 653 654 <i class="fa-solid fa-clock-rotate-left"></i> Recently Visited Vehicles <span id="visitedCountBtnSpan" class="visitedCount replaceVisitedCountsSpan font-weight-bold "></span> 655</button> 656<div class=" visitedOuterWrapper " id="visitedModalMain" tabindex="-1" role="dialog" aria-labelledby="visitedModalMainLabel" aria-hidden="true"> 657 <div id="VisitedTray" 658 class="visited-carousel-tray collapse container-fluid fixed-bottom " 659 style="width: 80%; max-width: 80%" 660 role="document"> 661 662 <div class=" modal-content-visited-tray px-3"> 663 <div class=" modal-content-visited-tray pt-2 "> 664 <button type="button" class="close text-white" data-toggle="collapse" onclick="showVisitedButton();" data-target="#VisitedTray">×</button> 665 </div> 666 <div class=" container-fluid py-2 "> 667 <div class="row pb-2 px-3"> 668 <h4 class="modal-title ml-auto mr-auto pt-2 " style="text-align: center;" id="visitedModalMainLabel"> Recently Visited Vehicles</h4> 669 670 </div> 671 <div class="visited-vehicles-loading visited-vehicles-loading-top"> 672 <div id="VisitedVehicleSpinner" class="visited-vehicles-spinner d-none"> </div> 673 </div> 674 <div class="replaceVisited" id="replaceVisitedContent"> 675 <div id="replaceInnerContent"> 676 <p class=" py-3 noVisitedVehcilesMessage d-none text-center"> Your Recently Viewed Vehicles Will Appear Here.</p> 677 </div> 678 <hr> 679 680 </div> 681 682 <div class="row mr-0 "> 683 <div class="col-sm-6"> 684 <a class="btn float-sm-none float-md-left float-md-left" href="/newandusedcars?clearall=1"> 685 View All Inventory 686 </a> 687 </div> 688 <div class=" col-sm-6 replaceVisitedCompareButton"> 689 690 691 </div> 692 </div> 693 </div> 694 </div> 695 696 </div> 697 698</div> 699<div class="replaceVisitedCompareModuleOuterWrap"> 700 701 <div class="replaceVisitedCompareModule"> 702 703 </div> 704</div> 705 706<div class="replaceVisitedPriceDropModuleOuterWrap"> 707 <div class="replaceVisitedPriceWatchModule"> 708 <div class="modal fade" id="pricedropModal" tabindex="-1" role="dialog" aria-labelledby="pricedropModalLabel" aria-hidden="true"> 709 <div class="modal-dialog" role="document"> 710 <div class="modal-content"> 711 <div class="modal-header"> 712 <h5 class="modal-title" id="pricedropModalLabel">Price Drop Notifications</h5> 713 <button type="button" class="close" data-dismiss="modal" aria-label="Close">
714 <span aria-hidden="true">×</span> 715 </button> 716 </div> 717 <div class="modal-body"> 718 719<div class="formWrap price-drop-form-wrapper"> 720 <div class=" alert alert-success price-drop-modal-success" role="alert" style=" display: none"> 721 Vehicle Price Watch submitted 722 </div> 723 <form id="PriceDropSubmitForm" data-ajax="true" data-ajax-method="post" data-ajax-success="priceDropSuccess();formLeadTracking('0', '', 'Price Drop Form');formTrack('success','RecentlyVisitedVehicles');redirect('');" data-ajax-failure="ajaxFailure" data-ajax-loading=".price-drop-form-spinner" data-ajax-begin="$('.price-drop-form-button').prop('disabled',true);addTealiumFormInfo('PriceDropSubmitForm');" data-ajax-complete="$('.price-drop-form-button').prop('disabled',false);" data-recaptcha-id="PriceDropRecaptchaToken" data-recaptcha-site-key="" data-recaptcha-type="Undefined" action="/LeadModule/PriceDropSubmitForm?pagename=creditapp&modulename=RecentlyVisitedVehicles" method="post"> 724 725 <div class="form-group"> 726 <label class="col-form-label" id="lblPriceDropFirstName" for="FirstName">First Name:</label> 727 <input type="text" aria-labelledby="lblPriceDropFirstName" class="txtDropFirstName form-control" data-val="true" data-val-required="Please enter your first name" id="FirstName" name="FirstName" value="" /> 728 <span class="text-danger field-validation-valid" data-valmsg-for="FirstName" data-valmsg-replace="true"></span> 729 </div> 730 731 <div class="form-group"> 732 <label class="col-form-label" id="lblPriceDropLastName" for="LastName">Last Name:</label> 733 <input type="text" aria-labelledby="lblPriceDropLastName" class="txtDropLastName form-control" data-val="true" data-val-required="Please enter your last name" id="LastName" name="LastName" value="" /> 734 <span class="text-danger field-validation-valid" data-valmsg-for="LastName" data-valmsg-replace="true"></span> 735 </div> 736 737 <div class="form-group"> 738 <label class="col-form-label" id="lblPriceDropEmail" for="Email">Email:</label> 739 <input type="email" aria-labelledby="lblPriceDropEmail" class="txtDropEmail form-control" onchange="$('.txtDropMobilePhone').valid();" data-other="MobilePhone" data-val="true" data-val-requiredifother="Please enter phone or email" id="Email" name="Email" placeholder="[email protected]" value="" /> 740 <span class="text-danger field-validation-valid" data-valmsg-for="Email" data-valmsg-replace="true"></span> 741 </div> 742 743 <div class="form-group"> 744 <label class="col-form-label" id="lblPriceDropMobilePhone" for="MobilePhone">Mobile Phone:</label> 745 <input type="tel" aria-labelledby="lblPriceDropMobilePhone" class="txtDropMobilePhone form-control" onchange="$('.txtDropEmail').valid();" data-other="Email" data-val="true" data-val-regex="ex. ###-###-####" data-val-regex-pattern="^\([0-9]{3}\)\s?[0-9]{3}(-|\s)?[0-9]{4}$|^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$" data-val-requiredifother="Please enter phone or email" id="MobilePhone" name="MobilePhone" placeholder="###-###-####" value="" /> 746 <span class="text-danger field-validation-valid" data-valmsg-for="MobilePhone" data-valmsg-replace="true"></span> 747 </div> 748 749 750 <div class="contact-disclaimer"> 751 <div class="form-group"> 752 <div class="form-check "> 753 <input type="checkbox" aria-label="Contact Consent" class="form-check-input" id="chkContactDisclaimerConsent1743" data-val="true" data-val-required="The ContactDisclaimerConsent field is required." name="ContactDisclaimerConsent" value="true" /> 754 <label for="chkContactDisclaimerConsent1743" aria-labelledby="chkContactDisclaimerConsent1743"> 755 <strong>ACKNOWLEDGMENT AND CONSENT:</strong> 756 </label>
757 <span class="text-danger field-validation-valid" data-valmsg-for="ContactDisclaimerConsent" data-valmsg-replace="true"></span> 758 </div> 759 By checking this box, you expressly consent to receive customer care text messages and/or phone calls to the number provided from or on behalf of American Auto Sales or their employees in response to your inquiry. By opting in, you understand no mobile information will be shared with third parties or affiliates for marketing or promotional purposes. Message frequency varies per user. Message and data rates may apply. You may withdraw your consent at any time by texting "STOP" or "HELP" for help. See our <a href="https://americanautoks.com/privacy" target="_blank" rel="noopener">Privacy Policy</a> for more information. 760 </div> 761</div> 762 763 <div></div> 764 765 <button class="btn price-drop-form-button"> 766 Submit 767 <i class="fa-solid fa-rotate fa-spin fa-fw price-drop-form-spinner" style="display: none"></i> 768 </button> 769 <input type="hidden" name="CssClassPrefix" value="i10r" /> 770 <input type="hidden" id="priceDropInventoryId" data-val="true" data-val-required="The InventoryId field is required." name="InventoryId" value="0" /> 771 <input type="hidden" id="priceDropDealerId" data-val="true" data-val-required="The DealerId field is required." name="DealerId" value="0" /> 772 <input type="hidden" id="priceDropPriceType" data-val="true" data-val-required="The PriceType field is required." name="PriceType" value="Undefined" /> 773 <input type="hidden" id="priceDropStockNumber" name="StockNumber" value="" /> 774 775 <div class="RowIce"><input type='text' autocomplete='off' aria-label='Name' name='Name' class='form-control' /></div> 776 <input name="__RequestVerificationToken" type="hidden" value="CfDJ8PpyLBkFqepBsOO-JODtNhhSb4Je0WUxBM50RNBNM4Dv-ymYeBh81AGIlof5HMZvKJjVznOFwTDlpmJgFA8uZyWZiFcjSfRwUFJcXQG2gYaTIf8SuWkz1WXPk3rbmfLhWcOUpko071dbxbVIJia1mP0" /><input name="ContactDisclaimerConsent" type="hidden" value="false" /></form> 777
777<script type="text/javascript"> 778 (function () { 779 function bind(attempts) { 780 attempts = attempts || 0; 781 782 // Bootstrap 4 modal events are jQuery-triggered, so we need jQuery; it may not 783 // be parsed yet at this inline point, so wait for it. 784 if (typeof window.jQuery === "undefined") { 785 if (attempts < 100) { setTimeout(function () { bind(attempts + 1); }, 100); } 786 return; 787 } 788 if (typeof tealiumFormLoad === "undefined" || typeof tealiumFormInteraction === "undefined") { return; } 789 790 var $ = window.jQuery; 791 var $form = $('#PriceDropSubmitForm').first(); 792 if (!$form.length) { return; } 793 var $modal = $form.closest('.modal'); 794 if (!$modal.length) { return; } 795 796 // #pricedropModal is a SINGLE shared modal reused by every "Price Drop" button 797 // in an inventory list (SRP). PriceDropForm_UpdateVehicleId swaps the vehicle 798 // before each open, so fire on each open (re-arming) rather than the one-shot 799 // IntersectionObserver / { once:true } listeners, which would only ever track 800 // the first vehicle a visitor engages. Namespaced off/on also collapses 801 // duplicate registrations (list module + VisitedVehiclesModal) to one handler. 802 $modal 803 .off('shown.bs.modal.tealiumPriceDrop') 804 .on('shown.bs.modal.tealiumPriceDrop', function () { 805 if (typeof tealiumSetListVehicleContext !== "undefined") { 806 tealiumSetListVehicleContext($('#priceDropInventoryId').val()); 807 } 808 addTealiumFormInfo('PriceDropSubmitForm', true); 809 if (typeof whenUtagReady !== "undefined") { 810 whenUtagReady(function () { tealiumFormLoad('PriceDropSubmitForm'); }); 811 } else { 812 tealiumFormLoad('PriceDropSubmitForm'); 813 } 814 815 $('#PriceDropSubmitForm').first() 816 .off('change.tealiumPriceDrop') 817 .one('change.tealiumPriceDrop', function () { 818 addTealiumFormInfo('PriceDropSubmitForm', true); 819 tealiumFormInteraction('PriceDropSubmitForm'); 820 }); 821 }); 822 823 $modal 824 .off('hidden.bs.modal.tealiumPriceDrop') 825 .on('hidden.bs.modal.tealiumPriceDrop', function () { 826 $('#PriceDropSubmitForm').first().off('change.tealiumPriceDrop'); 827 }); 828 } 829 830 if (document.readyState === "loading") { 831 document.addEventListener("DOMContentLoaded", function () { bind(0); }); 832 } else { 833 bind(0); 834 } 835 })(); 836 </script>
836 837</div> 838 </div> 839 <div class="modal-footer"> 840 841 </div> 842 </div> 843 </div> 844 </div> 845 </div> 846 </div> 847 848 849 850 <input name="__RequestVerificationToken" type="hidden" value="CfDJ8PpyLBkFqepBsOO-JODtNhhSb4Je0WUxBM50RNBNM4Dv-ymYeBh81AGIlof5HMZvKJjVznOFwTDlpmJgFA8uZyWZiFcjSfRwUFJcXQG2gYaTIf8SuWkz1WXPk3rbmfLhWcOUpko071dbxbVIJia1mP0" /> 851 852 <input type="hidden" id="visitedModalCssClassPrefixId" value="ir10" /> 853 <input type="hidden" id="hidePriceDrop" data-val="true" data-val-required="The HidePriceDrop field is required." name="HidePriceDrop" value="False" /> 854 <input type="hidden" id="hideCompare" data-val="true" data-val-required="The HideCompare field is required." name="HideCompare" value="False" /> 855 <input type="hidden" id="showVisitedSpotlight" data-val="true" data-val-required="The ShowVisitedSpotlight field is required." name="ShowVisitedSpotlight" value="True" /> 856 <input type="hidden" id="showVisitedButtonBeforeViewing" data-val="true" data-val-required="The ShowVisitedButtonBeforeViewing field is required." name="ShowVisitedButtonBeforeViewing" value="False" /> 857 858 <input type="hidden" id="VisitedCssClassPrefix" name="CssClassPrefix" value="" /> 859 <input type="hidden" id="IsListModule" data-val="true" data-val-required="The IsListModule field is required." name="IsListModule" value="False" /> 860 <input type="hidden" id="VisitedNameOfCarousel" value="#VisitedVehiclesCarousel" /> 861 <input type="hidden" id="VisitedAutoScroll" value="false" /> 862 <input type="hidden" class="visitedNumberOfCars" value="6" /> 863 <input type="hidden" class="totalNumberOfCars" value="50" /> 864 <input type="hidden" id="VisitedAutoScrollEveryXMilliseconds" value="8000" /> 865 <input type="hidden" id="VisitedVehiclesButtonLocation" name="VisitedVehiclesButtonLocation" value="leftLowerBtnVisited" /> 866 <input type="hidden" id="compareModalCssClassPrefixId" value="ir10" /> 867 <input type="hidden" id="showCompareLocation" value="false" /> 868 869 <div class="RowIce"><input type='text' autocomplete='off' aria-label='Name' name='Name' class='form-control' /></div> 870
870<script type="text/javascript"> 871 872 function setCookie(cname, cvalue, exdays) { 873 const d = new Date(); 874 d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); 875 let expires = "expires=" + d.toUTCString(); 876 document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; 877 } 878 879 function getCookie(cname) { 880 let name = cname + "="; 881 let decodedCookie = decodeURIComponent(document.cookie); 882 let ca = decodedCookie.split(';'); 883 for (let i = 0; i < ca.length; i++) { 884 let c = ca[i]; 885 while (c.charAt(0) == ' ') { 886 c = c.substring(1); 887 } 888 if (c.indexOf(name) == 0) { 889 return c.substring(name.length, c.length); 890 } 891 } 892 return ""; 893 } 894 var recentlyVisitedClicked = false; 895 896 function viewVisited(type) { 897 initializeCompareModule(); 898 if (type == "spotlight") { 899 var compareTrayElement = document.getElementById('compareTray'); 900 901 if (compareTrayElement !== null) { 902 903 var compareHidden = document.getElementById('hideCompare').value; 904 if (compareHidden !== 'True') { 905 if (document.getElementById('compareTray').classList.contains('show') || document.getElementById('compareTray').style.display == 'block') { 906 $("#compareTray").collapse("hide"); 907 } 908 } 909 } 910 911 912 $("#VisitedTray").collapse("show"); 913 } 914 else { 915 $('#visitedModalMain').show(); 916 $("#visitedModalMain").modal(); 917 } 918 919 var visitedList = getCookie("visited"); 920 var visitedListIds = visitedList.split("/"); 921 if (visitedList == null || visitedList == "") { 922 $(".noVisitedVehcilesMessage").removeClass("d-none"); 923 return 924 } 925 else { 926 $(".noVisitedVehcilesMessage").addClass("d-none"); 927 928 } 929 930 if (visitedListIds.length <= 1) { 931 $("#RemoveVisited").addClass("d-none"); 932 } 933 else { 934 $("#RemoveVisited").removeClass("d-none"); 935 } 936 937 if (!recentlyVisitedClicked) { 938 939 getVisitedVehicles(true, true); 940 941 } 942 $('#visitedModalMain').on('hide.bs.modal', 943 function (e) { 944 $("#textingFormReplaceDiv").show(); 945 }); 946 if (compareHidden !== 'True') { 947 checkVisitedCompareCounts(); 948 } 949 950 } 951 952 function removeAllVisited() { 953 setCookie("visited", "", 0); 954 getVisitedVehicles(true, true); 955 document.getElementById("btnVisitedVehicles").style.display = "block"; 956 document.getElementById("visitedCountBtnSpan").innerHTML = "" 957 958 var showVisitedButtonBeforeViewing = document.getElementById("showVisitedButtonBeforeViewing").value 959 if (showVisitedButtonBeforeViewing == "False") { 960 document.getElementById("btnVisitedVehicles").style.display = "none"; 961 } 962 } 963 var resultCount = 0; 964 var spotlightResultsCount = 0; 965 966 function getVisitedVehicles(showLoading, replaceContent) {
967 initializeCompareModule(); 968 var cssClassPrefix = document.getElementById("compareModalCssClassPrefixId") != null && document.getElementById("compareModalCssClassPrefixId").value != '' ? document.getElementById("compareModalCssClassPrefixId").value : "ir10"; 969 var hidePriceDrop = document.getElementById("hidePriceDrop").value; 970 var hideCompare = document.getElementById("hideCompare").value; 971 var showVisitedSpotlight = document.getElementById("showVisitedSpotlight").value; 972 var visitedVehiclesButtonLocation = document.getElementById("VisitedVehiclesButtonLocation").value; 973 974 var isListModule = document.getElementById("IsListModule").value; 975 976 if (showLoading) { 977 $(".visitedVehiclesBody").addClass("d-none"); 978 $("#VisitedVehicleSpinner").addClass("d-block"); 979 $("#VisitedVehicleSpinner").removeClass("d-none"); 980 } 981 982 var visitedCookie = getCookie("visited") 983 $("#RemoveVisited").addClass("d-none"); 984 if (visitedCookie == null || visitedCookie == "") { 985 $(".noVisitedVehcilesMessage").removeClass("d-none"); 986 if (showLoading) { 987 $(".visitedVehiclesBody").addClass("d-none"); 988 $("#VisitedVehicleSpinner").addClass("d-none"); 989 $("#VisitedVehicleSpinner").removeClass("d-block"); 990 } 991 $("#RemoveVisited").addClass("d-none"); 992 993 return; 994 } 995 $.ajax({
996 url: "/InventoryModule/UpdateVisitedVehiclesModule?pagename=" + $("#CurrentPageName").val() + 997 "&cssClassPrefix=" + cssClassPrefix + 998 "&hideCompare=" + hideCompare + "&hidePriceDrop=" + hidePriceDrop + "&showVisitedSpotlight=" + showVisitedSpotlight + "&isListModule=" + isListModule + "&visitedVehiclesButtonLocation=" + visitedVehiclesButtonLocation 999 , 1000 type: "GET", 1001 headers: { "RequestVerificationToken": $('input[name="__RequestVerificationToken"]').val() }, 1002 success: function (response) { 1003 var results = $(response).find(".replaceVisited") 1004 var resultsMobile = $(response).find(".replaceVisitedMobile") 1005 1006 var carouselResults = $(response).find(".replaceVisitedCarousel") 1007 var carouselResultsMobile = $(response).find(".replaceVisitedCarouselMobile") 1008 1009 var replaceVisitedCompareModule = $(response).find(".replaceVisitedCompareModule") 1010 var replaceVisitedCompareButton = $(response).find(".replaceVisitedCompareButton") 1011 1012 var replaceVisitedCountsSpan = $(response).find(".replaceVisitedCountsSpan") 1013 1014 //var replaceVisitedPriceWatchModule = $(response).find(".replaceVisitedPriceWatchModule") 1015 1016 if (replaceContent) { 1017 $(".replaceVisited").each(function (i) { $(this).replaceWith(results[i]); }); 1018 $(".replaceVisitedMobile").each(function (i) { $(this).replaceWith(resultsMobile[i]); }); 1019 1020 $(".replaceVisitedCarousel").each(function (i) { $(this).replaceWith(carouselResults[i]); }); 1021 $(".replaceVisitedCarouselMobile").each(function (i) { $(this).replaceWith(carouselResultsMobile[i]); }); 1022 1023 $(".replaceVisitedCompareModule").each(function (i) { $(this).replaceWith(replaceVisitedCompareModule[i]); }); 1024 $(".replaceVisitedCompareButton").each(function (i) { $(this).replaceWith(replaceVisitedCompareButton[i]); }); 1025 1026 // $(".replaceVisitedPriceWatchModule").each(function (i) { $(this).replaceWith(replaceVisitedPriceWatchModule[i]); }); 1027 1028 compareMaxNumberOfVehicles = document.getElementById("compareMaxNumberOfVehicles") !== null ? parseInt(document.getElementById("compareMaxNumberOfVehicles").value) : null; 1029 } 1030 1031 $(".replaceVisitedCountsSpan").each(function (i) { $(this).replaceWith(replaceVisitedCountsSpan[i]); }); 1032 1033 spotlightResultsCount = results.find(".rspotlightItem").length; 1034 resultCount = results.find(".visitedVehicleItem").length; 1035 if (resultCount > 1 || spotlightResultsCount > 1) { 1036 $("#RemoveVisited").removeClass("d-none"); 1037 } 1038 }, 1039 error: function (xhr, ajaxOptions, thrownError) { 1040 alert("Visited Vehicles update failed."); 1041 }, 1042 complete: function () { 1043 if (showLoading) { 1044 $("#VisitedVehicleSpinner").removeClass("d-block"); 1045 $("#VisitedVehicleSpinner").addClass("d-none"); 1046 $(".visitedVehiclesBody").removeClass("d-none"); 1047 } 1048 $("#textingFormReplaceDiv").hide(); 1049 recentlyVisitedClicked = true; 1050 initializeCompareModule(); 1051 1052 checkVisitedCompareCounts(); 1053 } 1054 }); 1055 } 1056 1057 function showVisitedButton() { 1058 var btnVisitedVehicles = document.getElementById('btnVisitedVehicles'); 1059 var btnCompareCount = document.getElementById('btnCompareCount'); 1060 1061 if (btnVisitedVehicles) { 1062 document.getElementById('btnVisitedVehicles').style.visibility = 'visible'; 1063 } 1064 1065 if (btnCompareCount) { 1066 document.getElementById('btnCompareCount').style.visibility = 'visible'; 1067 } 1068 1069 var visitedList = getCookie("visited"); 1070 1071 var showVisitedButtonBeforeViewing = document.getElementById("showVisitedButtonBeforeViewing").value 1072 if (showVisitedButtonBeforeViewing == "False") { 1073 1074 if (visitedList == null || visitedList == "") { 1075 document.getElementById("btnVisitedVehicles").style.display = "none"; 1076 } 1077 } 1078 } 1079 1080 function removeVehicleFromVisited(visitedId, element, replaceContent) { 1081 $(element).closest(".rspotlightItem").hide() 1082 $(element).closest(".visitedVehicleItem").remove(); 1083 var visitedList = getCookie("visited"); 1084 1085 if (visitedId) { 1086 var visitedListIds = visitedList.split("/"); 1087 var existsIndex = visitedListIds.indexOf(visitedId.toString()) 1088 if (visitedListIds.length > 0 && existsIndex !== -1) { 1089 visitedListIds.splice(existsIndex, 1) 1090 } 1091
1092 setCookie("visited", visitedListIds.toString().replace(/,/g, "/"), 90); 1093 getVisitedVehicles(false, replaceContent); 1094 } 1095 } 1096 1097 var visitedList = getCookie("visited"); 1098 1099 var showVisitedButtonBeforeViewing = document.getElementById("showVisitedButtonBeforeViewing").value 1100 if (showVisitedButtonBeforeViewing == "False") { 1101 1102 if (visitedList == null || visitedList == "") { 1103 document.getElementById("btnVisitedVehicles").style.display = "none"; 1104 } 1105 } 1106 1107 document.addEventListener("DOMContentLoaded", () => { 1108 if (visitedList == "") { 1109 document.getElementById("visitedCountBtnSpan").innerHTML = "" 1110 } 1111 else { 1112 var visitedListIds = visitedList.split("/"); 1113 1114 if (visitedListIds.length > 0) { 1115 document.getElementById("visitedCountBtnSpan").innerHTML = visitedListIds.length 1116 } 1117 } 1118 1119 }); 1120 1121 </script>
1121 1122</div></div> 1123 </main> 1124 1125 <footer class="footerWrapper"> 1126 1127 <div id="FooterPane" class="s25r_footer"> 1128 1129<div class="ContentPane_320169 FooterNav FooterNav_320169"> 1130<div class="footerNav"> 1131 <a href="/default" Target="_top" Title="Home" aria-label="Home">Home</a> 1132 1133<span class="footer-sep">|</span> 1134 1135 <a href="/aboutus" Target="_top" Title="About Us" aria-label="About Us">About Us</a> 1136 1137<span class="footer-sep">|</span> 1138 1139 <a href="/sendcomments" Target="_top" Title="Contact Us" aria-label="Contact Us">Contact Us</a> 1140 1141<span class="footer-sep">|</span> 1142 1143 <a href="/privacy" Target="_top" Title="Privacy" aria-label="Privacy">Privacy Policy</a> 1144 1145 <span class="footer-sep">|</span> 1146 1147 <a href="/terms" Target="_top" Title="Terms of Service" aria-label="Terms of Service">Terms of Service</a> 1148 1149 1150</div></div> 1151<div class="ContentPane_320167 Copyright Copyright_320167"> 1152<div class="copyright_main"> 1153 <div class="dcsLogin"> 1154 <a href="https://www.dealercarsearch.com" Target="_blank" rel="noopener nofollow">Dealer Car Search Login</a> 1155 </div> 1156 1157 <div class="copyright"> 1158Copyright 2026 | <a href="/sitemap" Target="_blank" rel="noopener">Sitemap</a> 1159 1160 <span>| </span> 1161 <a href="#" id="lv_cm_btn" onclick='document.getElementById("__tealiumGDPRcpPrefs").style.display="block";'> 1162 Your Privacy Choices 1163 <img alt="Privacy Choices" src="https://consent.trustarc.com/get?name=privacy_choices_icon.png" style="cursor: pointer; display: inline-block; margin-left: 5px; position: relative; top: -1px; width: 28.06px; height: 13.92px; background-size: 28.06px 13.92px; background-repeat: no-repeat;"> 1164 </a> 1165
1165<script type="text/javascript"> 1166 1167 1168 document.addEventListener("consentUpdate", (e) => location.href=window.location.href); 1169 </script>
1169 1170 1171 </div> 1172 1173</div> 1174</div> 1175<div class="ContentPane_320168 SEO SEO_320168"> 1176 1177<div class="SeoText" itemscope itemtype="http://schema.org/AutoDealer"> 1178 <span itemprop="name">American Auto Sales</span> 1179 <i itemtype="http://schema.org/PostalAddress" itemscope itemprop="address"> 1180 <span itemprop="streetAddress">5601 W. Central,</span> 1181 <span itemprop="addressLocality">Wichita,</span> 1182 <span itemprop="addressRegion">KS</span> 1183 <span itemprop="postalCode">67212</span> 1184 </i> 1185 <a itemprop="telephone" href="tel://316-871-6588">316-871-6588</a> 1186 <a itemprop="url" href="https://americanautoks.com">https://americanautoks.com</a> 1187 <img itemprop="logo" src="https://imagescdn.dealercarsearch.com/DealerImages/19190/47129/logo.png" alt="Logo" /> 1188</div></div></div> 1189 </footer> 1190 1191 </div> 1192 1193 1194 <div id="ChatPane" class=""> 1195 1196<div class="ContentPane_320170 ResponsiveSMSTexting ResponsiveSMSTexting_320170"> 1197 1198<div id="textingFormReplaceDiv"> 1199 <a class="smsBtn smsBtnFS " data-toggle="modal" data-target="#SMSModal" rel="nofollow" href="#" onclick="event.preventDefault();"> 1200 <div class="sms-fixed__bottom"> <span class="sms-icon"><i class="fas fa-comments"></i></span> <span class="sms-text"> Text Us</span> </div> 1201 </a> 1202 <div class="smsModalFS modal fade" id="SMSModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> 1203 1204 <div class="modal-dialog"> 1205 <div class="modal-content"> 1206 1207 <div class="modal-header"> 1208 <h4 class="modal-title" id="H1">Text us</h4> 1209 <button type="button" class="close" data-dismiss="modal"> 1210 <span aria-hidden="true">×</span> 1211 <span class="sr-only">Close</span> 1212 </button> 1213 </div> 1214 1215 <div class="modal-body"> 1216 <form id="ResponsiveSmsTextingForm-SMSModal" data-ajax="true" data-ajax-mode="replace-with" data-ajax-update="#textingFormReplaceDiv" data-ajax-method="post" data-ajax-failure="ajaxFailure" data-ajax-loading=".spinner-SMSModal" data-ajax-begin="$('.btn-SMSModal').prop('disabled',true);addTealiumFormInfo('ResponsiveSmsTextingForm-SMSModal');" data-ajax-success="formTrack('success','ResponsiveSMSTextingForm');formLeadTracking('0', '', 'SMS Texting Form')" data-recaptcha-id="ResponsiveSmsTextingRecaptchaToken" data-recaptcha-site-key="" data-recaptcha-type="Undefined" action="/LeadModule/ResponsiveSmsSubmitForm?pagename=creditapp&modulename=ResponsiveSMSTextingForm&websitepagemoduleid=0" method="post"> 1217 1218 <div class="form-group"> 1219 <label id="lblSMSFirstNameFS" for="FirstName">First Name</label> 1220 <input aria-labelledby="lblSMSFirstNameFS" type="text" id="txtSMSFirstNameFS" class="form-control" data-val="true" data-val-required="The First Name field is required." name="FirstName" value="" /> 1221 <span class="text-danger field-validation-valid" data-valmsg-for="FirstName" data-valmsg-replace="true"></span> 1222 </div> 1223 <div class="form-group"> 1224 <label id="lblSMSLastNameFS" for="LastName">Last Name</label> 1225 <input aria-labelledby="lblSMSLastNameFS" type="text" id="txtSMSLastNameFS" class="form-control" data-val="true" data-val-required="The Last Name field is required." name="LastName" value="" /> 1226 <span class="text-danger field-validation-valid" data-valmsg-for="LastName" data-valmsg-replace="true"></span> 1227 </div> 1228 <div class="form-group"> 1229 <label id="lblSMSPhoneNumberFS" for="MobilePhone">Mobile Phone</label> 1230 <input type="tel" aria-labelledby="lblSMSPhoneNumberFS" id="txtSMSPhoneNumberFS" class="form-control" data-val="true" data-val-regex="ex. ###-###
1230-####" data-val-regex-pattern="^\([0-9]{3}\)\s?[0-9]{3}(-|\s)?[0-9]{4}$|^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$" data-val-required="The Mobile Phone field is required." name="MobilePhone" value="" /> 1231 <span class="text-danger field-validation-valid" data-valmsg-for="MobilePhone" data-valmsg-replace="true"></span> 1232 </div> 1233 <div class="form-group"> 1234 <label id="lblMessage" for="Comments">Comments</label> 1235 <textarea aria-labelledby="lblMessage" id="Message" class="form-control form-textarea" data-val="true" data-val-required="The Comments field is required." name="Comments"> 1236</textarea> 1237 <span class="text-danger field-validation-valid" data-valmsg-for="Comments" data-valmsg-replace="true"></span> 1238 </div> 1239 1240 <div class="contact-disclaimer"> 1241 <div class="form-group"> 1242 <div class="form-check "> 1243 <input type="checkbox" aria-label="Contact Consent" class="form-check-input" id="chkContactDisclaimerConsent5782" data-val="true" data-val-range="Please check the box to verify acknowledgement and consent." data-val-range-min="True" data-val-range-max="True" data-val-required="The ContactDisclaimerConsent field is required." name="ContactDisclaimerConsent" value="true" /> 1244 <label for="chkContactDisclaimerConsent5782" aria-labelledby="chkContactDisclaimerConsent5782"> 1245 <strong>ACKNOWLEDGMENT AND CONSENT:</strong> 1246 </label> 1247 <span class="text-danger field-validation-valid" data-valmsg-for="ContactDisclaimerConsent" data-valmsg-replace="true"></span> 1248 </div> 1249 By checking this box, you expressly consent to receive customer care text messages and/or phone calls to the number provided from or on behalf of American Auto Sales or their employees in response to your inquiry. By opting in, you understand no mobile information will be shared with third parties or affiliates for marketing or promotional purposes. Message frequency varies per user. Message and data rates may apply. You may withdraw your consent at any time by texting "STOP" or "HELP" for help. See our <a href="https://americanautoks.com/privacy" target="_blank" rel="noopener">Privacy Policy</a> for more information. 1250 </div> 1251</div> 1252 1253 <div></div> 1254 1255 <div class="modal-footer"> 1256 <button class="sms_submitButtonFS btn btn-SMSModal"> 1257 I agree, Send Text 1258 <i class="fa-solid fa-rotate fa-spin fa-fw spinner-SMSModal" style="display: none"></i> 1259 </button> 1260 <a href="/privacy" target="_blank" rel="noopener">Privacy Policy</a> 1261 </div> 1262 1263 <input type="hidden" id="responsiveSmsTextingFormVehicleId" data-val="true" data-val-required="The VehicleId field is required." name="VehicleId" value="0" /> 1264 <input type="hidden" data-val="true" data-val-required="The HasAccountSid field is required." id="HasAccountSid" name="HasAccountSid" value="True" /> 1265 <div class="RowIce"><input type='text' autocomplete='off' aria-label='Name' name='Name' class='form-control' /></div> 1266 <input name="__RequestVerificationToken" type="hidden" value="CfDJ8PpyLBkFqepBsOO-JODtNhhSb4Je0WUxBM50RNBNM4Dv-ymYeBh81AGIlof5HMZvKJjVznOFwTDlpmJgFA8uZyWZiFcjSfRwUFJcXQG2gYaTIf8SuWkz1WXPk3rbmfLhWcOUpko071dbxbVIJia1mP0" /><input name="ContactDisclaimerConsent" type="hidden" value="false" /></form> 1267
1267<script type="text/javascript"> 1268 document.addEventListener("DOMContentLoaded", 1269 function () { 1270 var smsFormId = 'ResponsiveSmsTextingForm-SMSModal'; 1271 if (typeof formInteractionListener === "undefined" || typeof formLoadListener === "undefined") { return; } 1272 formInteractionListener(null, smsFormId, 'change'); 1273 formLoadListener(null, smsFormId); 1274 }); 1275 </script>
1275 1276 </div> 1277 1278 </div> 1279 </div> 1280 1281 </div> 1282</div> 1283</div></div> 1284 1285 1286 1287<a href="#" rel="nofollow" class="top" title="Go to top of page" aria-label="Go to top of page"><i class="fa-solid fa-chevron-up"></i></a> 1288
1289<script type="text/javascript" src="/Dealers/19001_20000/19190MVC/47129.min.js?v=c0MkI3LpmnJv_d91n6Quz4Ucwbor5ypKMM6c_ZfdJyE"></script>
1289 1290 1291 1292<!-- 1293DEBUG INFORMATION 1294================= 1295Running on DCSPCMS07 1296Release Name: Production-Odd-2026.9.22.3 1297Environment: Production (Odd) 1298Build Definition Name: CMS/master 1299Build Number: 2026.9.22.3 1300Build Id: 193 1301Source Branch Name: master 1302--> 1303 1304</body> 1305</html>
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.