<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta name="google-site-verification" content="KX1aAWiJGp_bIads64WtFUuZu_I9tVWfdi2p3vhbqhA" />
	
    <meta name="title" content="Buy Used Box Trucks, Pickup Trucks & Chassis for Sale | U-Haul">
    <meta name="description" content="Find the best deals on used box trucks, truck chassis, fully enclosed cab & chassis, Vans and pickup trucks at U-Haul. U-Haul Truck Sales offers professionally maintained equipment at the best value.">
    <meta name="keywords" content="Cheap Box Truck for Sale, Used Box Trucks deals, Cab Chassis cutaway, Chassis for Sale, Fully Enclosed Cab and Chassis, Cube Van, commercial trucks, Used Pick-up trucks, Ford Box trucks, GMC box truck,E450, Savana, G-3500,Pick Up trucks, Silverado, Trucks for Sale”       />

    <!-- Open Graph / Facebook -->
    <meta property="og:type" content="website">
    <meta property="og:url" content="https://trucksales.uhaul.com/">
    <meta property="og:title" content="Truck Sales - U-Haul">
    <meta property="og:description" content="Find the best deals on used box trucks, truck chassis, fully enclosed cab & chassis, and pickup trucks at U-Haul. Browse our selection of Ford E450 and other top-quality trucks for sale. Get unbeatable value, quality, and service when you buy with U-Haul!">
    <meta property="og:image" content="https://trucksales.uhaul.com/content/images/truck-sales.png">

    <!-- Twitter -->
    <meta property="twitter:card" content="summary_large_image">
    <meta property="twitter:url" content="https://trucksales.uhaul.com/">
    <meta property="twitter:title" content="Truck Sales - U-Haul">
    <meta property="twitter:description" content="Find the best deals on used box trucks, truck chassis, fully enclosed cab & chassis, and pickup trucks at U-Haul. Browse our selection of Ford E450 and other top-quality trucks for sale. Get unbeatable value, quality, and service when you buy with U-Haul!">
    <meta property="twitter:image" content="https://trucksales.uhaul.com/content/images/truck-sales.png">

	<title>Used Box Trucks, Pickup Trucks &amp; Cab Chassis Cutaway trucks for Sale | U-Haul Truck Sales</title>
	<link href="/content/images/icons/favicon.ico" rel="shortcut icon" />
	<!-- Google Tag Manager -->

	<script>
		(function (w, d, s, l, i) {
			w[l] = w[l] || []; w[l].push({
				'gtm.start':

					new Date().getTime(), event: 'gtm.js'
			}); var f = d.getElementsByTagName(s)[0],

				j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =

					'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);

		})(window, document, 'script', 'dataLayer', 'GTM-TZ476G6');</script>

	<!-- End Google Tag Manager -->
	<script type='text/javascript' src='https://www.bing.com/api/maps/mapcontrol?callback=GetMap&key=AmZzkIf5oWgCPqm_fH_57_BZk3rJqEmJVfm1axXhyvHfs4TED_dqDf-rzi_aw4Qa' async defer></script>
	<link rel="canonical" href="https://trucksales.uhaul.com/" />
	<link rel="stylesheet" href="/content/lib/bootstrap/css/bootstrap.min.css"
		  asp-fallback-href="/content/lib/bootstrap/css/bootstrap.min.css"
		  asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" />
	
	
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.3.1/css/all.min.css">
	<link rel="stylesheet" type="text/css" href="/content/js/slick-1.8.1/slick/slick.css" />
	<link rel="stylesheet" type="text/css" href="/content/js/slick-1.8.1/slick/slick-theme.css" />
	<link rel="preload" as="style" href="/content/css/site.min.css" asp-append-version="true" />
	<link rel="stylesheet" href="/content/css/site.min.css" asp-append-version="true" />
	<link rel="stylesheet" href="/content/lib/jquery-ui-1.12.1.custom/jquery-ui.min.css" />
	<link rel="stylesheet" href="/content/lib/jquery-ui-1.12.1.custom/jquery-ui.theme.min.css" />
	<link rel="preload" as="image" src="/content/images/truck-sales.png" height="77" />
	<script type="application/ld+json">
		{
		  "@context": "https://schema.org/",
		  "@type": "WebSite",
		  "name": "U Haul Truck Sales",
		  "url": "https://trucksales.uhaul.com/",
		  "potentialAction": {
			"@type": "SearchAction",
			"target": "https://www.uhaul.com/Search/?q={search_term_string}",
			"query-input": "required name=search_term_string"
		  }
		}
	</script>
	<script type="application/ld+json">
		{
		  "@context": "https://schema.org",
		  "@type": "Organization",
		  "name": "U-Haul International Inc.",
		  "alternateName": "U Haul Truck Sales",
		  "url": "https://www.uhaul.com/",
		  "logo": "https://www.uhaul.com/Images/uhaul-logo.png",
		  "contactPoint": {
			"@type": "ContactPoint",
			"telephone": "1-866-404-0355",
			"contactType": "customer service"
		  },
		  "sameAs": [
			"https://www.facebook.com/uhaultrucksales/",
			"https://www.linkedin.com/company/u-haul-international-inc-",
			"https://twitter.com/uhaul"
		  ]
		}
	</script>
</head>
<body>
    <!-- Google Tag Manager (noscript) -->

    <noscript>
        <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TZ476G6"
                height="0" width="0" style="display:none;visibility:hidden"></iframe>
    </noscript>

    <!-- End Google Tag Manager (noscript) -->
    <nav class="navbar navbar-inverse navbar-fixed-top layout-header desktop-only" style="width:80em;margin:auto;">
        <div class="container">
            <div class="navbar-header layout-header">
                <button type="button" class="navbar-toggle" data-bs-toggle="collapse" data-bs-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a href="https://www.uhaul.com" class="navbar-brand layout-header">uhaul.com</a>
            </div>
            <div class="navbar-collapse collapse">
                <ul id="containerTopBar" class="nav navbar-nav layout-header">
                    <li><a href="https://www.uhaul.com/Truck-Rentals/">Trucks</a></li>
                    <li><a href="https://www.uhaul.com/Trailers/">Trailers & Towing</a></li>
                    <li><a href="https://www.uhaul.com/UBox/">U-Box<sup>®</sup> Containers</a></li>
                    <li><a href="https://www.uhaul.com/Storage/">Storage</a></li>
                    <li><a href="https://www.uhaul.com/MovingSupplies/">Boxes & Packing Supplies</a></li>
                    <li><a href="https://www.uhaul.com/MovingHelp/">Moving Labor</a></li>
                    <li><a href="https://www.uhaul.com/Trailer-Hitches/">Hitches &amp; Accessories</a></li>
                    
                </ul>
            </div>
        </div>
    </nav>

    <nav class="navbar navbar-fixed-top desktop-only" style="width:80em;margin:auto;background-color:white;top:50px;height:83px;">

        <div class="container" style="height:83px;">
            <div id="siteSearchDiv" style="position:absolute;z-index:10000;background-color:transparent;height:51px;left:50%;margin-left:-40em;width:80em;display:none;">
                <div style="width:75%;"></div>
                <div style="width:25%;background-color:#5a5a5a;float:right;">
                    <input id="siteSearchText" type="text" style="margin:5px;width:65%;" /><button id="siteSearchButton" class="button-secondary" style="width:30%;">Search</button>
                </div>
            </div>

            <div class="navbar-header" style="height:80px;">
                <button type="button" class="navbar-toggle" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" style="height:80px;">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a href="/" class="navbar-brand" style="padding:0px;"><img src="/content/images/truck-sales.png" height="77" /></a>
            </div>

            <div class="navbar-collapse collapse" style="float:right;margin-right:36px;height:80px;">

                <ul class="nav navbar-nav" style="height:80px;">
                    <li><a href="/" class="btNav" id="navIndex" style="height: 80px; line-height: 50px;  font-weight: bold;">Vehicles for Sale</a></li>
                    <li><a href="/Parts" class="btNav" id="navParts" style="height: 80px; line-height: 50px;  font-weight: bold;">Parts &amp; Supplies</a></li>
                    <li><a href="/FinanceOptions" class="btNav" id="navLast" style="height: 80px; line-height: 50px;  font-weight: bold;">Finance Options</a></li>
                    <li><a href="/FAQ" class="btNav" id="navFAQ" style="height: 80px; line-height: 50px;  font-weight: bold;">Buying Tips &amp; FAQ</a></li>
                    <li><a href="/Testimonials" class="btNav" id="navTestimonials" style="height: 80px; line-height: 50px; font-weight: bold;">Customer Testimonials</a></li>
                    <li><a href="/Wholesale" class="btNav" id="navWholesale" style="height: 80px; line-height: 50px; font-weight: bold;">Wholesale Direct</a></li>
                </ul>
            </div>
            <hr style="border-top-width:3px; border-top-style:solid; border-top-color:rgb(238, 238, 238);margin-top:80px;margin-bottom:0px;margin-left:-16px;width:80em;" />
        </div>
    </nav>
    


<!--<script src="https://connectd.uhaul.net/client/static/js/main.js"></script>-->
<script src="https://connectq.uhaul.net/client/static/js/main.js"></script>
    <script src="https://connect.uhaul.net/client/static/js/main.js"></script>
<div id="twilio-webchat-widget-root" style="position: relative; z-index: 9999;"></div>
<script>
            var appConfig = {
                theme: {
                    isLight: true
                },
                showPreEngagementOnLoad: false,
                hideActiveEngagementOnLoad: false, //minimize an active chat in session when page refreshes
                startEngagementOnInit: false,
                showSMSButton: false,
                fileAttachment: {
                    enabled: false,
                    acceptedExtensions: ["jpg", "jpeg", "png", "gif", "bmp", "heic", "pdf"]
                },
                transcript: {
                    disabled: false
                },
                qualtricsSurvey: {
                    enabled: true
                },
                componentProps: {
                    EntryPoint: {
                        tagline: "Truck Sales Chat",
                        subTagline: "Mon - Fri"
                    },
                    MessagingCanvas:
                    {
                        memberDisplayOptions: {
                            theirDefaultName: "agent",
                            theirFriendlyNameOverride: true
                        }
                    }
                },
                welcomeMessages: [{
                    topic: "truck-sales",
                    welcomeMessage: "A Truck Sales Specialist will be with you shortly."
                }
                ],
                preEngagementConfig: {
                    greeting: "Hi there!",
                    description: "We're here to help. Please give us some info to get started.",
                    isChatFromAgent: false, //make true if agent-to-agent chat
                    disclaimer: "We monitor and transcribe chats for quality purposes.",
                    preSelectedFields: { /*Optional fields */
                        customerName: "",
                        queue: "",
                        customerEntity: "",
                        customerGuid: "",
                        smid: "", //for agent-to-agent chats
                        contractType: "", //ex. Equipment Reservation, sales, hitch
                        contractNumber: "",
                        documentNumber: "",
                        contractStatus: "", //Task #498215: GM Chat - Additions to Customer Info Section (U-Move)
                        equipmentModels: "",
                        pickupDateTime: "",
                        returnDateTime: "",
                        phoneNumber: "",
                        email: "",
                        entity: "",
                        customerLink: "",
                        referenceURL: "", //the url of the page that the customer is on
                        systemAutoResponse: "Your message has been sent successfully. You should get a response shortly, thank you.", //"Auto Agent-Acceptance Response"
                        agentName: "",
                        browserType: "",
                        browserVersion: "",
                        operatingSystem: "",
                        ipAddress: "",
                        location: "",
                        summary: "This is a summary of the chat."
                    },
                    fields: [
                        {
                            label: "What is your full name?",
                            type: "InputItem",
                            attributes: {
                                name: "friendlyName",
                                type: "text",
                                placeholder: "Full Name  (required)",
                                required: true,
                            }
                        },
                        {
                            label: "Email Address",
                            type: "InputItem",
                            attributes: {
                                name: "email",
                                type: "email",
                                placeholder: "Email",
                                required: false
                            }
                        },
                        {
                            label: "Phone Number",
                            type: "InputItem",
                            attributes: {
                                name: "phoneNumber",
                                type: "tel",
                                placeholder: "Phone Number",
                                required: false
                            }
                        },
                        {
                            label: "Select a topic from the list below.",
                            type: "SelectItem",
                            attributes: {
                                name: "type",
                                type: "text",
                                value: "general-questions",
                                required: true
                            },
                            options: [ //queue selections
                                {
                                    value: "truck-sales",
                                    label: "Truck Sales",
                                    selected: false
                                },
                                {
                                    value: "truck-sales-spanish",
                                    label: "Truck Sales Spanish",
                                    selected: false
                                },
                                {
                                    value: "truck-sales-titling",
                                    label: "Titling Questions",
                                    selected: false
                                },
                                {
                                    value: "truck-sales-offer",
                                    label: "Submit an offer",
                                    selected: false
                                }
                            ]
                        },
                        {
                            label: "Entity",
                            type: "InputItem",
                            attributes: {
                                name: "entity",
                                type: "text",
                                placeholder: "Entity",
                                required: false,
                            }
                        },
                        {
                            type: "InputItem",
                            attributes: {
                                name: "hiddenItem1",
                                value: "hidden item 1",
                                type: "hidden"
                            }
                        },
                        {
                            type: "InputItem",
                            attributes: {
                                name: "hiddenItem2",
                                value: "hidden item 2",
                                type: "hidden"
                            }
                        },
                        {
                            type: "InputItem",
                            attributes: {
                                name: "hiddenItem3",
                                value: "hidden item 3",
                                type: "hidden"
                            }
                        },
                        {
                            label: "What is your question?",
                            type: "TextareaItem",
                            attributes: {
                                name: "question",
                                type: "text",
                                placeholder: "Type your question here",
                                required: true,
                                rows: 5
                            }
                        }
                    ],
                    submitLabel: "Begin Chat",
                },
                postEngagementConfig: {
                    description: "Thank you for contacting U\u2011Haul!",
                    fields: [],
                    submitLabel: "Close"
                }
            };

            window.addEventListener("DOMContentLoaded", () => {
                Twilio.initWebchat(appConfig);
            });
</script>



)


    <nav class="navbar navbar-fixed-top tablet-or-mobile" style="height:83px;background-color:white;">

        <div class="container-fluid" style="background-color:white;">
            <div class="navbar-header" style="padding-top:10px;display:flex;">
                <button type="button" class="navbar-toggle" data-bs-toggle="collapse" data-bs-target="#mobileNavbar" style="float:left;">
                    <span class="icon-bar" style="background-color:#5a5a5a"></span>
                    <span class="icon-bar" style="background-color:#5a5a5a"></span>
                    <span class="icon-bar" style="background-color:#5a5a5a"></span>
                </button>
                <a href="/" class="navbar-brand" style="padding:0px 44px 0px 0px;display:block;margin:0 auto;"><img src="/content/images/truck-sales.png" height="60" /></a>
            </div>
            <div class="collapse navbar-collapse" id="mobileNavbar" style="margin-top:10px;max-width:300px;">
                <ul class="nav navbar-nav-mobile" style="background-color:white;">
                    <li><a href="/" class="btNav" id="navIndex" style="height:50px;line-height:50px;padding:0px 15px 10px 15px;">Vehicles for Sale</a></li>
                    <li><a href="/Parts" class="btNav" id="navParts" style="height:50px;line-height:50px;padding:0px 15px 10px 15px;">Parts &amp; Supplies</a></li>
                    <li><a href="/FinanceOptions" class="btNav" id="navLast" style="height:50px;line-height:50px;padding:0px 15px 10px 15px;">Finance Options</a></li>
                    <li><a href="/FAQ" class="btNav" id="navFAQ" style="height:50px;line-height:50px;padding:0px 15px 10px 15px;">Buying Tips &amp; FAQ</a></li>
                    <li><a href="/Testimonials" class="btNav" id="navTestimonials" style="height:50px;line-height:50px;padding:0px 15px 10px 15px;">Customer Testimonials</a></li>
                    <li><a href="/Wholesale" class="btNav" id="navWholesale" style="height:50px;line-height:50px;padding:0px 15px 10px 15px;">Wholesale Direct</a></li>
                    <li style="border:0px;">
                        <a href="https://www.uhaul.com/" style="height:50px;line-height:50px;padding:0px 15px 10px 15px;">Uhaul.com</a>
                        <ul>
                            <li><a href="https://www.uhaul.com/Truck-Rentals/">Trucks</a></li>
                            <li><a href="https://www.uhaul.com/Trailers/">Trailers & Towing</a></li>
                            <li><a href="https://www.uhaul.com/UBox/">U-Box<sup>®</sup> Containers</a></li>
                            <li><a href="https://www.uhaul.com/Storage/">Storage</a></li>
                            <li><a href="https://www.uhaul.com/MovingSupplies/">Boxes & Packing Supplies</a></li>
                            <li><a href="https://www.uhaul.com/MovingHelp/">Moving Labor</a></li>
                            <li><a href="https://www.uhaul.com/Trailer-Hitches/">Hitches &amp; Accessories</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
            <hr style="background-color:white;border-top-width:3px; border-top-style:solid; border-top-color:rgb(238, 238, 238);margin-top:20px;margin-bottom:0px;margin-left:-16px;width:110%;" />

        </div>
    </nav>

    <partial name="_CookieConsentPartial"></partial>

    <div class="container body-content" style="margin-top:80px;">
        <div style="display:inline-block;padding-left:30px;">
        </div>

        



<div style="max-width:80em;margin:auto;">
    <div class="container" style="max-width:80em;margin:auto;padding-top:20px;">
        <!--Commenting out flash sale in case they want to use it in the future-->
        
        <div class="desktop-only" id="spanishButton" style=" z-index:1; background-color: transparent; margin-left:70em ; margin-bottom:5mm ;  ">
            <a href="https://es.uhaul.com/_trucksales_uhaul_com/" class="btNav" id="navSpanish" style=" display:inline-block; border: 1px outset buttonborder; border-radius: 3px; color: buttontext; text-decoration: none;"><img src="/content/images/spanish-organge.png" width="90" /></a>
        </div>
        <div class="desktop-only" id="englishButton" style=" z-index:1; background-color: transparent; margin-left:70em ; margin-bottom:5mm; ">
            <button id="English_button" class="button-primary"
                    onclick="goToEnglishSite()">
                English
            </button>
        </div>
        
        <div class="row">
            <div class="container" style="background-color: #f3f3f3; padding-left: 35px; padding-bottom: 10px; max-width: 80em; ">
                <div class="row">
                    <h1 style="margin-bottom:20px; font-size:50px;">Find Used Trucks For Sale Near You</h1>


                    <div class="col-sm-4">
                        <div class="row">
                            <label style="margin-left:0px; margin-bottom:10px;">Equipment Type</label>

                            <div style="display: flex; flex-wrap: wrap; width: 100%;">

                                <div style="width: 33.33%; margin-bottom:10px; font-size:12px; display: flex; align-items: center; box-sizing: border-box; padding-right: 10px;">
                                    <label class="checkbox-container-search-results">
                                        <input type="checkbox"
                                               id="searchAllCheckbox"
                                               class="typeCheckbox quickTypeCheckbox"
                                               value="AllVehicles"
                                               name="All"
                                               checked="checked" />
                                        <span class="checkmark"></span>
                                    </label>
                                    <b style="margin-left: 5px;">Search All</b>
                                </div>

                                <!-- Box Trucks - Always visible -->
                                <div style="width: 33.33%; margin-bottom:10px; font-size:12px; display: flex; align-items: center; box-sizing: border-box; padding-right: 10px;">
                                    <label class="checkbox-container-search-results">
                                        <input type="checkbox"
                                               id="boxTrucksCheckbox"
                                               class="typeCheckbox quickTypeCheckbox"
                                               value="BoxTrucks"
                                               name="Box Trucks" />
                                        <span class="checkmark"></span>
                                    </label>
                                    <b style="margin-left: 5px;">Box Trucks</b>
                                </div>

                                <!-- Cab & Chassis - Always in first row -->
                                <!--<div id="cabChassisDiv" style="width: 33.33%; margin-bottom:10px; font-size:12px; display: flex; align-items: center; box-sizing: border-box; padding-right: 10px;">
                                    <label class="checkbox-container-search-results">
                                        <input type="checkbox"
                                               class="typeCheckbox quickTypeCheckbox"
                                               value="CabAndChassis"
                                               name="Cab & Chassis" />
                                        <span class="checkmark"></span>
                                    </label>
                                    <b style="margin-left: 5px;">Cab &amp; Chassis</b>
                                </div>-->
                                <!-- Other Equipment Types - Second Row (Will be hidden when Box Trucks is checked) -->
                                <div id="otherEquipmentTypes" style="display: flex; flex-wrap: wrap; width: 100%;">
                                    <!-- Cab & Chassis - Always in first row -->
                                    <div id="cabChassisDiv" style="width: 33.33%; margin-bottom:10px; font-size:12px; display: flex; align-items: center; box-sizing: border-box; padding-right: 10px;">
                                        <label class="checkbox-container-search-results">
                                            <input type="checkbox"
                                                   class="typeCheckbox quickTypeCheckbox"
                                                   value="CabAndChassis"
                                                   name="Cab & Chassis" />
                                            <span class="checkmark"></span>
                                        </label>
                                        <b style="margin-left: 5px;">Cab &amp; Chassis</b>
                                    </div>
                                    <!-- Cargo Vans -->
                                    

                                    <!-- Pickup Trucks -->
                                    

                                    <!-- Tow Dollies -->
                                    <div style="width: 33.33%; margin-bottom:10px; font-size:12px; display: flex; align-items: center; box-sizing: border-box; padding-right: 10px;">
                                        <label class="checkbox-container-search-results">
                                            <input type="checkbox"
                                                   class="typeCheckbox quickTypeCheckbox"
                                                   value="TowDollies"
                                                   name="Tow Dollies" />
                                            <span class="checkmark"></span>
                                        </label>
                                        <b style="margin-left: 5px;">Tow Dollies</b>
                                    </div>
                                </div>

                                <!-- Box Truck Sizes (Initially Hidden) -->
                                <div id="boxTruckSizes" style="display:none; flex-wrap: wrap; width:100%;">
                                    <div style="width:33.33%; margin-bottom:10px; font-size:12px; display: flex; align-items: center; box-sizing: border-box; padding-right: 10px;">
                                        <label class="checkbox-container-search-results">
                                            <input type="checkbox" class="boxSize" value="10" />
                                            <span class="checkmark"></span>
                                        </label>
                                        <b style="margin-left: 5px;">10'</b>
                                    </div>
                                    <div style="width:33.33%; margin-bottom:10px; font-size:12px; display: flex; align-items: center; box-sizing: border-box; padding-right: 10px;">
                                        <label class="checkbox-container-search-results">
                                            <input type="checkbox" class="boxSize" value="14" />
                                            <span class="checkmark"></span>
                                        </label>
                                        <b style="margin-left: 5px;">14'</b>
                                    </div>
                                    <div style="width:33.33%; margin-bottom:10px; font-size:12px; display: flex; align-items: center; box-sizing: border-box; padding-right: 10px;">
                                        <label class="checkbox-container-search-results">
                                            <input type="checkbox" class="boxSize" value="17" />
                                            <span class="checkmark"></span>
                                        </label>
                                        <b style="margin-left: 5px;">17'</b>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="mobileRow">
                            <label>Your Location</label>
                            <div class="location-input">
                                <input type="text" id="quickSearchAddress" onkeypress="handleEnter('quickSearchButton', event)" />
                            </div>
                        </div>
                    </div>

                    <div class="col-sm-2">
                        <div class="mobileRow">
                            <label for="searchMiles">Search within</label>
                            <div class="custom-select" style="height:50px;">
                                <select id="quickSearchMilesMobile">
                                    <option selected value="50">50 miles</option>
                                    <option value="100">100 miles</option>
                                    <option value="200">200 miles</option>
                                    <option value="300">300 miles</option>
                                    <option value="400">400 miles</option>
                                    <option value="500">500 miles</option>
                                    <option value="2000">any</option>
                                </select>
                            </div>
                        </div>
                    </div>

                    <div class="col-sm-2">
                        <div class="mobileRow">
                            <label for="quickSearchButton" style="width:100%;">&nbsp;</label>
                            <button class="button-primary" id="quickSearchButtonSS" onclick="onSearchClicked2()">Search <i class="fas fa-caret-right fa"></i></button>

                            <input id="hfv_ModelType" type="hidden" />
                        </div>
                    </div>



                </div>

                <div style="justify-content: center; align-content:center; text-align:center; margin: auto;">

                    <label for="equipmentSearchButton" style="width:100%;">&nbsp;</label>
                    <button class="button-primary" style=" min-height:40px; height:auto; width:auto; margin:auto; " id="equipmentButtonSearch" onclick="toggleModal()">Search for Equipment/Stock Number or VIN </button>

                </div>

            </div>


        </div>



    </div>
</div>



<div class="container" style="text-align:center;max-width:80em;margin:auto;">
    <div class="no-print tablet-or-mobile" style="background-color: transparent;">
        <!--Commenting out the mobile one too-->
        

        <h3>Call Now!</h3>
        <h2><a href="tel:1-866-404-0355" style="color: #FF5107;"> 1-866-404-0355</a></h2>
        <div class="row" style="display:inline-block;">
            <h2>Featured Vehicle</h2>
            <h2 style="font-size:22px;">Super Low Deck Ford E450 Cab Chassis Trucks</h2>
            <hr class="orange-line" />
            <div class="mobile-video-flex">
                <div>
                    <div class="col-lg-12 dimension-img-row" id="englishVersion_m">
                        
                        <script src="https://cdnapisec.kaltura.com/p/2039371/sp/203937100/embedIframeJs/uiconf_id/32852462/partner_id/2039371">handleEnter</script>
                        <div id="kaltura_player_17370529941" style=""></div>
                        <script>
                            kWidget.embed({
                                "targetId": "kaltura_player_17370529941",
                                "wid": "_2039371",
                                "uiconf_id": 32852462,
                                "flashvars": {
                                    "autoPlay": true,
                                    "mute": true,      // Ensures the video starts muted
                                    "loop": true,
                                },
                                "cache_st": 1737052994,
                                "entry_id": "1_l6ty1f1q"
                            });
                        </script>
                    </div>
                    <div class="col-lg-12 dimension-img-row" id="spanishVersion_m">
                        <script src="https://cdnapisec.kaltura.com/p/2039371/sp/203937100/embedIframeJs/uiconf_id/45406992/partner_id/2039371"></script>

                        <div id="kaltura_player_1_0hv6x3us" style="width:100%; max-width:800px; margin:auto;"></div>

                        <script>
                            kWidget.embed({
                                targetId: "kaltura_player_1_0hv6x3us",
                                wid: "_2039371",
                                uiconf_id: 45406992,
                                entry_id: "1_0hv6x3us",
                                flashvars: {
                                    autoPlay: true,
                                    mute: true,   // ensures autoplay works across browsers
                                    loop: true
                                }
                            });
                        </script>
                    </div>
                </div>

                <div class="hidden" style="flex-basis:100%">
                    <div>
                        <h2>Featuring</h2>
                    </div>
                    <div style="text-align:center;">
                        <ul class="mobile-bullet">
                            <li>
                                <p>35" Super Low Frame Height</p>
                            </li>

                            <li>
                                <p>202" Wheel Base</p>
                            </li>
                            <li>
                                <p>6.8L Gas V-10 Engine</p>
                            </li>
                            <li>
                                <p>No CDL Needed</p>
                            </li>
                            <li>
                                <p>Fully Enclosed Cab</p>
                            </li>
                            <li>
                                <p>14,500 lb Gross Vehicle Weight Rating</p>
                            </li>
                            <li>
                                <p>10,000 lb Towing Capacity</p>
                            </li>
                        </ul>
                    </div>
                </div>

            </div>
        </div>
    </div>

    <div class="container desktop-only" style="width:80em;margin:auto;padding-top:20px; ">
        <div class="row" style="display:inline-block;">
            <h2>Featured Vehicle</h2>
            <h2 style="font-size:22px;">Super Low Deck Ford E450 Cab Chassis Trucks</h2>
            <hr class="orange-line" />
            <div class="mobile-desktop-flex">
                <div>
                    <div class="dimension-img-row" id="englishVersion">
                        

                        <script src="https://cdnapisec.kaltura.com/p/2039371/sp/203937100/embedIframeJs/uiconf_id/32852462/partner_id/2039371"></script>
                        <div id="kaltura_player_1737052994" style="width: 570px; height: 360px;"></div>
                        <script>
                            kWidget.embed({
                                "targetId": "kaltura_player_1737052994",
                                "wid": "_2039371",
                                "uiconf_id": 32852462,
                                "flashvars": {
                                    "autoPlay": true,
                                    "mute": true,      // Ensures the video starts muted
                                    "loop": true,
                                },
                                "cache_st": 1737052994,
                                "entry_id": "1_l6ty1f1q"
                            });
                        </script>
                    </div>
                    <div class="dimension-img-row" id="spanishVersion">
                        <script src="https://cdnapisec.kaltura.com/p/2039371/sp/203937100/embedIframeJs/uiconf_id/45406992/partner_id/2039371"></script>
                        <div id="kaltura_player_dynamic" style="width: 570px; height: 360px;"></div>
                        <script>
                            kWidget.embed({
                                "targetId": "kaltura_player_dynamic",
                                "wid": "_2039371",
                                "uiconf_id": 45406992,
                                "flashvars": {
                                    "autoPlay": true,
                                    "mute": true,
                                    "loop": true
                                },
                                "cache_st": 1737052994,
                                "entry_id": "1_0hv6x3us"
                            });
                        </script>
                    </div>

                </div>

                <div class="hidden" style="margin-right:auto;">
                    <div>
                        <h2>Featuring</h2>
                    </div>
                    <ul style="text-align:initial; font-size: 18px;">
                        <li>
                            <p>35" Super Low Frame Height</p>
                        </li>

                        <li>
                            <p>202" Wheel Base</p>
                        </li>
                        <li>
                            <p>6.8L Gas V-10 Engine</p>
                        </li>
                        <li>
                            <p>No CDL Needed</p>
                        </li>
                        <li>
                            <p>Fully Enclosed Cab</p>
                        </li>
                        <li>
                            <p>14,500 lb Gross Vehicle Weight Rating</p>
                        </li>
                        <li>
                            <p>10,000 lb Towing Capacity</p>
                        </li>
                    </ul>
                </div>
            </div>


        </div>

    </div>
</div>
<div class="row" style="display:inline-block;">
    <h2>What kind of truck are you looking for?</h2>
    <p>
        All trucks have been maintained by U-Haul experienced professionals from Day One, so you know you'll be getting a quality truck.<br />
        U-Haul sells box trucks and cab and chassis trucks at over 1,300 sale locations across the U.S. and has the largest selection of Pre-Owned inventory in the industry.
    </p>
    <hr class="orange-line" />
    <div class="no-print tablet-or-mobile" id="spanishButton_m" style="background-color: transparent;">
        <a href="https://es.uhaul.com/_trucksales_uhaul_com/" class="btNav" id="navSpanish" style=" display:inline-block; border: 1px outset buttonborder; border-radius: 3px; color: buttontext; text-decoration: none;"><img src="/content/images/spanish-organge.png" width="90" /></a>
    </div>
    <div class="tablet-or-mobile" id="englishButton_m" style="  background-color: transparent; ">
        <button id="English_button" class="button-primary"
                onclick="goToEnglishSite()">
            English
        </button>
    </div>
    


<div class="container desktop-only" style="text-align:center;max-width:80em;">

<div class='row' style='display:inline-block'>        <a href="/Vehicles/Specs/TM?key=505">
            <div class="col-md-3 truck-lineup-box" style="text-align:center;">
                <div>
                        <img src="/content/images/equipment/box-truck-10.png" class="img-responsive" />
                    <h4 style="color:black">10&#39; Box Trucks</h4>
                    <label style="color:black;font-weight:lighter;">As low as</label>
                    <div class="truck-lineup-box-price">$8,995.00</div>
                </div>
            </div>
        </a>
        <a href="/Vehicles/Specs/DC?key=106">
            <div class="col-md-3 truck-lineup-box" style="text-align:center;">
                <div>
                        <img src="/content/images/equipment/box-truck-14.png" class="img-responsive" />
                    <h4 style="color:black">14&#39; Box Trucks</h4>
                    <label style="color:black;font-weight:lighter;">As low as</label>
                    <div class="truck-lineup-box-price">$8,495.00</div>
                </div>
            </div>
        </a>
        <a href="/Vehicles/Specs/EL?key=205">
            <div class="col-md-3 truck-lineup-box" style="text-align:center;">
                <div>
                        <img src="/content/images/equipment/box-truck-17.png" class="img-responsive" />
                    <h4 style="color:black">17&#39; Box Trucks</h4>
                    <label style="color:black;font-weight:lighter;">As low as</label>
                    <div class="truck-lineup-box-price">$9,495.00</div>
                </div>
            </div>
        </a>
        <a href="/Vehicles/Specs/TT?key=506">
            <div class="col-md-3 truck-lineup-box" style="text-align:center;">
                <div>
                        <div id="myCarousel" class="carousel slide" data-interval="3500" data-ride="carousel">
                            <div class="carousel-inner">
                                <div class="item active">
                                    <img src="/content/images/TT-CABCHASSIS-1 1.png" class="img-responsive" />
                                </div>
                                <div class="item">
                                    <img src="/content/images/TTRearQTR-DRIVE.png" class="img-responsive" />
                                </div>
                            </div>
                        </div>
                    <h4 style="color:black">Fully Enclosed Cab &amp; Chassis</h4>
                    <label style="color:black;font-weight:lighter;">As low as</label>
                    <div class="truck-lineup-box-price">$4,995.00</div>
                </div>
            </div>
        </a>
</div><div class='row' style='display:inline-block'>        <a href="/Vehicles/Specs/CC?key=403">
            <div class="col-md-3 truck-lineup-box" style="text-align:center;">
                <div>
                        <img src="/content/images/equipment/cab-chassis.png" class="img-responsive" />
                    <h4 style="color:black">Medium Duty Cab &amp; Chassis</h4>
                    <label style="color:black;font-weight:lighter;">As low as</label>
                    <div class="truck-lineup-box-price">$5,495.00</div>
                </div>
            </div>
        </a>
        <a href="/Vehicles/Specs/JH-D?key=405">
            <div class="col-md-3 truck-lineup-box" style="text-align:center;">
                <div>
                        <p style="font-weight: bold; font-size: 22px; color: red; margin: 0 0 5px;">NEW!</p>
                        <img src="/content/images/equipment/ford-cab-chassis.png" class="img-responsive" />
                    <h4 style="color:black">Ford Medium Duty Cab &amp; Chassis</h4>
                    <label style="color:black;font-weight:lighter;">As low as</label>
                    <div class="truck-lineup-box-price">$14,995.00</div>
                </div>
            </div>
        </a>
</div></div>

<div class="container tablet-only" style="text-align:center;max-width:80em;">

<div class='row' style='display:inline-block'>        <a href="/Vehicles/Specs/TM?key=505">
            <div class="col-sm-6 truck-lineup-box" style="text-align:center;">
                <div>
                        <img src="/content/images/equipment/box-truck-10.png" class="img-responsive" />

                    <h4 style="color:black">10&#39; Box Trucks</h4>
                    <label style="color:black;font-weight:lighter;">As low as</label>
                    <div class="truck-lineup-box-price">$8,995.00</div>
                </div>
            </div>
        </a>
        <a href="/Vehicles/Specs/DC?key=106">
            <div class="col-sm-6 truck-lineup-box" style="text-align:center;">
                <div>
                        <img src="/content/images/equipment/box-truck-14.png" class="img-responsive" />

                    <h4 style="color:black">14&#39; Box Trucks</h4>
                    <label style="color:black;font-weight:lighter;">As low as</label>
                    <div class="truck-lineup-box-price">$8,495.00</div>
                </div>
            </div>
        </a>
</div><div class='row' style='display:inline-block'>        <a href="/Vehicles/Specs/EL?key=205">
            <div class="col-sm-6 truck-lineup-box" style="text-align:center;">
                <div>
                        <img src="/content/images/equipment/box-truck-17.png" class="img-responsive" />

                    <h4 style="color:black">17&#39; Box Trucks</h4>
                    <label style="color:black;font-weight:lighter;">As low as</label>
                    <div class="truck-lineup-box-price">$9,495.00</div>
                </div>
            </div>
        </a>
        <a href="/Vehicles/Specs/TT?key=506">
            <div class="col-sm-6 truck-lineup-box" style="text-align:center;">
                <div>
                        <div id="myCarousel" class="carousel slide" data-interval="3500" data-ride="carousel">
                            <div class="carousel-inner">
                                <div class="item active">
                                    <img src="/content/images/TT-CABCHASSIS-1 1.png" class="img-responsive" />
                                </div>
                                <div class="item">
                                    <img src="/content/images/TTRearQTR-DRIVE.png" class="img-responsive" />
                                </div>
                            </div>
                        </div>

                    <h4 style="color:black">Fully Enclosed Cab &amp; Chassis</h4>
                    <label style="color:black;font-weight:lighter;">As low as</label>
                    <div class="truck-lineup-box-price">$4,995.00</div>
                </div>
            </div>
        </a>
</div><div class='row' style='display:inline-block'>        <a href="/Vehicles/Specs/CC?key=403">
            <div class="col-sm-6 truck-lineup-box" style="text-align:center;">
                <div>
                        <img src="/content/images/equipment/cab-chassis.png" class="img-responsive" />

                    <h4 style="color:black">Medium Duty Cab &amp; Chassis</h4>
                    <label style="color:black;font-weight:lighter;">As low as</label>
                    <div class="truck-lineup-box-price">$5,495.00</div>
                </div>
            </div>
        </a>
        <a href="/Vehicles/Specs/JH-D?key=405">
            <div class="col-sm-6 truck-lineup-box" style="text-align:center;">
                <div>
                        <p style="font-weight: bold; font-size: 22px; color: red; margin: 0 0 5px;">NEW!</p>
                        <img src="/content/images/equipment/ford-cab-chassis.png" class="img-responsive" />

                    <h4 style="color:black">Ford Medium Duty Cab &amp; Chassis</h4>
                    <label style="color:black;font-weight:lighter;">As low as</label>
                    <div class="truck-lineup-box-price">$14,995.00</div>
                </div>
            </div>
        </a>
</div></div>


<div class="container mobile-only" style="text-align:center;max-width:80em;">
        <div class='row' style='display:inline-block'>
            <a href="/Vehicles/Specs/TM?key=505">
                <div class="col-xs-12 truck-lineup-box" style="text-align:center;">
                    <div>
                            <img src="/content/images/equipment/box-truck-10.png" class="img-responsive" />

                        <h4 style="color:black">10&#39; Box Trucks</h4>
                        <label style="color:black;font-weight:lighter;">As low as</label>
                        <div class="truck-lineup-box-price">$8,995.00</div>
                    </div>
                </div>
            </a>
        </div>
        <div class='row' style='display:inline-block'>
            <a href="/Vehicles/Specs/DC?key=106">
                <div class="col-xs-12 truck-lineup-box" style="text-align:center;">
                    <div>
                            <img src="/content/images/equipment/box-truck-14.png" class="img-responsive" />

                        <h4 style="color:black">14&#39; Box Trucks</h4>
                        <label style="color:black;font-weight:lighter;">As low as</label>
                        <div class="truck-lineup-box-price">$8,495.00</div>
                    </div>
                </div>
            </a>
        </div>
        <div class='row' style='display:inline-block'>
            <a href="/Vehicles/Specs/EL?key=205">
                <div class="col-xs-12 truck-lineup-box" style="text-align:center;">
                    <div>
                            <img src="/content/images/equipment/box-truck-17.png" class="img-responsive" />

                        <h4 style="color:black">17&#39; Box Trucks</h4>
                        <label style="color:black;font-weight:lighter;">As low as</label>
                        <div class="truck-lineup-box-price">$9,495.00</div>
                    </div>
                </div>
            </a>
        </div>
        <div class='row' style='display:inline-block'>
            <a href="/Vehicles/Specs/TT?key=506">
                <div class="col-xs-12 truck-lineup-box" style="text-align:center;">
                    <div>
                            <div id="myCarousel" class="carousel slide" data-interval="3500" data-ride="carousel">
                                <div class="carousel-inner">
                                    <div class="item active">
                                        <img src="/content/images/TT-CABCHASSIS-1 1.png" class="img-responsive" />
                                    </div>
                                    <div class="item">
                                        <img src="/content/images/TTRearQTR-DRIVE.png" class="img-responsive" />
                                    </div>
                                </div>
                            </div>

                        <h4 style="color:black">Fully Enclosed Cab &amp; Chassis</h4>
                        <label style="color:black;font-weight:lighter;">As low as</label>
                        <div class="truck-lineup-box-price">$4,995.00</div>
                    </div>
                </div>
            </a>
        </div>
        <div class='row' style='display:inline-block'>
            <a href="/Vehicles/Specs/CC?key=403">
                <div class="col-xs-12 truck-lineup-box" style="text-align:center;">
                    <div>
                            <img src="/content/images/equipment/cab-chassis.png" class="img-responsive" />

                        <h4 style="color:black">Medium Duty Cab &amp; Chassis</h4>
                        <label style="color:black;font-weight:lighter;">As low as</label>
                        <div class="truck-lineup-box-price">$5,495.00</div>
                    </div>
                </div>
            </a>
        </div>
        <div class='row' style='display:inline-block'>
            <a href="/Vehicles/Specs/JH-D?key=405">
                <div class="col-xs-12 truck-lineup-box" style="text-align:center;">
                    <div>
                        <p style="font-weight: bold; font-size: 22px; color: red; margin: 0 0 5px;">NEW!</p>
                        <img src="/content/images/equipment/ford-cab-chassis.png" class="img-responsive" />

                        <h4 style="color:black">Ford Medium Duty Cab &amp; Chassis</h4>
                        <label style="color:black;font-weight:lighter;">As low as</label>
                        <div class="truck-lineup-box-price">$14,995.00</div>
                    </div>
                </div>
            </a>
        </div>
</div>

</div>

</div>

<div class="container" style="text-align:center;margin-top:20px;">

    <p>U-Haul Truck Sales&#174;: Small Investment, <b>BIG RETURN!&#8482;</b></p>
    <hr class="orange-line" />

</div>


<!-- kaltura library  -->
<script src="https://cdnapisec.kaltura.com/p/2039371/sp/203937100/embedIframeJs/uiconf_id/45406992/partner_id/2039371"></script>



<div class="modal fade"
     id="videoModal"
     tabindex="-1"
     aria-labelledby="videoModalLabel"
     aria-hidden="true">

    <div class="modal-dialog modal-dialog-centered modal-lg">

        <div class="modal-content">

            <div class="modal-header">
                <h5 class="modal-title" id="videoModalLabel">
                    Truck Sales Video
                </h5>

                <button type="button"
                        class="btn-close"
                        data-bs-dismiss="modal"
                        aria-label="Close">
                </button>
            </div>

            <div class="modal-body">

               
                <div class="dimension-img-row"
                     id="englishVersion_cc"
                     style="display:none;">

                    <div id="kaltura_player_CC_english"
                         style="width:570px;height:360px;margin:auto;">
                    </div>

                </div>


  
                <div class="dimension-img-row"
                     id="spanishVersion_cc"
                     style="display:none;">

                    <div id="kaltura_player_CC_spanish"
                         style="width:570px;height:360px;margin:auto;">
                    </div>

                </div>


                <div class="dimension-img-row"
                     id="englishVersion_p"
                     style="display:none;">

                    <div id="kaltura_player_buy_process_english"
                         style="width:570px;height:360px;margin:auto;">
                    </div>

                </div>


          
                <div class="dimension-img-row"
                     id="spanishVersion_p"
                     style="display:none;">

                    <div id="kaltura_player_buy_process_spanish"
                         style="width:570px;height:360px;margin:auto;">
                    </div>

                </div>

            </div>

        </div>
    </div>
</div>



<div class="container buying-process-container desktop-only">

    <div class="row">

        <div class="col-sm-6"></div>

        <div class="col-md-6 buying-process">

            <img src="/content/images/NewTruckSalesVideoThumbNail.jpg"
                 class="buying-process-video"
                 alt="Truck Buying Process"
                 onclick="homepageVideo('buy')" />

            <h2>Truck Buying Process</h2>

            <hr class="orange-line" />

            <h4>Best Value for Your Money!</h4>

            <p>
                Looking for reliable, affordable used box trucks or cab and chassis
                Cutaway Trucks? U-Haul offers professionally maintained, single-owner
                trucks including popular models like the GMC G-3500, Ford E450, and
                GMC C5500—perfect for moving, small businesses, deliveries, or
                commercial use.
            </p>

            <h4>30 Day Phone Support</h4>

            <p>
                Enjoy 30 days of complimentary access to U-Haul equipment experts
                for any repair or maintenance questions when you purchase one of
                our used box trucks.
            </p>

        </div>

    </div>

</div>



<div class="container tablet-or-mobile">

    <div class="container row">

        <div class="row collapse-container"
             style="border-bottom:2px solid #dadada;border-top:2px solid #dadada;"
             data-bs-toggle="collapse"
             data-bs-target="#truck-buying-process"
             aria-expanded="false"
             aria-controls="truck-buying-process">

            <h4 style="float:left;padding-left:80px;">
                Truck Buying Process
            </h4>

            <h4 id="truck-buying-process-carat"
                class="faq-carat">

                <i class="fas fa-chevron-down"></i>

            </h4>

        </div>


        <div id="truck-buying-process"
             class="row collapse"
             style="padding-bottom:10px;border-bottom:2px solid #dadada;">

            <div class="row"
                 style="max-width:800px;min-width:400px;text-align:center;">

                <img src="/content/images/NewTruckSalesVideoThumbNail.jpg"
                     style="width:90%;"
                     alt="Truck Buying Process"
                     onclick="homepageVideo('buy')" />

            </div>

            <div class="row"
                 style="text-align:center;padding-left:10px;padding-right:10px;">

                <h2>Buying made easy</h2>

                <h4>
                    Used Box Trucks &amp; Cab and Chassis Cutaways for Sale!
                </h4>

                <p>
                    Looking for reliable, affordable used box trucks or cab and
                    chassis Cutaway trucks? U-Haul offers professionally maintained,
                    single-owner trucks including popular models like the GMC G-3500,
                    Ford E450, and GMC C5500—perfect for moving, small businesses,
                    deliveries, or commercial use.
                </p>

                <h4>30 Day Phone Support</h4>

                <p>
                    Enjoy 30 days of complimentary access to U-Haul equipment experts
                    for any repair or maintenance questions when you purchase one of
                    our used box trucks.
                </p>

            </div>

        </div>

    </div>

</div>


<div class="container wonderful-cc-container desktop-only">
    <div class="row">
        <div class="col-md-6 wonderful-cc">
            <div class="wonderful-cc-circle">
                <h2>The Wonderful World of Cab &amp; Chassis</h2>
                <hr class="orange-line" />

                <p>
                    With over 4,000 used Cab &amp; Chassis Cutaway trucks for sale
                    at 750+ U-Haul locations, finding the right truck is easy.
                    Choose from top models like the Ford E450 and GMC C5500—
                    single-owner, professionally maintained, and ready to customize
                    for your business needs.
                </p>
            </div>
        </div>

        <img src="/content/images/thumbnails/video-chassis.jpg"
             class="wonderful-cc-thumbnail"
             alt="The Wonderful World of Cab and Chassis"
             onclick="homepageVideo('cc')" />

    </div>
</div>


<script>

    let kalturaPlayersInitialized = false;

    function initializeKalturaPlayers() {

        if (kalturaPlayersInitialized) {
            return;
        }

        if (typeof kWidget === "undefined") {
            console.error("Kaltura kWidget is not loaded.");
            return;
        }


        // Cab & Chassis - English
        kWidget.embed({
            targetId: "kaltura_player_CC_english",
            wid: "_2039371",
            uiconf_id: 45406992,
            flashvars: {
                autoPlay: false,
                mute: true,
                loop: false
            },
            cache_st: 1737052994,
            entry_id: "0_3qy2mswj"
        });


        // Cab & Chassis - Spanish
        kWidget.embed({
            targetId: "kaltura_player_CC_spanish",
            wid: "_2039371",
            uiconf_id: 45406992,
            flashvars: {
                autoPlay: false,
                mute: true,
                loop: false
            },
            cache_st: 1737052994,
            entry_id: "1_7oj9hfve"
        });


        // Buying Process - Spanish
        kWidget.embed({
            targetId: "kaltura_player_buy_process_spanish",
            wid: "_2039371",
            uiconf_id: 45406992,
            flashvars: {
                autoPlay: false,
                mute: true,
                loop: false
            },
            cache_st: 1737052994,
            entry_id: "1_owth37qz"
        });


        // Buying Process - English
        kWidget.embed({
            targetId: "kaltura_player_buy_process_english",
            wid: "_2039371",
            uiconf_id: 45406992,
            flashvars: {
                autoPlay: false,
                mute: true,
                loop: false
            },
            cache_st: 1737052994,
            entry_id: "0_ehux2lfq"
        });


        kalturaPlayersInitialized = true;
    }


    function homepageVideo(source)
    {


        const modalElement = document.getElementById("videoModal");

        if (!modalElement) {
            console.error("videoModal was not found.");
            return;
        }

        const videos = [
            "englishVersion_p",
            "spanishVersion_p",
            "englishVersion_cc",
            "spanishVersion_cc"
        ];

        videos.forEach(function (id) {

            const element = document.getElementById(id);

            if (element) {
                element.style.display = "none";
            }

        });


        const isSpanish =
            window.location.href.includes("_trucksales_uhaul_com");

        let videoId;


        if (source === "buy") {

            videoId = isSpanish
                ? "spanishVersion_p"
                : "englishVersion_p";

        }
        else if (source === "cc") {

            videoId = isSpanish
                ? "spanishVersion_cc"
                : "englishVersion_cc";

        }
        else {

            console.error("Unknown video source:", source);
            return;

        }


        /*
         * show selected video
         */

        const selectedVideo = document.getElementById(videoId);

        if (!selectedVideo) {
            console.error("Video element not found:", videoId);
            return;
        }

        selectedVideo.style.display = "block";


        /*
         * initialize Kaltura
         */

        initializeKalturaPlayers();


        /*
         * bootstrap 5 modal
         */

        if (typeof bootstrap === "undefined") {

            console.error(
                "Bootstrap 5 JavaScript is not loaded."
            );

            return;
        }


        const modal = bootstrap.Modal.getOrCreateInstance(
            modalElement
        );


        modal.show();

    }


    document.addEventListener("DOMContentLoaded", function () {

        const modalElement =
            document.getElementById("videoModal");


        if (!modalElement) {
            return;
        }


        modalElement.addEventListener(
            "hidden.bs.modal",
            function () {

                const playerIds = [
                    "kaltura_player_buy_process_english",
                    "kaltura_player_buy_process_spanish",
                    "kaltura_player_CC_english",
                    "kaltura_player_CC_spanish"
                ];


                playerIds.forEach(function (id) {

                    const playerDiv =
                        document.getElementById(id);

                    if (!playerDiv) {
                        return;
                    }


                    const iframe =
                        playerDiv.querySelector("iframe");


                    if (iframe && iframe.contentWindow) {

                        try {

                            iframe.contentWindow.postMessage(
                                '{"method":"pause"}',
                                "*"
                            );

                        }
                        catch (e) {
                            console.warn(
                                "Could not pause Kaltura player:",
                                id
                            );
                        }

                    }

                });

            }
        );

    });

</script>
<script type="text/javascript">



    const KeysDictionary = {
        635: "Ford",
        636: "GMC",
        637: "Chevy",
        638: "Ram",
        825: "Chevy"
    };


    document.addEventListener("DOMContentLoaded", function () {
        const boxCheckbox = document.getElementById("boxTrucksCheckbox");
        const searchAllCheckbox = document.getElementById("searchAllCheckbox");
        const sizeDiv = document.getElementById("boxTruckSizes");
        const otherTypesDiv = document.getElementById("otherEquipmentTypes");
        const cabChassisDiv = document.getElementById("cabChassisDiv");

        function showDefaultView() {
            // Hide box truck sizes, show other equipment types and cab & chassis
            sizeDiv.style.display = "none";
            otherTypesDiv.style.display = "flex";
            cabChassisDiv.style.display = "flex";
        }

        function showBoxTruckSizes() {
            // Show box truck sizes, hide other equipment types and cab & chassis
            sizeDiv.style.display = "flex";
            otherTypesDiv.style.display = "none";
            cabChassisDiv.style.display = "none";
        }

        function toggleBoxTruckView() {
            if (boxCheckbox.checked && !searchAllCheckbox.checked) {
                showBoxTruckSizes();
            } else {
                showDefaultView();
            }
        }

        function handleSearchAllChange() {
            if (searchAllCheckbox.checked) {
                // When Search All is checked, always show default view
                // and uncheck Box Trucks if it was checked
                boxCheckbox.checked = false;

                // Uncheck all box truck sizes
                const boxSizeCheckboxes = document.querySelectorAll('.boxSize');
                boxSizeCheckboxes.forEach(function (checkbox) {
                    checkbox.checked = false;
                });

                showDefaultView();
            }
        }

        // Initialize on load
        toggleBoxTruckView();

        // Add event listeners
        boxCheckbox.addEventListener("change", toggleBoxTruckView);
        searchAllCheckbox.addEventListener("change", handleSearchAllChange);
    });

    function handleEnter(obj, event) {
        var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
        if (keyCode == 13) {
            if ($("#quickSearchAddress").val() === "") {
                alert("Please enter an address");
            }
            else {
                Search();
            }
            return false;
        }
        else {
            return true;
        }
    }
    function Search() {

        let isBEBP = false;
        var searchUrl = "/Home/SearchResults?address=" + $("#quickSearchAddress").val().replace(/\./g, "").replace(/,/g, "").replace(/ /g, "-").replace(/\(/g, "").replace(/\)/g, "") + "&category=";

        var checkedBox;
        $(".typeCheckbox").each(function () {
            if ($(this).is(':checked')) {
                checkedBox = $(this).val();
            }
        })
        var model = $("#hfv_ModelType").val();
        if (checkedBox == "CabAndChassis") {
            model = "DC-EL-TT-JH-JH_D";
        }
        else if (checkedBox == "CargoVans") {
            checkedBox = "PickupsAndCargoVans";
            model = "BE"
            isBEBP = true;
        } else if (checkedBox == "PickupTrucks") {
            checkedBox = "PickupsAndCargoVans";
            model = "BP"
            isBEBP = true;
        }
        else if (checkedBox == "BoxTrucks") {
            const box10 = document.querySelector('.boxSize[value="10"]');
            const box14 = document.querySelector('.boxSize[value="14"]');
            const box17 = document.querySelector('.boxSize[value="17"]');

            if (box10.checked) {
                model = "TM";
            }
            if (box14.checked) {
                model = "DC";
            }
            if (box17.checked) {
                model = "EL";
            }
            if (box10.checked && box14.checked) {
                model = "TM-DC";
            }
            if (box10.checked && box17.checked) {
                model = "TM-EL";
            }
            if (box17.checked && box14.checked) {
                model = "DC-EL";
            }
            if (box10.checked && box14.checked && box17.checked) {
                model = "TM-DC-EL";
            }
            if (!box10.checked && !box14.checked && !box17.checked) {
                model = "TM-DC-EL";
            }
        }
        else {
            model = "AllModels"
        }
        searchUrl += checkedBox;
        searchUrl += "&distance=";
        searchUrl += $("#quickSearchMilesMobile").find(":selected").val();
        searchUrl += "&models=";
        searchUrl += model;
        if (isBEBP) {
            searchUrl += "&makes=";
            searchUrl += "Ford-Chevy-GMC-Ram";
        }
        window.location.href = "https://" + window.location.host + searchUrl;
    }
    function onSearchClicked2() {
        if ($("#quickSearchAddress").val() === "") {
            alert("Please enter an address");
        }
        else {
            Search();
        }
    };

    // adding this href to javascript to avoid automatic translation in spanish version
    function goToEnglishSite() {
        var domain = 'uhaul';
        var domex = '.com'
        var subdomain = 'trucksales';
        var englishUrl = 'https://' + subdomain + '.' + domain + domex + '/';
        window.location.href = englishUrl;
        return false;
    }
    window.onload = function () {
        if (navigator.geolocation) {
            navigator.geolocation.getCurrentPosition(successCallback, errorCallback);
        } else {
            console.log("Geolocation is not supported by this browser.");
        }
    };
    function successCallback(position) {
        const lat = position.coords.latitude;
        const lon = position.coords.longitude;
        fetch(`https://nominatim.openstreetmap.org/reverse?format=jsonv2&lat=${lat}&lon=${lon}`)
            .then(response => response.json())
            .then(data => {
                document.getElementById("quickSearchAddress").value = data.address.city || data.display_name;
            })
            .catch(err => {
                console.error("Reverse geocoding failed", err);
                document.getElementById("quickSearchAddress").value = `${lat}, ${lon}`; // fallback
            });
    }
    function errorCallback(error) {
        console.warn(`ERROR(${error.code}): ${error.message}`);
    }
     window.onload = function () {
        var message = '';
        if (message) {
            alert(message);
        }
    };
    //toggle english and spanish versions for spanish button and TT Video along with different Ids for Mobile version
    document.addEventListener('DOMContentLoaded', function () {
        var isSpanishSite = window.location.href.toLowerCase().includes('_trucksales_uhaul_com');

        document.getElementById('spanishButton').style.display = isSpanishSite ? 'none' : '';
        document.getElementById('englishButton').style.display = isSpanishSite ? '' : 'none';
        document.getElementById('spanishVersion').style.display = isSpanishSite ? '' : 'none';
        document.getElementById('englishVersion').style.display = isSpanishSite ? 'none' : '';

    });
    document.addEventListener('DOMContentLoaded', function () {
        var isSpanishSite = window.location.href.toLowerCase().includes('_trucksales_uhaul_com');

        document.getElementById('spanishButton_m').style.display = isSpanishSite ? 'none' : '';
        document.getElementById('englishButton_m').style.display = isSpanishSite ? '' : 'none';
        document.getElementById('spanishVersion_m').style.display = isSpanishSite ? '' : 'none';
        document.getElementById('englishVersion_m').style.display = isSpanishSite ? 'none' : '';
    });
</script>

<div class="row desktop-only" style="max-width:80em;margin:auto;background-color:white">
    <h2 style="text-align:center;width:40%;margin:10px auto;">Hear What Our Customers Are Saying</h2>
    <hr class="orange-line" />
        <div class="col-sm-4">
            <div class="row">
                <div class="col-sm-1"></div>
                <div class="col-sm-10" style="text-align:left;height:240px;padding:10px 20px;box-shadow: 1px 6px 9px 3px rgba(218,218,218,1);">
                    <span class="left-quote"><i class="fas fa-quote-left"></i></span>
                    <div class="feedback-message">The lady that served us on two occasions that week in purchasing our truck was Danielle. She was amazing. She had the most wonderful most delightful a...</div>
                    <div class="feedback-name-location-wrapper">
                        <span class="feedback-name">Jackson Junction </span>
                        <span class="feedback-location">Bowdon ga</span>
                    </div>
                    <div class="feedback-rating-wrapper">
                        <span class="feedback-rating">
                                                                                                                    <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i>
                        </span>
                    </div>
                </div>
                <div class="col-sm-1"></div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="row">
                <div class="col-sm-1"></div>
                <div class="col-sm-10" style="text-align:left;height:240px;padding:10px 20px;box-shadow: 1px 6px 9px 3px rgba(218,218,218,1);">
                    <span class="left-quote"><i class="fas fa-quote-left"></i></span>
                    <div class="feedback-message">Dori at the 6800 Pendleton Pike Indianapolis IN location was extremely helpful and patient with me during the purchase process. Due to multiple paymen...</div>
                    <div class="feedback-name-location-wrapper">
                        <span class="feedback-name">J R Morgan Moving, LLC</span>
                        <span class="feedback-location">Kalispell MT</span>
                    </div>
                    <div class="feedback-rating-wrapper">
                        <span class="feedback-rating">
                                                                                                                    <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i>
                        </span>
                    </div>
                </div>
                <div class="col-sm-1"></div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="row">
                <div class="col-sm-1"></div>
                <div class="col-sm-10" style="text-align:left;height:240px;padding:10px 20px;box-shadow: 1px 6px 9px 3px rgba(218,218,218,1);">
                    <span class="left-quote"><i class="fas fa-quote-left"></i></span>
                    <div class="feedback-message">Brian was wonderful and patience.  I had a great experience and appreciate his expertise and friendly sales approach. </div>
                    <div class="feedback-name-location-wrapper">
                        <span class="feedback-name">gforcenursing</span>
                        <span class="feedback-location">Las Vegas, NV</span>
                    </div>
                    <div class="feedback-rating-wrapper">
                        <span class="feedback-rating">
                                                                                                                    <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i>
                        </span>
                    </div>
                </div>
                <div class="col-sm-1"></div>
            </div>
        </div>
</div>

<div class="row tablet-only" style="max-width:80em;margin:auto;background-color:white">
    <h2 style="text-align:center;width:40%;margin:10px auto;">Hear What Our Customers Are Saying</h2>
    <hr class="orange-line" />

            <div class="col-sm-6">
                <div class="row">
                    <div class="col-sm-1"></div>
                    <div class="col-sm-10" style="text-align:left;height:240px;padding:10px 20px;box-shadow: 1px 6px 9px 3px rgba(218,218,218,1);">
                        <span class="left-quote"><i class="fas fa-quote-left"></i></span>
                        <div class="feedback-message">The lady that served us on two occasions that week in purchasing our truck was Danielle. She was amazing. She had the most wonderful most delightful a...</div>
                        <div class="feedback-name-location-wrapper">
                            <span class="feedback-name">Jackson Junction </span>
                            <span class="feedback-location">Bowdon ga</span>
                        </div>
                        <div class="feedback-rating-wrapper">
                            <span class="feedback-rating">
                                                                                                                                    <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i>
                            </span>
                        </div>
                    </div>
                    <div class="col-sm-1"></div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="row">
                    <div class="col-sm-1"></div>
                    <div class="col-sm-10" style="text-align:left;height:240px;padding:10px 20px;box-shadow: 1px 6px 9px 3px rgba(218,218,218,1);">
                        <span class="left-quote"><i class="fas fa-quote-left"></i></span>
                        <div class="feedback-message">Dori at the 6800 Pendleton Pike Indianapolis IN location was extremely helpful and patient with me during the purchase process. Due to multiple paymen...</div>
                        <div class="feedback-name-location-wrapper">
                            <span class="feedback-name">J R Morgan Moving, LLC</span>
                            <span class="feedback-location">Kalispell MT</span>
                        </div>
                        <div class="feedback-rating-wrapper">
                            <span class="feedback-rating">
                                                                                                                                    <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i>
                            </span>
                        </div>
                    </div>
                    <div class="col-sm-1"></div>
                </div>
            </div>
</div>

<div class="row mobile-only" style="max-width:80em;margin:auto;background-color:white">
    <h2 style="text-align:center;width:70%;margin:10px auto;">Hear What Our Customers Are Saying</h2>
    <hr class="orange-line" />

            <div class="col-sm-1"></div>
            <div class="col-sm-10">
                <div class="row">
                    <div class="col-sm-2"></div>
                    <div class="col-sm-8" style="text-align:left;height:240px;padding:10px 20px;box-shadow: 1px 6px 9px 3px rgba(218,218,218,1);">
                        <span class="left-quote"><i class="fas fa-quote-left"></i></span>
                        <div class="feedback-message">The lady that served us on two occasions that week in purchasing our truck was Danielle. She was amazing. She had the most wonderful most delightful a...</div>
                        <div class="feedback-name-location-wrapper">
                            <span class="feedback-name">Jackson Junction </span>
                            <span class="feedback-location">Bowdon ga</span>
                        </div>
                        <div class="feedback-rating-wrapper">
                            <span class="feedback-rating">
                                                                                                                                    <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i>
                            </span>
                        </div>
                    </div>
                    <div class="col-sm-2"></div>
                </div>
            </div>
            <div class="col-sm-1"></div>
</div>

<div class="row" style="max-width:80em;margin-top:20px;">
    <h4 style="text-align:center;"><a href="/Testimonials">View More Testimonials&nbsp;&nbsp;<i class="fas fa-long-arrow-alt-right"></i></a></h4>
</div>




        <!--<footer style="margin-top:20px;" class="no-print desktop-only">
            <div class="row" style="width:80em;margin:auto;background-color:#ff5107;color:white;height:60px;">
                <div class="col-sm-6" style="float:left;vertical-align:middle;line-height:60px;">
                    <div class="col-sm-5" style="float:left;vertical-align:middle;line-height:60px;">
                        <span style="font-size:14px;">Contact U-Haul Truck Sales<sup>®</sup></span>
                    </div>
                    <div class="col-sm-7" style="float:left;vertical-align:middle;line-height:60px;">
                        <span style="font-size:22px;">1-866-404-0355</span>
                    </div>
                </div>-->
        
        <!--<div class="col-sm-4" style="line-height: 60px; float:right; vertical-align: middle; margin-left:5em; visibility:visible; ">
                    <span><a href="https://es.uhaul.com/_trucksales_uhaul_com/http://trucksales.uhaul.com/" class="btNav" id="navSpanish" lang="es"><img src="~/content/images/spanish-organge.png" /></a></span>
                </div>
                <div class="col-sm-6 social-media-div" style="float:right;vertical-align:middle;line-height:60px;">
                    <a href="https://www.youtube.com/UhaulOfficialVideos/" target="_blank"><i class="fab fa-youtube"></i></a>
                    <a href="https://www.pinterest.com/uhaul/" target="_blank"><i class="fab fa-pinterest"></i></a>
                    <a href="https://uhaul.com/blog/" target="_blank"><i class="fab fa-wordpress"></i></a>
                    <a href="https://www.facebook.com/uhaultrucksales/" target="_blank"><i class="fab fa-facebook-square"></i></a>
                    <a href="https://twitter.com/UhaulTruckSales" target="_blank"><i class="fab fa-twitter"></i></a>
                </div>
            </div>

            <div class="row" style="width:80em;margin:auto;background-color:#5a5a5a;">
                <div class="col-sm-8">
                    <div class="col-sm-4" style="text-align:left;">
                        <ul class="footer-list">
                            <li class="footer-list-header"><b>Links</b></li>
                            <li class="footer-list-item"><a href="https://www.allianceleasing.net/apply-now.html" target="_blank">Alliance Leasing</a></li>
                            <li class="footer-list-item"><a href="https://repair.uhaul.net/EPCRetail/" target="_blank">Find Truck Parts</a></li>
                            <li class="footer-list-item"><a href="https://patriottruckleasing.com/truck-sizes/" target="_blank">Patriot Truck Leasing</a></li>
                            <li class="footer-list-item"><a href="https://www.uhaul.com/Truck-Rentals/" target="_blank">Rental Trucks</a></li>
                        </ul>
                    </div>
                    <div class="col-sm-4" style="text-align:left;">
                        <ul class="footer-list">
                            <li class="footer-list-header"><b>Fleet Sales</b></li>
                            <li class="footer-list-item"><a href="tel:18664040355">Contact via Phone</a></li>
                            <li class="footer-list-item"><a href="/">Search for Equipment</a></li>
                            <li class="footer-list-item"><a href="mailto:trucksales@uhaul.com">Contact via Email</a></li>
                        </ul>
                    </div>
                    <div class="col-sm-4" style="text-align:left;">
                        <ul class="footer-list">
                            <li class="footer-list-header"><b>Company Info</b></li>
                            <li class="footer-list-item"><a href="https://www.uhaul.com/About/History/" target="_blank">About U-Haul</a></li>
                            <li class="footer-list-item"><a href="https://www.uhaul.com/Legal/TermsOfUse/" target="_blank">Terms of Use</a></li>
                            <li class="footer-list-item"><a href="https://www.uhaul.com/About/Sustainability/" target="_blank">Sustainability</a></li>
                        </ul>
                    </div>
                </div>
                <div class="col-sm-4" style="margin-top:20px;margin-bottom:20px;">
                    <div class="row" style="color:white;">
                        <div class="col-sm-12">
                            <img src="~/content/images/uhaul_logo_white.png" height="20" />
                        </div>
                    </div>
                    <div class="row" style="color:#969696;font-size:14px;margin-top:10px;">
                        <div class="col-sm-12">
                            This website is owned and operated by Web Team Associates, Inc. Copyright © 2018 U-Haul International, Inc. All rights reserved.
                        </div>
                    </div>
                    <div class="row" style="color:#969696;font-size:14px;margin-top:10px;margin-bottom:10px;">
                        <div class="col-sm-12">
                            U-Haul International, Inc.'s trademarks and copyrights are used under license by Web Team Associates, Inc.
                        </div>
                    </div>
                </div>
            </div>
        </footer>

        <footer style="margin-top:20px;width:100%;" class="no-print tablet-or-mobile">

            <div class="row" style="width:100%;margin:0 auto;padding:10px 0px 5px 0px;background-color:#ff5107;color:white;">
                <div class="col-sm-12" style="text-align:center;">
                    <div style="display:inline-block;font-size:18px;">Contact U-Haul Truck Sales<sup>®</sup></div>
                </div>
            </div>
            <div class="row" style="width:100%;margin:0 auto;padding:10px 0px 5px 0px;background-color:#ff5107;color:white;">
                <div class="col-sm-12" style="text-align:center;">
                    <div style="display:inline-block;font-size:22px;">1-866-404-0355</div>
                </div>
            </div>

            <div class="row" style="width:100%;margin:auto;padding:10px 0px 5px 0px;background-color:#ff5107;color:white;">
                <div class="col-sm-12 social-media-div" style="text-align:center;">
                    <div style="display:inline-block;">
                        <a href="https://www.youtube.com/UhaulOfficialVideos/" target="_blank"><i class="fab fa-youtube"></i></a>
                        <a href="https://www.pinterest.com/uhaul/" target="_blank"><i class="fab fa-pinterest"></i></a>
                        <a href="https://uhaul.com/blog/" target="_blank"><i class="fab fa-wordpress"></i></a>
                        <a href="https://www.facebook.com/uhaultrucksales/" target="_blank"><i class="fab fa-facebook-square"></i></a>
                        <a href="https://twitter.com/UhaulTruckSales" target="_blank"><i class="fab fa-twitter"></i></a>
                    </div>
                </div>
            </div>
            <div class="row" style="width: 100%; margin: auto; background-color: #3e3e3e; border-bottom: 2px solid #969696">
                <span class="col-sm-4" style="float:left;padding-left:0; visibility:visible; ">
                    <a href="https://es.uhaul.com/_trucksales_uhaul_com/http://trucksales.uhaul.com/" class="btNav" id="navSpanish">
                        <img src="~/content/images/SpanishButton.png" />
                    </a>
                </span>
            </div>
            <div class="row" style="width: 100%; margin: 0 auto; background-color: #3e3e3e; color: white; border-bottom: 2px solid #969696;">
                <div class="col-sm-12">
                    <div class="container">
                        <div class="row collapse-container" data-bs-toggle="collapse" data-bs-target="#footer-links">
                            <h4 style="float:left;">Links</h4>
                            <h4 id="footer-links-carat" style="float:right;margin-right:100px;"><i class="fas fa-chevron-down"></i></h4>
                        </div>
                        <div id="footer-links" class="row collapse" style="margin-right:160px;padding-bottom:10px;">
                            <ul class="footer-list">
                                <li class="footer-list-item"><a href="https://www.allianceleasing.net/apply-now.html" target="_blank">Alliance Leasing</a></li>
                                <li class="footer-list-item"><a href="https://repair.uhaul.net/EPCRetail/" target="_blank">Find Truck Parts</a></li>
                                <li class="footer-list-item"><a href="https://patriottruckleasing.com/truck-sizes/" target="_blank">Patriot Truck Leasing</a></li>
                                <li class="footer-list-item"><a href="https://www.uhaul.com/Truck-Rentals/" target="_blank">Rental Trucks</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>-->
        
        <!--<div class="row" style="width: 100%; margin: 0 auto; background-color: #3e3e3e; color: white; border-bottom: 2px solid #969696;">
                <div class="col-sm-12">
                    <div class="container">
                        <div class="row collapse-container" data-bs-toggle="collapse" data-bs-target="#footer-fleet-sales">
                            <h4 style="float:left;">Fleet Sales</h4>
                            <h4 id="footer-fleet-sales-carat" style="float:right;margin-right:100px;"><i class="fas fa-chevron-down"></i></h4>
                        </div>
                        <div id="footer-fleet-sales" class="row collapse" style="margin-right:160px;padding-bottom:10px;">
                            <ul class="footer-list">
                                <li class="footer-list-item"><a href="tel:18664040355">Contact via Phone</a></li>
                                <li class="footer-list-item"><a href="/">Search for Equipment</a></li>
                                <li class="footer-list-item"><a href="mailto:trucksales@uhaul.com">Contact via Email</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row" style="width: 100%; margin: 0 auto; background-color: #3e3e3e; color: white; border-bottom: 2px solid #969696;">
                <div class="col-sm-12">
                    <div class="container">
                        <div class="row collapse-container" data-bs-toggle="collapse" data-bs-target="#footer-company-info">
                            <h4 style="float:left;">Company Info</h4>
                            <h4 id="footer-company-info-carat" style="float:right;margin-right:100px;"><i class="fas fa-chevron-down"></i></h4>
                        </div>
                        <div id="footer-company-info" class="row collapse" style="margin-right:160px;padding-bottom:10px;">
                            <ul class="footer-list">
                                <li class="footer-list-item"><a href="https://www.uhaul.com/About/History/" target="_blank">About U-Haul</a></li>
                                <li class="footer-list-item"><a href="https://www.uhaul.com/Legal/PrivacyNotice/" target="_blank">Terms &amp; Conditions</a></li>
                                <li class="footer-list-item"><a href="https://www.uhaul.com/About/Sustainability/" target="_blank">Sustainability</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row" style="width: 100%; margin: 0 auto; background-color: #3e3e3e; color: white; padding-top: 20px; padding-bottom: 20px;">
                <div class="row" style="color:white;text-align:center;">
                    <div class="col-sm-12">
                        <img sstyle="display:inline-block;" src="~/content/images/uhaul_logo_white.png" height="40" />
                    </div>
                </div>
                <div class="row" style="color:#969696;font-size:14px;margin-top:10px;text-align:center;">
                    <div class="col-sm-12">
                        <div style="display:inline-block">This website is owned and operated by Web Team Associates, Inc. Copyright © 2018 U-Haul International, Inc. All rights reserved.</div>
                    </div>
                </div>
                <div class="row" style="color:#969696;font-size:14px;margin-top:10px;margin-bottom:10px;text-align:center;">
                    <div class="col-sm-12">
                        <div style="display:inline-block">U-Haul International, Inc.'s trademarks and copyrights are used under license by Web Team Associates, Inc.</div>
                    </div>
                </div>
            </div>



            <div class="row desktop-only" style="width: 80em; margin: auto; background-color: #3e3e3e;">
                <div class="col-sm-8">
                    <div class="col-sm-4" style="text-align:left;">
                        <ul class="footer-list">
                            <li class="footer-list-header"><b>Links</b></li>
                            <li class="footer-list-item"><a href="https://www.allianceleasing.net/apply-now.html" target="_blank">Alliance Leasing</a></li>
                            <li class="footer-list-item"><a href="https://repair.uhaul.net/EPCRetail/" target="_blank">Find Truck Parts</a></li>
                            <li class="footer-list-item"><a href="https://patriottruckleasing.com/truck-sizes/" target="_blank">Patriot Truck Leasing</a></li>
                            <li class="footer-list-item"><a href="https://www.uhaul.com/Truck-Rentals/" target="_blank">Rental Trucks</a></li>
                        </ul>
                    </div>
                    <div class="col-sm-4" style="text-align:left;">
                        <ul class="footer-list">
                            <li class="footer-list-header"><b>Fleet Sales</b></li>
                            <li class="footer-list-item"><a href="tel:18664040355">Contact via Phone</a></li>
                            <li class="footer-list-item"><a href="/">Search for Equipment</a></li>
                            <li class="footer-list-item"><a href="mailto:trucksales@uhaul.com">Contact via Email</a></li>
                        </ul>
                    </div>
                    <div class="col-sm-4" style="text-align:left;">
                        <ul class="footer-list">
                            <li class="footer-list-header"><b>Company Info</b></li>
                            <li class="footer-list-item"><a href="https://www.uhaul.com/About/History/" target="_blank">About U-Haul</a></li>
                            <li class="footer-list-item"><a href="https://www.uhaul.com/Legal/PrivacyNotice/" target="_blank">Terms &amp; Conditions</a></li>
                            <li class="footer-list-item"><a href="https://www.uhaul.com/About/Sustainability/" target="_blank">Sustainability</a></li>
                        </ul>
                    </div>
                </div>
                <div class="col-sm-4" style="margin-top:20px;margin-bottom:20px;">
                    <div class="row" style="color:white;">
                        <div class="col-sm-12">
                            <img src="~/content/images/uhaul_logo_white.png" height="20" />
                        </div>
                    </div>
                    <div class="row" style="color:#969696;font-size:14px;margin-top:10px;">
                        <div class="col-sm-12">
                            This website is owned and operated by Web Team Associates, Inc. Copyright © 2018 U-Haul International, Inc. All rights reserved.
                        </div>
                    </div>
                    <div class="row" style="color:#969696;font-size:14px;margin-top:10px;margin-bottom:10px;">
                        <div class="col-sm-12">
                            U-Haul International, Inc.'s trademarks and copyrights are used under license by Web Team Associates, Inc.
                        </div>
                    </div>
                </div>
            </div>
        </footer>-->
    </div>
    <!--<!-- Sticky Bottom-Right Box -->
    <!--<div class="desktop-only-div_sticky desktop-only" onclick="toggleModal()">
        <div class="box-content">
            <strong style="font-size: larger; color: white; font-weight: 900;">🔍 Search for Equipment/Stock Number or VIN</strong>
        </div>
    </div>
    <div class="tablet-or-mobile" id="stockSearchBox" onclick="toggleModal()">
        <div class="box-content">
            <strong style="font-size: larger; color: white;">🔍 Search for Equipment/Stock Number or VIN</strong>
        </div>
    </div>-->
    <!-- Modal Overlay -->
    <div id="stockModal" class="modal-overlay d-none">
        <div class="modal-content">
            <span class="close-btn" onclick="toggleModal()">✖</span>
            <h2>Where can I find the Equipment/Stock Number <br />or VIN?</h2>
            
            <div id="kaltura_player" style="width:100%; height:360px; margin-top:10px;"></div>
            <h2 style=" margin-top:10px;">Search Equipment/Stock Number or VIN</h2>
            <div class="search-input">
                <input type="text" id="stockNumber" placeholder="Enter equipment number or 17 digit VIN..." />
                <button class="button-primary" onclick="searchStock()">Search</button>
            </div>
        </div>
    </div>

    <footer style="margin-top:20px;" class="no-print desktop-only">
        <div class="row" style="width:80em;margin:auto;background-color:#ff5107;color:white;height:120px;">
            <div class="col-sm-7" style="float:left;vertical-align:middle;line-height:60px;">
                <div class="col-sm-6" style="float:left;vertical-align:middle;line-height:120px;">
                    <a href="tel:18664040355" style="font-size: 20px; color:white;">Contact U-Haul Truck Sales<sup>®</sup></a>
                </div>
                <div class="col-sm-6" style="float:left;vertical-align:middle;line-height:37px;margin-top:5px;">
                    <a href="tel:18664040355" style="font-size:22px;color:white">1-866-404-0355 <br /> </a>
                    <span style="font-size:15px;">  Mon- Sat: (7AM-9PM EST) <br />Sun:<span style="margin: 0 19px"></span>(9AM-7PM EST)</span>
                </div>
                
            </div>
            
            <div class="col-sm-3" style="line-height: 60px; float:right; vertical-align: middle; margin-left:5em; visibility:visible; ">
                <span><a href="https://es.uhaul.com/_trucksales_uhaul_com/http://trucksales.uhaul.com/" class="btNav" id="navSpanish" lang="es"><img src="/content/images/spanish-organge.png" /></a></span>
            </div>
            <div class="col-sm-3" style="line-height: 60px; float:right; vertical-align: middle; margin-left:5em; display:none ">
                <button id="English_button" class="button-primary"
                        onclick=goToEnglishSite()>
                    English
                </button>
            </div>
            <div class="col-sm-5 social-media-div" style="float:right;vertical-align:middle;line-height:60px;">
                <a href="https://www.youtube.com/UhaulOfficialVideos/" target="_blank"><i class="fab fa-youtube"></i></a>
                <a href="https://www.pinterest.com/uhaul/" target="_blank"><i class="fab fa-pinterest"></i></a>
                <a href="https://uhaul.com/blog/" target="_blank"><i class="fab fa-wordpress"></i></a>
                <a href="https://www.facebook.com/uhaultrucksales/" target="_blank"><i class="fab fa-facebook-square"></i></a>
                <a href="https://twitter.com/UhaulTruckSales" target="_blank"><i class="fab fa-twitter"></i></a>
            </div>
        </div>

        <div class="row" style="width:80em;margin:auto;background-color:#5a5a5a;">
            <div class="col-sm-8">
                <div class="col-sm-4" style="text-align:left;">
                    <ul class="footer-list">
                        <li class="footer-list-header"><b>Links</b></li>
                        <li class="footer-list-item"><a href="https://www.allianceleasing.net/apply-now.html" target="_blank">Alliance Leasing</a></li>
                        <li class="footer-list-item"><a href="https://repair.uhaul.net/EPCRetail/" target="_blank">Find Truck Parts</a></li>
                        <li class="footer-list-item"><a href="https://patriottruckleasing.com/truck-sizes/" target="_blank">Patriot Truck Leasing</a></li>
                        <li class="footer-list-item"><a href="https://www.uhaul.com/Truck-Rentals/" target="_blank">Rental Trucks</a></li>
                    </ul>
                </div>
                <div class="col-sm-4" style="text-align:left;">
                    <ul class="footer-list">
                        <li class="footer-list-header"><b>Fleet Sales</b></li>
                        <li class="footer-list-item"><a href="tel:18664040355">Contact via Phone</a></li>
                        <li class="footer-list-item"><a href="/">Search for Equipment</a></li>
                        <li class="footer-list-item"><a href="mailto:trucksales@uhaul.com">Contact via Email</a></li>
                    </ul>
                </div>
                <div class="col-sm-4" style="text-align:left;">
                    <ul class="footer-list">
                        <li class="footer-list-header"><b>Company Info</b></li>
                        <li class="footer-list-item"><a href="https://www.uhaul.com/About/History/" target="_blank">About U-Haul</a></li>
                        <li class="footer-list-item"><a href="https://www.uhaul.com/Legal/TermsOfUse/" target="_blank">Terms of Use</a></li>
                        <li class="footer-list-item"><a href="https://www.uhaul.com/About/Sustainability/" target="_blank">Sustainability</a></li>
                    </ul>
                </div>
            </div>
            <div class="col-sm-4" style="margin-top:20px;margin-bottom:20px;">
                <div class="row" style="color:white;">
                    <div class="col-sm-12">
                        <img src="/content/images/uhaul_logo_white.png" height="20" />
                    </div>
                </div>
                <div class="row" style="color:#969696;font-size:14px;margin-top:10px;">
                    <div class="col-sm-12">
                        This website is owned and operated by Web Team Associates, Inc. Copyright © 2018 U-Haul International, Inc. All rights reserved.
                    </div>
                </div>
                <div class="row" style="color:#969696;font-size:14px;margin-top:10px;margin-bottom:10px;">
                    <div class="col-sm-12">
                        U-Haul International, Inc.'s trademarks and copyrights are used under license by Web Team Associates, Inc.
                    </div>
                </div>
            </div>
        </div>
    </footer>

    <footer style="margin-top:20px;width:100%;" class="no-print tablet-or-mobile">

        <div class="row" style="width:100%;margin:0 auto;padding:10px 0px 5px 0px;background-color:#ff5107;color:white;">
            <div class="col-sm-12" style="text-align:center;">
                <div style="display:inline-block;font-size:18px;">Contact U-Haul Truck Sales<sup>®</sup></div>
            </div>
        </div>
        <div class="row" style="width:100%;margin:0 auto;padding:10px 0px 5px 0px;background-color:#ff5107;color:white;">
            <div class="col-sm-12" style="text-align:center;">
                <div style="display:inline-block;font-size:22px;">1-866-404-0355</div>
            </div>
        </div>

        <div class="row" style="width:100%;margin:auto;padding:10px 0px 5px 0px;background-color:#ff5107;color:white;">
            <div class="col-sm-12 social-media-div" style="text-align:center;">
                <div style="display:inline-block;">
                    <a href="https://www.youtube.com/UhaulOfficialVideos/" target="_blank"><i class="fab fa-youtube"></i></a>
                    <a href="https://www.pinterest.com/uhaul/" target="_blank"><i class="fab fa-pinterest"></i></a>
                    <a href="https://uhaul.com/blog/" target="_blank"><i class="fab fa-wordpress"></i></a>
                    <a href="https://www.facebook.com/uhaultrucksales/" target="_blank"><i class="fab fa-facebook-square"></i></a>
                    <a href="https://twitter.com/UhaulTruckSales" target="_blank"><i class="fab fa-twitter"></i></a>
                </div>
            </div>
        </div>
        <div class="row" style="width: 100%; margin: auto; background-color: #3e3e3e; border-bottom: 2px solid #969696">
            <span class="col-sm-4" style="float:left;padding-left:0; visibility:visible; ">
                <a href="https://es.uhaul.com/_trucksales_uhaul_com/http://trucksales.uhaul.com/" class="btNav" id="navSpanish">
                    <img src="/content/images/SpanishButton.png" />
                </a>
            </span>
            <span class="col-sm-4" style="padding-bottom: 8px; padding-top: 8px; padding-left: 43px; display:none ">
                <h4 id="English_button" style="  background-color: #3e3e3e; color: white;" class=""
                    onclick=goToEnglishSite()>
                    English
                </h4>
            </span>
        </div>
        <div class="row" style="width: 100%; margin: 0 auto; background-color: #3e3e3e; color: white; border-bottom: 2px solid #969696;">
            <div class="col-sm-12">
                <div class="container">
                    <div class="row collapse-container" data-bs-toggle="collapse" data-bs-target="#footer-links">
                        <h4 style="float:left;">Links</h4>
                        <h4 id="footer-links-carat" style="float:right;margin-right:100px;"><i class="fas fa-chevron-down"></i></h4>
                    </div>
                    <div id="footer-links" class="row collapse" style="margin-right:160px;padding-bottom:10px;">
                        <ul class="footer-list">
                            
                            <li class="footer-list-item"><a href="https://repair.uhaul.net/EPCRetail/" target="_blank">Find Truck Parts</a></li>
                            <li class="footer-list-item"><a href="https://patriottruckleasing.com/truck-sizes/" target="_blank">Patriot Truck Leasing</a></li>
                            <li class="footer-list-item"><a href="https://www.uhaul.com/Truck-Rentals/" target="_blank">Rental Trucks</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="row" style="width: 100%; margin: 0 auto; background-color: #3e3e3e; color: white; border-bottom: 2px solid #969696;">
            <div class="col-sm-12">
                <div class="container">
                    <div class="row collapse-container" data-bs-toggle="collapse" data-bs-target="#footer-fleet-sales">
                        <h4 style="float:left;">Fleet Sales</h4>
                        <h4 id="footer-fleet-sales-carat" style="float:right;margin-right:100px;"><i class="fas fa-chevron-down"></i></h4>
                    </div>
                    <div id="footer-fleet-sales" class="row collapse" style="margin-right:160px;padding-bottom:10px;">
                        <ul class="footer-list">
                            <li class="footer-list-item"><a href="tel:18664040355">Contact via Phone</a></li>
                            
                            <li class="footer-list-item"><a href="mailto:trucksales@uhaul.com">Contact via Email</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="row" style="width: 100%; margin: 0 auto; background-color: #3e3e3e; color: white; border-bottom: 2px solid #969696;">
            <div class="col-sm-12">
                <div class="container">
                    <div class="row collapse-container" data-bs-toggle="collapse" data-bs-target="#footer-company-info">
                        <h4 style="float:left;">Company Info</h4>
                        <h4 id="footer-company-info-carat" style="float:right;margin-right:100px;"><i class="fas fa-chevron-down"></i></h4>
                    </div>
                    <div id="footer-company-info" class="row collapse" style="margin-right:160px;padding-bottom:10px;">
                        <ul class="footer-list">
                            <li class="footer-list-item"><a href="https://www.uhaul.com/About/History/" target="_blank">About U-Haul</a></li>
                            <li class="footer-list-item"><a href="https://www.uhaul.com/Legal/PrivacyNotice/" target="_blank">Terms &amp; Conditions</a></li>
                            <li class="footer-list-item"><a href="https://www.uhaul.com/About/Sustainability/" target="_blank">Sustainability</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="row" style="width: 100%; margin: 0 auto; background-color: #3e3e3e; color: white; padding-top: 20px; padding-bottom: 20px;">
            <div class="row" style="color:white;text-align:center;">
                <div class="col-sm-12">
                    <img sstyle="display:inline-block;" src="/content/images/uhaul_logo_white.png" height="40" />
                </div>
            </div>
            <div class="row" style="color:#969696;font-size:14px;margin-top:10px;text-align:center;">
                <div class="col-sm-12">
                    <div style="display:inline-block">This website is owned and operated by Web Team Associates, Inc. Copyright © 2018 U-Haul International, Inc. All rights reserved.</div>
                </div>
            </div>
            <div class="row" style="color:#969696;font-size:14px;margin-top:10px;margin-bottom:10px;text-align:center;">
                <div class="col-sm-12">
                    <div style="display:inline-block">U-Haul International, Inc.'s trademarks and copyrights are used under license by Web Team Associates, Inc.</div>
                </div>
            </div>
        </div>


        <div class="row desktop-only" style="width: 80em; margin: auto; background-color: #3e3e3e;">
            <div class="col-sm-8">
                <div class="col-sm-4" style="text-align:left;">
                    <ul class="footer-list">
                        <li class="footer-list-header"><b>Links</b></li>
                        <li class="footer-list-item"><a href="https://www.allianceleasing.net/apply-now.html" target="_blank">Alliance Leasing</a></li>
                        <li class="footer-list-item"><a href="https://repair.uhaul.net/EPCRetail/" target="_blank">Find Truck Parts</a></li>
                        <li class="footer-list-item"><a href="https://patriottruckleasing.com/truck-sizes/" target="_blank">Patriot Truck Leasing</a></li>
                        <li class="footer-list-item"><a href="https://www.uhaul.com/Truck-Rentals/" target="_blank">Rental Trucks</a></li>
                    </ul>
                </div>
                <div class="col-sm-4" style="text-align:left;">
                    <ul class="footer-list">
                        <li class="footer-list-header"><b>Fleet Sales</b></li>
                        <li class="footer-list-item"><a href="tel:18664040355">Contact via Phone</a></li>
                        
                        <li class="footer-list-item"><a href="mailto:trucksales@uhaul.com">Contact via Email</a></li>
                    </ul>
                </div>
                <div class="col-sm-4" style="text-align:left;">
                    <ul class="footer-list">
                        <li class="footer-list-header"><b>Company Info</b></li>
                        <li class="footer-list-item"><a href="https://www.uhaul.com/About/History/" target="_blank">About U-Haul</a></li>
                        <li class="footer-list-item"><a href="https://www.uhaul.com/Legal/PrivacyNotice/" target="_blank">Terms &amp; Conditions</a></li>
                        <li class="footer-list-item"><a href="https://www.uhaul.com/About/Sustainability/" target="_blank">Sustainability</a></li>
                    </ul>
                </div>
            </div>
            <div class="col-sm-4" style="margin-top:20px;margin-bottom:20px;">
                <div class="row" style="color:white;">
                    <div class="col-sm-12">
                        <img src="/content/images/uhaul_logo_white.png" height="20" />
                    </div>
                </div>
                <div class="row" style="color:#969696;font-size:14px;margin-top:10px;">
                    <div class="col-sm-12">
                        This website is owned and operated by Web Team Associates, Inc. Copyright © 2018 U-Haul International, Inc. All rights reserved.
                    </div>
                </div>
                <div class="row" style="color:#969696;font-size:14px;margin-top:10px;margin-bottom:10px;">
                    <div class="col-sm-12">
                        U-Haul International, Inc.'s trademarks and copyrights are used under license by Web Team Associates, Inc.
                    </div>
                </div>
            </div>
        </div>
    </footer>

    <style>
        .desktop-only-div_sticky {
            position: fixed;
            top: 40%;
            right: 20px;
            z-index: 999;
            background-color: #FF5314;
            border: 1px solid #ccc;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            padding: 10px;
            cursor: pointer;
            width: 260px;
            font-family: sans-serif;
            text-align: center;
        }

        #stockSearchBox {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 999;
            background-color: #FF5314;
            border: 1px solid #ccc;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            padding: 10px;
            cursor: pointer;
            width: 240px;
            font-family: sans-serif;
            text-align: center;
        }

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            background: rgba(0,0,0,0.6);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
        }

        .modal-content {
            background: white;
            padding: 20px;
            border-radius: 12px;
            width: 90%;
            max-width: 650px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            position: relative;
            font-family: sans-serif;
        }

            .modal-content h2 {
                margin-top: 0;
                font-size: 1.5em;
            }

            .modal-content .search-input {
                margin-top: 15px;
                display: flex;
                gap: 10px;
            }

            .modal-content input {
                flex: 1;
                padding: 8px;
                font-size: 16px;
                background-color: #fff;
                border: 1px solid #ccc;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            }

            .modal-content button {
                padding: 8px 16px;
                font-size: 16px;
                border: none;
                color: white;
                border-radius: 4px;
                cursor: pointer;
            }

        .d-none {
            display: none !important;
        }

        .close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 20px;
            cursor: pointer;
            color: #555;
        }
    </style>

    <!-- Kaltura Script -->
    <script src="https://cdnapisec.kaltura.com/p/2039371/sp/2039371/embedIframeJs/uiconf_id/45406992/partner_id/2039371" async></script>
    <script>
        // Get the query string from Razor
        const iurlString = window.location.href;

        // Define the Spanish URL to check
        const spanishUrl = "_trucksales_uhaul_com";

        const kalturaConfig = {
            targetId: "kaltura_player",
            wid: "_2039371",
            uiconf_id: "45406992",
            // Use JS .includes() instead of C# .Contains()
            entry_id: iurlString.includes(spanishUrl) ? "1_t97609cy" : "1_lipno46a",
            flashvars: {
                "autoPlay": true,
                "mute": true,
                "loop": false
            }
        };

        function clearKalturaPlayer() {
            const container = document.getElementById(kalturaConfig.targetId);
            if (container) {
                container.innerHTML = ""; // removes the iframe / stops playback
            }
        }
        // adding this href to javascript to avoid automatic translation in spanish version
        function goToEnglishSite() {
            var domain = 'uhaul';
            var domex = '.com'
            var subdomain = 'trucksales';
            var englishUrl = 'https://' + subdomain + '.' + domain + domex + '/';
            window.location.href = englishUrl;
            return false;
        }
        function embedKaltura() {
            const container = document.getElementById(kalturaConfig.targetId);
            if (!container) return;

            // ensure we don't double-embed
            clearKalturaPlayer();

            if (typeof kWidget === "undefined") {
                setTimeout(embedKaltura, 100);
                return;
            }

            kWidget.embed({
                targetId: kalturaConfig.targetId,
                wid: kalturaConfig.wid,
                uiconf_id: kalturaConfig.uiconf_id,
                entry_id: kalturaConfig.entry_id,
                "flashvars": kalturaConfig.flashvars
            });
        }

        function toggleModal() {
            const modal = document.getElementById("stockModal");
            const wasHidden = modal.classList.contains("d-none");
            modal.classList.toggle("d-none");

            if (wasHidden) {
                // just opened
                embedKaltura();
            } else {
                // just closed
                clearKalturaPlayer();
            }
        }

        function searchStock() {
            const inputRaw = document.getElementById("stockNumber").value.trim();
            if (!inputRaw) {
                alert("Please enter a value.");
                return;
            }

            const input = inputRaw.toUpperCase();
            const isVin17 = /^[A-HJ-NPR-Z0-9]{17}$/.test(input);
            const isEquip7 = /^[A-Z0-9]{7}$/.test(input);
            const params = new URLSearchParams({ postal: "", sid: "" });

            if (isVin17) {
                params.set("vin", input);
            } else if (isEquip7) {
                params.set("equip", input);
            } else {
                alert("Enter a 17-character VIN (letters/numbers, no I/O/Q) or a 7-character Equip Number in the format: AB1234C ");
                return;
            }
            const iurlString = window.location.href;

            // Define the Spanish URL to check
            const spanishUrl = "_trucksales_uhaul_com";
            if (iurlString.includes(spanishUrl)) {
                window.location.href = "https://es.uhaul.com/_trucksales_uhaul_com/Vehicles/SpecificEquipmentSearch?" + params.toString();
            } else {
                window.location.href = "/Vehicles/SpecificEquipmentSearch?" + params.toString();
            }

        }

        // initial embed if modal is already visible on load
        embedKaltura();
    </script>
    <script src="https://code.jquery.com/jquery-3.5.1.min.js"
     asp-fallback-src="/lib/jquery/dist/jquery.min.js"
     asp-fallback-test="window.jQuery"
     integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
     crossorigin="anonymous"> </script>
   <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
     asp-fallback-src="/lib/bootstrap/dist/js/bootstrap.bundle.min.js"
     asp-fallback-test="window.bootstrap" 
     integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
     crossorigin="anonymous">
   </script>
    <script src="/content/js/site.min.js" asp-append-version="true"></script>
    <script src="/content/js/modernizr.min.js" asp-append-version="true"></script>
    <script src="/content/js/layout.bundle.min.js" asp-append-version="true"></script>
    <script type="text/javascript" src="/content/js/slick-1.8.1/slick/slick.min.js"></script>
    <script type="text/javascript" src="/content/lib/jquery-ui-1.12.1.custom/jquery-ui.js"></script>
    <script type="text/javascript">

        $("#siteSearchButton").on("click", function () {
            var input = $("#siteSearchText").val();
            console.log(input)
            // Regular expression: 2 letters, 4 digits, 1 letter (case-insensitive)
            var pattern = /^[A-Za-z]{2}\d{4}[A-Za-z]$/;
            const iurlString = window.location.href;

            // Define the Spanish URL to check
            const spanishUrl = "_trucksales_uhaul_com";
            if (iurlString.includes(spanishUrl)) {
                window.location.href = "https://es.uhaul.com/_trucksales_uhaul_com/Vehicles/SpecificEquipmentSearch?postal=&sid=&&vin&equip=" + input;
            } else {
                window.location.href = "/Vehicles/SpecificEquipmentSearch?postal=&sid=&&vin&equip=" + input;
            }
        });
    </script>
    
</body>
</html>
