HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/quotes/public_html/index.html
<!doctype html>
<html lang="en" class="h-100">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
    <link rel="stylesheet" href="css/sweetalert.css">
    <link rel="stylesheet" href="css/icomoon-style.css">
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
    <meta name="msapplication-TileColor" content="#0168a6">
    <meta name="theme-color" content="#ffffff">
    <link rel="stylesheet" href="css/styles.css">
    <title>Florida's Best Lawn & Pest - Free Quote</title>
    <meta name="description" content="Florida's Best Lawn & Pest" />
    <link rel="stylesheet" href="css/fresco.css">
    <link rel="stylesheet" type="text/css" href="css/slick.css" />
    <link rel="stylesheet" type="text/css" href="css/slick-theme.css" />
    <link rel="stylesheet" href="css/bai0tmx.css">
    <link rel="stylesheet" href="css/landing-style.css">
    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
    <style>
        .form_header span:nth-child(2) {
            font-size: 1.25rem;
            position: relative;
            top: -.75rem;
        }
        
        input {
            border-radius: 0px!important;
            border: 0px !important;
        }
        
        .error {
            color: red;
            font-weight: bold;
        }
    </style>
</head>

<body>
    <header>
        <div class="h-100">
            <div class="top position-relative" style="z-index:3000;background-color:white;">
                <div class="bg-split bg-md-yellow bg-right"></div>
                <div class="container">
                    <div class="d-flex justify-content-end align-items-center">
                        <div class="p-2 position-relative font-pn-r text-uppercase">
                            <div class="slanted">
                                <div class="d-flex align-items-center">
                                    <p class="text-navy mb-0 font-21 px-2 line-height-1">
                                        <span class="d-block font-pn-c-sb-i font-15 text-right text-uppercase">For Immediate Assistance Call</span>
                                        <a href="tel:18443005376" class="text-navy font-pn-c-sb h2 d-block text-right mb-0" style="line-height:1;">(844) 300-5376 &nbsp;</a>
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <nav class="navbar navbar-expand-lg  position-relative mb-0 py-0">
                <div class="bg-split bg-white bg-left d-none d-sm-block"></div>
                <div class="container">
                    <a href="/" aria-label="FBLP"><img src="img/logo-min.png" alt="FBLP" title="FBLP" class="position-absolute d-sm-block bottom-0 logo"></a>
                </div>
            </nav>
    </header>


    <!--modal-->
    <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" style="z-index: 3000;">
        <div class="modal-dialog" role="document">
            <div class="bg-yellow modal-content px-4 py-4" id="exampleModalLabel">
                <div>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
			  <span aria-hidden="true">&times;</span>
			</button>
                </div>
                <h5 class="text-navy text-center text-uppercase font-pn-c-sb h3 mb-3">Need Pests Gone Fast?<br>Get A FREE Estimate!</h5>
                <form id="modalPest" method="GET" aria-label="Get A Free Estimate">
                    <input type="hidden" name="IpAddress" class="IpAddress" id="IpAddress">
                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="exampleFormControlInput1" class="font-pn-c-m mb-0">First Name:</label>
                                <input type="text" id="exampleFormControlInput1" class="form-control" name="firstname" value="" required>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="last_name" class="font-pn-c-m mb-0">Last Name:</label>
                                <input type="text" id="last_name" class="form-control" name="lastname" value="" required>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="exampleFormControlInput4" class="font-pn-c-m mb-0">Email:</label>
                                <input type="email" class="form-control" id="exampleFormControlInput4" placeholder="[email protected]" name="email" value="" required>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="exampleFormControlInput5" class="font-pn-c-m mb-0">Phone:</label>
                                <input type="tel" class="form-control" id="phone" placeholder="(123)-456-7890" value="" name="phonenumber">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="city_input" class="font-pn-c-m mb-0">City:</label>
                                <input type="text" class="form-control" id="city_input" name="city" value="" required>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="zip_input" class="font-pn-c-m mb-0">Zip Code:</label>
                                <input type="text" class="form-control" id="zip_input" name="zip" value="" required>
                            </div>
                        </div>

                        <div class="col-md-12">
                            <div class="form-group font-pn-c-m">
                                <label for="LOCompany" class="font-pn-c-m mb-0">Are you Currently using another Pest Control Company?</label>
                                <select class="mb-3 form-control rounded-0 border-0 LOCompany" name="LOCompany">
								<option selected hidden disabled value="">Select Option</option>
								<option value="true" >Yes</option>
								<option value="false" >No</option>
							</select>
                            </div>
                            <div class="col-md-12 loCompanyInput">
                                <div class="form-group">
                                    <label for="zip_input" class="font-pn-c-m mb-0">Company Name</label>
                                    <input type="text" class="form-control" name="LOCompanyName" required>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-12 form-group">
                            <label for="formControlInput6" class="font-pn-c-m mb-0">Service</label>
                            <select class="form-control form-control-md" id="formControlInput6" name="LeadTypeService" required>
                            <option selected hidden disabled value="">Select Service Type</option>
                            <option value="Lawn Pest Control" >Lawn Pest Control</option>
                            <option value="Mosquito Prevention" >Mosquito Prevention</option>
                            <option value="Flea & Tick Control" >Flea & Tick Control</option>
                            <option value="Whitefly Pest Control" >Whitefly Pest Control</option>
                            <option value="Fireant Control" >Fireant Control</option>
                            <option value="Ghost Ant Control" >Ghost Ant Control</option>
                            <option value="Foundation Ant Control" >Foundation Ant Control</option>
                            <option value="General Pest Control" >General Pest Control</option>
                            <option value="Exterior Pest Control" >Exterior Pest Control</option>
                            <option value="Barrier Spray" >Barrier Spray</option>
                            <option value="Perimeter Spray" >Perimeter Spray</option>
                            <option value="Perimeter Pest Prevention" >Perimeter Pest Prevention</option>
                            <option value="Spider Removal" >Spider Removal</option>
                            <option value="Brush Down" >Brush Down</option>
                            <option value="Spider Spray" >Spider Spray</option>
                            <option value="Small Animal Control" >Small Animal Control</option>
                            <option value="Rodent Control" >Rodent Control</option>
                            <option value="Pesticide Application" >Pesticide Application</option>
                            <option value="Outside Insecticide Application" >Outside Insecticide Application</option>
                            <option value="Multiple-Other" >Multiple / Other</option>
                        </select>
                        </div>

                        <input type="hidden" name="LeadTypeId" value="4">
                        <div class="col-12 form-group text-center">
                            <button type="submit" class="btn form-btn bg-green text-uppercase text-white" value="GET FREE ESTIMATE">GET FREE ESTIMATE</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <!--/modal-->

    <main class="flex-grow-1">
        <div class="jumbotron jumbotron-fluid py-0 mb-0" style="background-image: url('img/banner.png');background-size: cover;background-position: center;">
            <div class="container">
                <div class="row">
                    <div class="col-7"></div>
                    <div class="col-lg-4 py-5 bg-yellow">
                        <h2 class="text-navy text-center text-uppercase font-pn-c-sb mb-4 form_header"><span class="font-pn-c-eb">Need Pests Gone Fast?</span><br>Get A FREE Estimate!</h2>
                        <div class="mx-1">
                            <form class="w-100" id="pest" aria-label="Schedule Your Free Inspection">
                                <input type="hidden" name="IpAddress" class="IpAddress" id="IpAddress">
                                <div class="row">
                                    <div class="col-6 form-group mb-2">
                                        <label for="inputName" class="font-pn-c-m mb-0">FIRST NAME</label>
                                        <input type="text" class="form-control" id="inputName" name="firstname" required value="">
                                    </div>
                                    <div class="col-6 form-group mb-2">
                                        <label for="inputName" class="font-pn-c-m mb-0">LAST NAME</label>
                                        <input type="text" class="form-control" id="inputName" name="lastname" required value="">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-6 form-group mb-2">
                                        <label for="inputEmail" class="font-pn-c-m mb-0">EMAIL</label>
                                        <input type="email" class="form-control" id="inputEmail" name="email" value="" required>
                                    </div>
                                    <div class="col-6 form-group mb-2">
                                        <label for="inputPhone" class="font-pn-c-m mb-0">PHONE</label>
                                        <input type="number" class="form-control" id="inputPhone" name="phonenumber" pattern="^[0-9]*$" minlength="0" value="">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-6 form-group mb-2">
                                        <label for="inputZip" class="font-pn-c-m mb-0">ZIP CODE</label>
                                        <input type="number" class="form-control" id="inputZip" name="zip" value="">
                                    </div>
                                    <div class="col-6 form-group mb-2">
                                        <label for="inputState" class="font-pn-c-m mb-0">CITY</label>
                                        <input type="text" class="form-control" id="inputState" name="city" value="">
                                    </div>
                                </div>

                                <div class="form-group font-pn-c-m">
                                    <label for="LOCompany" class="font-pn-c-m mb-0">ARE YOU CURRENTLY USING ANOTHER PREST CONTROL COMPANY?</label>
                                    <select class="mb-3 form-control rounded-0 border-0 LOCompany" name="LOCompany">
											<option selected hidden disabled value="">Select Option</option>
											<option value="true" >Yes</option>
											<option value="false" >No</option>
										</select>
                                </div>
                                <div class="col-12 hide loCompanyInput">
                                    <div class="form-group">
                                        <label for="zip_input" class="font-pn-c-m mb-0"><i class="fa fa-chevron-right" aria-hidden="true"></i> COMPANY NAME</label>
                                        <input type="text" class="form-control" name="LOCompanyName" required>
                                    </div>
                                </div>


                                <div class="form-group font-pn-c-m">
                                    <label for="inputService" class="font-pn-c-m mb-0">SERVICE</label>
                                    <select class="mb-3 form-control rounded-0 border-0" name="LeadTypeService" id="inputService">
										<option selected hidden disabled value="">Select Service Type</option>
                                        <option value="Lawn Pest Control" >Lawn Pest Control</option>
                                        <option value="Mosquito Prevention" >Mosquito Prevention</option>
                                        <option value="Flea & Tick Control" >Flea & Tick Control</option>
                                        <option value="Whitefly Pest Control" >Whitefly Pest Control</option>
                                        <option value="Fireant Control" >Fireant Control</option>
                                        <option value="Ghost Ant Control" >Ghost Ant Control</option>
                                        <option value="Foundation Ant Control" >Foundation Ant Control</option>
                                        <option value="General Pest Control" >General Pest Control</option>
                                        <option value="Exterior Pest Control" >Exterior Pest Control</option>
                                        <option value="Barrier Spray" >Barrier Spray</option>
                                        <option value="Perimeter Spray" >Perimeter Spray</option>
                                        <option value="Perimeter Pest Prevention" >Perimeter Pest Prevention</option>
                                        <option value="Spider Removal" >Spider Removal</option>
                                        <option value="Brush Down" >Brush Down</option>
                                        <option value="Spider Spray" >Spider Spray</option>
                                        <option value="Small Animal Control" >Small Animal Control</option>
                                        <option value="Rodent Control" >Rodent Control</option>
                                        <option value="Pesticide Application" >Pesticide Application</option>
                                        <option value="Outside Insecticide Application" >Outside Insecticide Application</option>
                                        <option value="Multiple-Other" >Multiple / Other</option>
									</select>
                                </div>

                                <input type="hidden" name="LeadTypeId" value="4">
                                <div class="mt-4 form-group text-center form-button font-pn-c-sb">
                                    <input type="hidden" name="form_type" value="Schedule Free Inspection">
                                    <input type="hidden" name="recaptcha_token" class="g-recaptcha-response" value="">
                                    <input type="hidden" name="form_location" value="landing">
                                    <input type="hidden" name="client" value="">
                                    <input type="submit" class="btn form-btn px-4 bg-blue text-uppercase text-white font-pn-c-sb font-1x" value="GET FREE ESTIMATE">
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- END OF JUMBO -->


        <!-- CREDITS -->
        <div class="offers">
            <div class="container">
                <div class="row py-5">
                    <div class="col-md-4 text-center mb-3">
                        <a href="https://www.bbb.org/us/fl/boca-raton/profile/pest-control/floridas-best-lawn-and-pest-llc-0633-90433136"><img src="img/BBB-Logo.png" alt="Coupon" title="Coupon" class="img-fluid" width="300px"></a>
                    </div>
                    <div class="col-md-4 text-center mb-3">
                        <img src="img/GG-Logo.png" alt="Coupon" title="Coupon" class="img-fluid" width="300px">
                    </div>
                    <div class="col-md-4 text-center mb-3">
                        <a href="http://www.npmpa.org/Florida's_Best_Lawn_and_Pest_floridasbestlawnandpest.com"><img src="img/npapm-logo.png" alt="Coupon" title="Coupon" class="img-fluid" width="300px"></a>
                    </div>
                </div>
            </div>
        </div>


        <!-- TRI-POINT -->
        <div class="bg-white py-5 mx-4">
            <div class="container">
                <div class="row text-center">
                    <div class="col-md-4 text-navy">
                        <img src="img/pet-friendly.png" alt="Family Friendly Icon" title="Family Friendly Icon" class="mr-3 w-18">
                        <br><br>
                        <h2 class="text-navy text-uppercase"><span class="font-pn-c">Family & Pet</span><br> <span class="font-pn-c-sb">Friendly</span></h2>
                        <p>We pride ourselves on making your home safe from bugs, pests and cheap extermination chemicals! We offer the highest level of family & pet friendly pest protection products. You can feel comfortable knowing your pest problem will
                            be gone with no other harmful side effects.</p>
                    </div>
                    <div class="col-md-4 text-navy">
                        <img src="img/env-friendly.png" alt="Pet Friendly Icon" title="Pet Friendly Icon" class="mr-3 w-18">
                        <br><br>
                        <h2 class="text-navy text-uppercase"><span class="font-pn-c">Environmentally</span><br> <span class="font-pn-c-sb">Safe</span></h2>
                        <p>As a local South Florida company, we make sure we do all we can to keep the environment of this great state safe. Our products are both environmentally conscious as well as powerful pest eliminators.</p>
                    </div>
                    <div class="col-md-4 text-navy">
                        <img src="img/family-friendly.png" alt="Environmentally Responsible Icon" title="Environmentally Responsible Icon" class="mr-3 w-18">
                        <br><br>
                        <h2 class="text-navy text-uppercase"><span class="font-pn-c">Family Owned</span><br> <span class="font-pn-c-sb">& Operated</span></h2>
                        <p>Personal touch is what we’re all about. Some larger companies aim for larger and larger profits, which means cutting corners. We understand the importance and safety of a pest free home and always do our best to provide you with
                            local family owned service.</p>
                    </div>
                </div>
            </div>
        </div>

        <div class="bg-blue py-5">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12 z-99">
                        <div class="w-100 h-100">
                            <h2 class="h3 font-pn-c-sb text-white text-uppercase text-center">Taking Pride In Your Work Goes A Long Way,
                                <br>See What Customers Are Saying</h2>
                            <div class="testi-wrapper mt-4 text-white">
                                <div>
                                    <p>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                    </p>
                                    <p>“Really impressed with personable and knowledgeable service. Very thorough coverage compared to other companies we have used and definitely better attention to problem areas. Went over and above to ensure roof cavity
                                        was treated. Great value!”</p>
                                </div>
                                <div>
                                    <p>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                    </p>
                                    <p>“He came over today to treat our house and yard, and he was friendly, super helpful and truly cares about his work. I will definitely recommend him to all of my friends and family. 5/5 stars for sure!”</p>
                                </div>
                                <div>
                                    <p>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                    </p>
                                    <p>“I had a flea treatment with Florida's Best Lawn And Pest and he is awesome! He knows what he does and provides great service. And the treatment really works. I highly recommend Florida's Best Lawn And Pest to anyone!
                                        You will be highly satisfied.”</p>
                                </div>
                                <div>
                                    <p>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                    </p>
                                    <p>“I am a property manager and I use a lot of companies to provide services to my homes all over the US. I am so glad I gave a call! He answered the phone right away, visited my property within the hour, and completed
                                        my servicing that day. The pricing was within my budget and I would gladly use this company for all of my future servicing.”</p>
                                </div>
                                <div>
                                    <p>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                        <i class="fas fa-star text-yellow"></i>
                                    </p>
                                    <p>“We dealt with Florida's Best Lawn And Pest for all our investment properties. Keep up good work guys.”</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <br>
                <div class="row">
                    <div class="col-md-4 text-center mb-3">
                        <img src="img/same-day-appointments.png" alt="Coupon" title="Coupon" class="img-fluid" width="300px">
                    </div>
                    <div class="col-md-4 text-center mb-3">
                        <img src="img/professional-informative.png" alt="Coupon" title="Coupon" class="img-fluid" width="300px">
                    </div>
                    <div class="col-md-4 text-center mb-3">
                        <img src="img/on-time.png" alt="Coupon" title="Coupon" class="img-fluid" width="300px">
                    </div>
                </div>
                <br>
                <div class="row">
                    <div class="col-md-4"></div>
                    <div class="col-md-4">
                        <a href="#" data-toggle="modal" data-target="#exampleModal" class="btn form-btn px-4 bg-green text-uppercase text-white font-pn-c-sb font-1x">Get A Quote Now!</a>
                    </div>
                    <div class="col-md-4"></div>
                </div>
            </div>
        </div>

        <div class="bg-white py-5 mx-4">
            <div class="container">
                <div class="row text-center">
                    <div class="col-md-6">
                        <img src="img/logo-large.png" width="50%">
                    </div>
                    <div class="col-md-6">
                        <br>
                        <h2>About Us</h2>
                        <p class="">Florida’s Best Lawn & Pest is a Full Service All in One Pest Control, Lawn and Ornamental and Landscaping Company. We are a licensed and insured and our services include Exterior Pest Control, Perimeter Pest Prevention, Lawn and
                            Weed Maintenance, Landscaping, Lawn and Perimeter Spray, Barrier Spray + Brush down, Shrub and Yard Upkeep, Fertilization, Mosquito Prevention/Control, White Fly Control, Palm and Tree Rejuvenation, Flea and Tick Control, Fire
                            Ant Control, Lawn Disease Control, Ornamental Shrubs and Tree Maintenance, and many more! We take pride in doing every job right the first time and strive to give our customs a friendly, informative experience from start to
                            finish.</p>
                    </div>
                </div>
            </div>
        </div>

        <footer>
            <div class="bg-blue text-white py-4">
                <div class="container">
                    <div class="d-block d-lg-flex text-center">
                        <div class="mb-2 mb-lg-0">
                            <span class="font-pn-c-sb h3">Florida's Best Lawn & Pest</span>
                            <br>
                            <span class="font-pn-c-sb h6">141 NW 20th St G7, Boca Raton, FL 33431</span>
                            <br>
                            <span class="font-pn-c-sb h6">(844) 300-5376</span>
                        </div>
                        <div class="ml-auto">
                            <br>
                            <img src="img/quality-pro.png" alt="Quality Pro" title="Quality Pro" class="mr-4">
                            <img src="img/epa.png" alt="EPA" title="EPA" class="mr-4">
                        </div>
                    </div>
                </div>
            </div>

            <div class="bg-light py-2">
                <div class="container">
                    <p class="mb-0 font-12 text-dark text-center">© 2020 Florida's Best Lawn & Pest. All Rights Reserved.</p>
                </div>
            </div>
        </footer>

        <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.1/jquery.validate.min.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.1/additional-methods.min.js" integrity="sha256-vb+6VObiUIaoRuSusdLRWtXs/ewuz62LgVXg2f1ZXGo=" crossorigin="anonymous"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
        <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
        <script defer src="https://use.fontawesome.com/releases/v5.7.2/js/all.js" integrity="sha384-0pzryjIRos8mFBWMzSSZApWtPl/5++eIfzYmTgBBmXYdhvxPc+XcFEk+zJwDgWbP" crossorigin="anonymous"></script>
        <script src="js/sweetalert.min.js"></script>
        <script src="js/fresco.js"></script>
        <script src="js/slick.min.js"></script>

        <!-- Global site tag (gtag.js) - Google Analytics -->
        <script async src="https://www.googletagmanager.com/gtag/js?id=UA-131527970-1"></script>
        <script>
            window.dataLayer = window.dataLayer || [];

            function gtag() {
                dataLayer.push(arguments);
            }
            gtag('js', new Date());

            gtag('config', 'UA-131527970-1');
            gtag('config', 'AW-771586475');
        </script>

        <script>
            $(document).ready(function() {
                $('.loCompanyInput').hide();
                $('.LOCompany').on('change', function() {
                    if (this.value == "true") {
                        $(".loCompanyInput").show();
                    } else {
                        $(".loCompanyInput").hide();
                    }
                });
                $('.testi-wrapper').slick({
                    dots: true,
                    prevArrow: '<button type="button" class="slick-prev-custom"><img src="/img/left-arrow.png" alt="Previous"></button>',
                    nextArrow: '<button type="button" class="slick-next-custom"><img src="/img/right-arrow.png" alt="Previous"></button>',
                    autoplay: true,
                    autoplaySpeed: 4000
                });
            });
            var getUrlParameter = function getUrlParameter(sParam) {
                var sPageURL = window.location.search.substring(1),
                    sURLVariables = sPageURL.split('&'),
                    sParameterName,
                    i;

                for (i = 0; i < sURLVariables.length; i++) {
                    sParameterName = sURLVariables[i].split('=');

                    if (sParameterName[0] === sParam) {
                        return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]);
                    }
                }
            };
            var error = getUrlParameter('error');
            var inspection = getUrlParameter('inspection');
            if (error == 1) {
                swal({
                        title: "Error!",
                        text: "",
                        type: "error",
                        showCancelButton: true,
                        confirmButtonClass: "btn-danger",
                        confirmButtonText: "Try Again",
                        cancelButtonText: "Cancel",
                        closeOnConfirm: true,
                        closeOnCancel: true
                    },
                    function(isConfirm) {
                        if (isConfirm) {
                            if (inspection == 1) {
                                $('#exampleModal').modal('show')
                            }
                        }
                    });
            }

            $('#inputZip').keyup(function() {
                var zip = $('#inputZip').val();
                if ($(this).val().length == 5) {
                    $.ajax({
                        'url': 'https://api.zippopotam.us/US/' + zip,
                        type: 'GET',
                        success: function(data) {
                            $('#inputState').val((data.places[0]["place name"]))
                        },
                        error: function(request, error) {

                        }
                    })
                }
            });

            function submitForm() {
                $.ajax({
                    type: 'post',
                    dataType: 'jsonp',
                    url: 'https://leads.floridasbestlawnandpest.com/api/PostLead',
                    data: $('#pest').serialize(),
                    success: function() {
                        console.log($('#pest').serialize())
                        window.location.href = "thank-you.html";
                    },
                    error: function() {
                        console.log($('#pest').serialize())
                        window.location.href = "thank-you.html";
                    }
                });
            };


            $("#pest").submit(function(e) {
                e.preventDefault();
            }).validate({
                rules: {
                    phonenumber: {
                        required: true,
                        phoneUS: true,
                        minlength: 10,
                        maxlength: 10
                    },
                    firstname: {
                        required: true
                    },
                    lastname: {
                        required: true
                    },
                    LeadTypeService: {
                        required: true
                    },
                    LOCompany: {
                        required: true
                    },
                    dateofbirth: {
                        required: true
                    },
                    typeofplan: {
                        required: true
                    },
                    email: {
                        required: true,
                        email: true
                    },
                    city: {
                        required: true
                    },
                    state: {
                        required: true
                    },
                    zip: {
                        required: true
                    }
                },
                messages: {
                    phone: {
                        required: "Please enter a valid phone number"
                    },

                },

                submitHandler: function(event) {
                    submitForm();
                }
            });
        </script>
        <script>
            function submitForm2() {
                $.ajax({
                    type: 'post',
                    dataType: 'jsonp',
                    url: 'https://leads.floridasbestlawnandpest.com/api/PostLead',
                    data: $('#modalPest').serialize(),
                    success: function() {
                        window.location.href = "thank-you.html";
                    },
                    error: function() {
                        window.location.href = "thank-you.html";
                    }
                });
            };
            $("#modalPest").submit(function(e) {
                e.preventDefault();
            }).validate({
                rules: {
                    phonenumber: {
                        required: true,
                        phoneUS: true,
                        minlength: 10,
                        maxlength: 10
                    },
                    firstname: {
                        required: true
                    },
                    lastname: {
                        required: true
                    },
                    Lead: {
                        required: true
                    },
                    LeadTypeService: {
                        required: true
                    },
                    LOCompany: {
                        required: true
                    },
                    dateofbirth: {
                        required: true
                    },
                    typeofplan: {
                        required: true
                    },
                    email: {
                        required: true,
                        email: true
                    },
                    city: {
                        required: true
                    },
                    state: {
                        required: true
                    },
                    zip: {
                        required: true
                    }
                },
                messages: {
                    phone: {
                        required: "Please enter a valid phone number"
                    },

                },

                submitHandler: function(event) {
                    submitForm2();
                }
            });
        </script>
        <script type="application/javascript ">
            fetch('https://api.ipify.org?format=json')
                .then((response) => {
                    return response.json()
                })
                .then((json) => {
                    let ip = json.ip;
                    $('.IpAddress').val(ip);
                })
                .catch((err) => {
                    console.log(`Error getting IP Address: ${err}`)
                })
        </script>
    </main>



</body>

</html>