Limited Time Offer: Get 0% APR for 75 Months. Shop Fall Savings!

Pre-Owned 2011 Lexus GX 460

  • VIN: JTJBM7FX4B5022502
  • Stock: T57601B

Basic Info

  • Exterior:
    Tungsten Pearl
  • Drivetrain:
    4WD
  • Interior:
    Black
  • Transmission:
    6-Speed Automatic
  • Engine:
    Gas V8 4.6L/
  • Fuel Efficiency:
    15 CITY / 20 HWY
  • Mileage:
    217,674

Key Features

  • 3rd Row Seat
  • AWD
  • Automatic Climate Control
  • Backup Camera
  • Bluetooth
  • Fog Lights
  • Heated Seats
  • Keyless Entry
  • Leather Seats
  • Navigation System
  • Parking Sensors / Assist
  • Power Seats
  • Rain Sensing Wipers
  • Rear A/C
  • Satellite Radio Ready
  • Side-Impact Air Bags
  • Sunroof / Moonroof
  • Xenon Headlights

Description

This vehicle is available for transfer from another Hendrick Automotive Group dealership. All vehicles may not be physically located at this dealership but may be available for delivery through this location. Transportation charges may apply. Please contact the dealership for more specific information. All vehicles are subject to prior sale. Pricing may not include dealer installed accessories or upfits.

Vehicle Details

Exterior

  • 18 x 7.5 six-spoke aluminum wheels
  • 265/60R18 mud/snow tires
  • Chrome door handles
  • Chrome roof rails
  • Color-keyed bodyside molding w/chrome accent
  • Color-keyed front/rear bumpers
  • Color-keyed heated pwr exterior mirrors w/memory
  • Color-keyed illuminated running boards
  • Front Fog Lamps
  • Front/rear mudguards
  • Full size spare tire
  • Intermittent rear window wiper/washer
  • Projector type low-beam/multi-reflector high-beam halogen headlamps -inc: auto on/off, variable off timing
  • Pwr tilt/slide moonroof -inc: 1-touch open/close, jam protection, speed-sensing wind deflector
  • Rain-sensing variable intermittent windshield wipers
  • Rear bumper protector
  • Rear privacy glass
  • Rear spoiler
  • Rear swing-out tailgate w/pop-up window
  • UV protection on front window glass
  • Water repellent front door glass

Interior

  • (2) rear coat hooks
  • (8) assist grips
  • 115V rear pwr outlet
  • 12V aux pwr outlet
  • 4.2 multi-information diplay
  • 40/20/40 split folding second-row seats -inc: recline, fore/aft adjustment, 60:40 walk-in
  • 50/50 split third-row seats -inc: pwr fold flat feature
  • AM/FM stereo w/6-disc in-dash CD changer -inc: MP3/WMA capability, USB/iPod input, Bluetooth streaming audio, automatic sound levelizer, (9) speakers
  • Carpeted floor mats
  • Chrome door handles
  • Climate controlled 10-way pwr front bucket seats -inc: pwr lumbar, driver memory
  • Console box w/sliding armrests
  • Conversation mirror
  • Cut pile carpeting
  • Digital clock
  • Digital odometer w/(2) trip meters
  • Digital outside temp gauge
  • Dual visors w/illuminated vanity mirrors, slide extensions
  • Dual-zone automatic climate control -inc: auto-recirculation, anti-dust filter
  • ECO driving indicator
  • Electric fuel door release
  • Electrochromic rearview mirror w/compass
  • Front/rear door storage pockets
  • HomeLink universal transceiver
  • Key-integrated remote entry system -inc: rolling code feature, remote-linked window/moonroof open
  • Leather-wrapped pwr tilt/telescopic steering wheel -inc: auto tilt away, cruise controls, audio controls, voice command button
  • Lexus Optitron instrumentation
  • Lexus Personalized Settings
  • Lighting -inc: door courtesy, glove box, dome, front map, rear cargo, rear reading, front/rear seat footwell, door trim, shift lever, console
  • Perforated leather-trimmed seats w/contrast stitching
  • Pwr door locks -inc: driver side 2-turn unlock feature, anti-lockout, shift-linked auto lock
  • Pwr windows w/1-touch auto up/down (2010)
  • Rear window defogger w/timer (2010)
  • Roof-mounted shark fin antenna
  • SmartAccess system -inc: key card immobilizer
  • Storage pocket in rear cargo area
  • Trip computer -inc: average mpg, current mpg, range, average speed, barometer, altimeter, elapsed time
  • Vehicle security alarm system
  • Wood interior trim
  • XM satellite radio w/(90) day trial subscription

Mechanical

  • 4-link rigid rear axle w/control arms
  • 4-wheel pwr ventilated disc brakes
  • 4.6L DOHC 32-valve SFI V8 engine -inc: continuously variable valve timing w/intelligence (VVT-i)
  • 6-speed automatic transmission w/OD -inc: sequential shift
  • Double Wishbone Front Suspension w/Coil Springs
  • Electronic throttle control system w/intelligence
  • Engine speed-sensing pwr rack & pinion steering
  • Front/rear stabilizer bars
  • Full-time 4-wheel drive
  • Kinetic dynamic suspension system
  • Tool kit (2010)
  • Torsen limited slip differential w/electronic locking feature
  • Tow prep pkg -inc: tow bracket, wire harness

Safety

  • 4-wheel anti-lock brake system (ABS)
  • All-passenger automatic locking retractor
  • All-position 3-point seat belts
  • All-position emergency locking retractor
  • Backup camera
  • Daytime running lights
  • Direct tire pressure monitoring system
  • Driver/front passenger knee airbags
  • Dual front airbags, front passenger on/off switch
  • Electronic brake force distribution (EBD) w/brake assist -inc: brake override system
  • First aid kit
  • First/second row manual seat belt anchor height adjustment
  • First/second row roll-sensing side curtain airbags
  • Front seat active headrests
  • Front seat belt pretensioners & force limiters -inc: 2nd row pretensioners
  • Front seat-mounted side-impact airbags
  • Interior emergency trunk release
  • LATCH second row lower tether anchors & upper tether brackets
  • Rear door child safety locks (2010)
  • Safety Connect -inc: automatic collision notification, stolen vehicle location, emergency assistance (SOS) button, enhanced roadside assistance w/(1) year trial subscription
  • Seat-mounted side airbags for second row outer seats
  • Side-impact beams
  • Vehicle stability control -inc: active traction control, downhill assist control, hill-start assist control

Details

  • 3rd Row Seat
  • 4-Wheel Disc Brakes
  • 6-Speed A/T
  • 8 Cylinder Engine
  • A/C
  • ABS
  • Adjustable Steering Wheel
  • Aluminum Wheels
  • AM/FM Stereo
  • Auto-Dimming Rearview Mirror
  • Automatic Headlights
  • Auxiliary Audio Input
  • Back-Up Camera
  • Bluetooth
  • Brake Assist
  • Bucket Seats
  • CD Changer
  • CD Player
  • Child Safety Locks
  • Climate Control
  • Conventional Spare Tire
  • Cruise Control
  • Daytime Running Lights
  • Driver Adjustable Lumbar
  • Driver Air Bag
  • Driver Illuminated Vanity Mirror
  • Driver Vanity Mirror
  • Emergency Trunk Release
  • Engine Immobilizer
  • Floor Mats
  • Fog Lamps
  • Four Wheel Drive
  • Front Head Air Bag
  • Front Reading Lamps
  • Front Side Air Bag
  • Gasoline Fuel
  • Heated Mirrors
  • Heated Seats
  • Heated Seats
  • Heated Seats
  • HID headlights
  • Intermittent Wipers
  • Keyless Entry
  • Keyless Start
  • Leather Seats
  • Leather Steering Wheel
  • Locking/Limited Slip Differential
  • Mirror Memory
  • MP3 Player
  • Multi-Zone A/C
  • Navigation from Telematics
  • Navigation System
  • Pass-Through Rear Seat
  • Passenger Adjustable Lumbar
  • Passenger Air Bag
  • Passenger Air Bag On/Off Switch
  • Passenger Illuminated Visor Mirror
  • Passenger Vanity Mirror
  • Power Door Locks
  • Power Driver Seat
  • Power Folding Mirrors
  • Power Mirror(s)
  • Power Outlet
  • Power Passenger Seat
  • Power Steering
  • Power Windows
  • Premium Sound
  • Privacy Glass
  • Rain Sensing Wipers
  • Rear A/C
  • Rear Defrost
  • Rear Head Air Bag
  • Rear Parking Aid
  • Rear Reading Lamps
  • Rear Side Air Bag
  • Rear Spoiler
  • Requires Subscription
  • Running Boards/Side Steps
  • Satellite Radio
  • Seat Memory
  • Security System
  • Smart Device Integration
  • Stability Control
  • Steering Wheel Audio Controls
  • Sunroof / Moonroof
  • Sunroof / Moonroof
  • Telematics
  • Tire Pressure Monitor
  • Tires - Front On/Off Road
  • Tires - Rear On/Off Road
  • Traction Control
  • Transmission w/Dual Shift Mode
  • Trip Computer
  • Universal Garage Door Opener
  • Variable Speed Intermittent Wipers
  • Woodgrain Interior Trim
  • CONVENIENCE PKG -inc: electrochromic pwr-folding outside mirrors intuitive parking assist
  • COMFORT PLUS PKG -inc: semi-aniline leather-trimmed interior wood/leather trimmed steering wheel & shift knob tri-zone automatic climate control interior air filter smog sensor automatic recirculation mode heated middle row outboard seats
  • HIGH-INTENSITY DISCHARGE HEADLAMPS -inc: adaptive front lighting system
  • NAVIGATION SYSTEM -inc: HDD navigation system Lexus Enform w/destination assist eDestination w/(1) year trial subscription Lexus Insider voice command XM NavTraffic XM NavWeather XM Sports & Stocks w/(90) day trial subscription
  • Locking/Limited Slip Differential
  • Four Wheel Drive
  • Power Steering
  • 4-Wheel Disc Brakes
  • Aluminum Wheels
  • Tires - Front On/Off Road
  • Tires - Rear On/Off Road
  • Conventional Spare Tire
  • Sun/Moonroof
  • Generic Sun/Moonroof
  • Rear Spoiler
  • Running Boards/Side Steps
  • Automatic Headlights
  • Fog Lamps
  • Heated Mirrors
  • Power Mirror(s)
  • Mirror Memory
  • Privacy Glass
  • Intermittent Wipers
  • Variable Speed Intermittent Wipers
  • Rain Sensing Wipers
  • AM/FM Stereo
  • CD Changer
  • CD Player
  • Premium Sound System
  • MP3 Capability
  • Bluetooth Connection
  • Auxiliary Audio Input
  • Satellite Radio
  • Requires Subscription
  • Leather Seats
  • Power Driver Seat
  • Power Passenger Seat
  • Bucket Seats
  • Heated Front Seat(s)
  • Driver Adjustable Lumbar
  • Passenger Adjustable Lumbar
  • Seat Memory
  • Cooled Front Seat(s)
  • Pass-Through Rear Seat
  • Rear Bench Seat
  • 3rd Row Seat
  • Floor Mats
  • Cruise Control
  • Adjustable Steering Wheel
  • Steering Wheel Audio Controls
  • Leather Steering Wheel
  • Trip Computer
  • Power Windows
  • Power Door Locks
  • Keyless Entry
  • Power Door Locks
  • Keyless Entry
  • Power Door Locks
  • Immobilizer
  • Keyless Start
  • Security System
  • Universal Garage Door Opener
  • Climate Control
  • Multi-Zone A/C
  • A/C
  • Rear Defrost
  • Power Outlet
  • Woodgrain Interior Trim
  • Auto-Dimming Rearview Mirror
  • Driver Vanity Mirror
  • Passenger Vanity Mirror
  • Driver Illuminated Vanity Mirror
  • Passenger Illuminated Visor Mirror
  • Front Reading Lamps
  • Rear Reading Lamps
  • Power Outlet
  • ABS
  • Brake Assist
  • Traction Control
  • Stability Control
  • Daytime Running Lights
  • Driver Air Bag
  • Passenger Air Bag
  • Passenger Air Bag On/Off Switch
  • Front Side Air Bag
  • Front Head Air Bag
  • Rear Head Air Bag
  • Front Side Air Bag
  • Rear Side Air Bag
  • Knee Air Bag
  • Child Safety Locks
  • Emergency Trunk Release
  • Tire Pressure Monitor
  • Back-Up Camera
  • Telematics
  • Requires Subscription
Map of Hendrick Subaru Hoover Location

Get Directions

WE ARE LOCATED AT

2929 John Hawkins Parkway, Hoover, AL 35244

Hendrick Vehicle Disclaimer
$949.00 Dealer Administrative Charge included in advertised price.

All prices exclude all taxes, tag, title, registration fees and government fees. Out of state buyers are responsible for all taxes and government fees and title/registration fees in the state where the vehicle will be registered. All prices include all manufacturer to dealer incentives, which the dealer retains unless otherwise specifically provided. Dealer not responsible for errors and omissions; all offers subject to change without notice; please confirm listings with dealer.

All vehicles may not be physically located at this dealership but may be available for delivery through this location. Transportation charges may apply. Please contact the dealership for more specific information. All vehicles are subject to prior sale.
Additional Disclaimers:

*Now through November 30, 2026 get 1.99% APR Financing for 72 months on a new 2026 Crosstrek. Monthly payment of $14.75 per $1,000 borrowed. Manufacturer Offer. No down payment required. Offer may vary by location. Other rates and payment terms available. Cannot be combined with any other coupon, direct/email offer or promotional offer unless allowed by that offer. Financing for well-qualified applicants only. Length of contract is limited. Subject to credit approval, vehicle insurance approval and vehicle availability. Vehicle may not be in stock. Estimated delivery to be determined upon ordering. See participating retailers for details. Must take delivery from retailer stock by November 30, 2026. **Now through November 30, 2026 lease a new 2026 Crosstrek for $235/month on a 36-month lease (Base trim, code TRA-03). $3,234 due at lease signing plus tax & license. $0 security deposit. Manufacturer Offer. MSRP $28,445 (incl. $1,450 freight charge). Net cap cost of $25,346 (incl. $650 acq. fee). Total monthly payments are $8,460. Lease end purchase option is $17,920. Must take delivery from retailer stock by November 30, 2026. Other leases available on other trim levels. Cannot be combined with any other offer unless allowed by that offer. Special lease rates extended to well-qualified buyers. Subject to credit & vehicle insurance approval. Inventory may be limited. Not all buyers may qualify. Payments may be higher in some states. Net cap cost & monthly payment excludes tax, license, title, registration, insurance, additional options, & retailer charges. Retailer participation may affect actual payment. At lease end, lessee is responsible for vehicle maintenance & repairs not covered by warranty, excessive wear & tear, 15 cents per mile over 10,000 miles/year and $300 disposition fee (excl. NY and WI). Lessee pays personal property & ad valorem taxes (where applicable) & insurance. Not available in HI. See participating retailer for details.

*Now through November 30, 2026 get 1.99% APR Financing for 36 months on select new 2026 Forester Sport Models. Monthly payment of $28.64 per $1,000 borrowed. Manufacturer Offer. No down payment required. Offer may vary by location. Other rates and payment terms available. Cannot be combined with any other coupon, direct/email offer or promotional offer unless allowed by that offer. Financing for well-qualified applicants only. Length of contract is limited. Subject to credit approval, vehicle insurance approval and vehicle availability. Vehicle may not be in stock. Estimated delivery to be determined upon ordering. See participating retailers for details. Must take delivery from retailer stock by November 30, 2026. **Now through November 30, 2026 lease a new 2026 Forester for $279/month on a 36-month lease (Base trim, code TFB-01). $4,278 due at lease signing plus tax & license. $0 security deposit. Manufacturer Offer. MSRP $31,445 (incl. $1,450 freight charge). Net cap cost of $27,246 (incl. $650 acq. fee). Total monthly payments are $10,044. Lease end purchase option is $18,867. Must take delivery from retailer stock by November 30, 2026. Other leases available on other trim levels. Cannot be combined with any other offer unless allowed by that offer. Special lease rates extended to well-qualified buyers. Subject to credit & vehicle insurance approval. Inventory may be limited. Not all buyers may qualify. Payments may be higher in some states. Net cap cost & monthly payment excludes tax, license, title, registration, insurance, additional options, & retailer charges. Retailer participation may affect actual payment. At lease end, lessee is responsible for vehicle maintenance & repairs not covered by warranty, excessive wear & tear, 15 cents per mile over 10,000 miles/year and $300 disposition fee (excl. NY and WI). Lessee pays personal property & ad valorem taxes (where applicable) & insurance. Not available in HI. See participating retailer for details.

*Now through November 30, 2026 get 0% APR Financing for 75 months on a new 2026 Ascent. Monthly payment of $13.33 per $1,000 borrowed. Manufacturer Offer. No down payment required. Offer may vary by location. Other rates and payment terms available. Cannot be combined with any other coupon, direct/email offer or promotional offer unless allowed by that offer. Financing for well-qualified applicants only. Length of contract is limited. Subject to credit approval, vehicle insurance approval and vehicle availability. Vehicle may not be in stock. Estimated delivery to be determined upon ordering. See participating retailers for details. Must take delivery from retailer stock by November 30, 2026. **Now through November 30, 2026 lease a new 2026 Ascent for $335/month on a 36-month lease (Premium 7 trim, code TCC-12). $4,434 due at lease signing plus tax & license. $0 security deposit.Manufacturer Offer. MSRP $42,245 (incl. $1,450 freight charge). Net cap cost of $35,946 (incl. $650 acq. fee). Total monthly payments are $12,060. Lease end purchase option is $24,502. Must take delivery from retailer stock by November 30, 2026. Other leases available on other trim levels. Cannot be combined with any other offer unless allowed by that offer. Special lease rates extended to well-qualified buyers. Subject to credit & vehicle insurance approval. Inventory may be limited. Not all buyers may qualify. Payments may be higher in some states. Net cap cost & monthly payment excludes tax, license, title, registration, insurance, additional options, & retailer charges. Retailer participation may affect actual payment. At lease end, lessee is responsible for vehicle maintenance & repairs not covered by warranty, excessive wear & tear, 15 cents per mile over 10,000 miles/year and $300 disposition fee (excl. NY and WI). Lessee pays personal property & ad valorem taxes (where applicable) & insurance. Not available in HI. See participating retailer for details.

*Now through November 30, 2026 get 0% APR Financing for 75 months on a new 2026 Outback. Monthly payment of $13.33 per $1,000 borrowed. Manufacturer Offer. No down payment required. Offer may vary by location. Other rates and payment terms available. Cannot be combined with any other coupon, direct/email offer or promotional offer unless allowed by that offer. Financing for well-qualified applicants only. Length of contract is limited. Subject to credit approval, vehicle insurance approval and vehicle availability. Vehicle may not be in stock. Estimated delivery to be determined upon ordering. See participating retailers for details. Must take delivery from retailer stock by November 30, 2026. **Now through November 30, 2026 lease a new 2026 Outback for $299/month on a 36-month lease (Premium trim, code TDD-11). $4,298 due at lease signing plus tax & license. $0 security deposit. Manufacturer Offer. MSRP $36,445 (incl. $1,450 freight charge). Net cap cost of $31,796 (incl. $650 acq. fee). Total monthly payments are $10,764. Lease end purchase option is $22,231. Must take delivery from retailer stock by November 30, 2026. Other leases available on other trim levels. Cannot be combined with any other offer unless allowed by that offer. Special lease rates extended to well-qualified buyers. Subject to credit & vehicle insurance approval. Inventory may be limited. Not all buyers may qualify. Payments may be higher in some states. Net cap cost & monthly payment excludes tax, license, title, registration, insurance, additional options, & retailer charges. Retailer participation may affect actual payment. At lease end, lessee is responsible for vehicle maintenance & repairs not covered by warranty, excessive wear & tear, 15 cents per mile over 10,000 miles/year and $300 disposition fee (excl. NY and WI). Lessee pays personal property & ad valorem taxes (where applicable) & insurance. Not available in HI. See participating retailer for details.

*Now through November 30, 2026 get 0% APR Financing for 75 months on select new 2026 Subaru Models. Monthly payment of $13.33 per $1,000 borrowed. Manufacturer Offer. No down payment required. Offer may vary by location. Other rates and payment terms available. Cannot be combined with any other coupon, direct/email offer or promotional offer unless allowed by that offer. Financing for well-qualified applicants only. Length of contract is limited. Subject to credit approval, vehicle insurance approval and vehicle availability. Vehicle may not be in stock. Estimated delivery to be determined upon ordering. See participating retailers for details. Must take delivery from retailer stock by November 30, 2026. **Now through November 30, 2026 lease a new 2026 Crosstrek for $235/month on a 36-month lease (Base trim, code TRA-03). $3,234 due at lease signing plus tax & license. $0 security deposit. Manufacturer Offer. MSRP $28,445 (incl. $1,450 freight charge). Net cap cost of $25,346 (incl. $650 acq. fee). Total monthly payments are $8,460. Lease end purchase option is $18,205. Must take delivery from retailer stock by November 30, 2026. Other leases available on other trim levels. Cannot be combined with any other offer unless allowed by that offer. Special lease rates extended to well-qualified buyers. Subject to credit & vehicle insurance approval. Inventory may be limited. Not all buyers may qualify. Payments may be higher in some states. Net cap cost & monthly payment excludes tax, license, title, registration, insurance, additional options, & retailer charges. Retailer participation may affect actual payment. At lease end, lessee is responsible for vehicle maintenance & repairs not covered by warranty, excessive wear & tear, 15 cents per mile over 10,000 miles/year and $300 disposition fee (excl. NY and WI). Lessee pays personal property & ad valorem taxes (where applicable) & insurance. Not available in HI. See participating retailer for details. ***Well-qualified customers who purchase a new, used, or certified pre-owned vehicle, 4 model years or newer with less than 60K miles between November 2, 2026 and December 31, 2026, and finance through a participating dealer and lender have the option to defer monthly payments for 90 days from contract date. Excludes Hendrick Performance vehicles. Finance charges begin to accrue on the date you sign the Retail Installment Sale Contract at the Annual Percentage Rate (APR) disclosed in the contract. May not be combined with other preferred lender financing offers. 75 months maximum term limit. Equal monthly payments only. Not available to Pennsylvania residents; see your dealer for details. Must take retail delivery by December 31, 2026. See dealer for complete down payment and interest rate options and details. Financing available to qualified buyers. Some exclusions apply. See dealer for complete details.

*Special finance rates available on select Subaru Certified Pre-Owned used vehicles 2026-2021 model years. Manufacturer offer. No down payment required. Cannot be combined with any other coupon, direct/email offer or promotional offer unless allowed by that offer. Financing for well-qualified applicants only. Length of contract is limited. Subject to credit approval, vehicle insurance approval & vehicle availability. See participating retailers for details. Must take delivery from retailer stock by November 30, 2026.***Well-qualified customers who purchase a new, used, or certified pre-owned vehicle, 4 model years or newer with less than 60K miles between November 2, 2026 and December 31, 2026, and finance through a participating dealer and lender have the option to defer monthly payments for 90 days from contract date. Excludes Hendrick Performance vehicles. Finance charges begin to accrue on the date you sign the Retail Installment Sale Contract at the Annual Percentage Rate (APR) disclosed in the contract. May not be combined with other preferred lender financing offers. 75 months maximum term limit. Equal monthly payments only. Not available to Pennsylvania residents; see your dealer for details. Must take retail delivery by December 31, 2026. See dealer for complete down payment and interest rate options and details. Financing available to qualified buyers. Some exclusions apply. See dealer for complete details.

Connect With Us

Contact Us

Main 659-250-0477
2929 John Hawkins Parkway
Hoover, AL 35244

Get Directions

2929 John Hawkins Parkway, Hoover, AL, 35244
Hendrick Subaru Hoover 33.368921716405026, -86.82027599039188.
window.addEventListener("load", function () { // Add "openXtime" class to buttons with Schedule Service text or href ending var links = Array.from(document.querySelectorAll('a')).filter(function(link) { return link.href.endsWith("/schedule-service/") || link.textContent.toLowerCase().includes("schedule service"); }); links.forEach(function(link) { link.classList.add("openXtime"); link.addEventListener("click", function(event) { event.preventDefault(); if (window.xtime && typeof window.xtime.showC8Modal === "function") { window.xtime.showC8Modal(true); } }); }); // Check for URL parameter or path to auto-open service modal function checkAndOpenServiceModal() { var shouldOpen = false; var urlParams = new URLSearchParams(window.location.search); var intsrc = urlParams.get('intsrc'); var currentPath = window.location.pathname; // Check if URL parameter is present if (intsrc === 'tcom:maps:dealervisit:service') { shouldOpen = true; } // OR check if we're on the schedule-service page else if (currentPath.includes('/schedule-service/') || currentPath.includes('/service/schedule-service/')) { shouldOpen = true; } if (shouldOpen) { // Function to attempt opening the modal function attemptOpenModal() { if (window.xtime && typeof window.xtime.showC8Modal === "function") { window.xtime.showC8Modal(true); return true; // Successfully opened } return false; // xtime not ready yet } // Try immediately if (attemptOpenModal()) { return; // Success! } // If not ready, set up retry mechanism var attempts = 0; var maxAttempts = 50; // Try for up to 5 seconds (50 * 100ms) var retryInterval = setInterval(function() { attempts++; if (attemptOpenModal() || attempts >= maxAttempts) { clearInterval(retryInterval); } }, 100); } } // Check URL parameter/path on page load checkAndOpenServiceModal(); });