<div class="theme-offer">
	<?php 
    // Check if the demo import has been completed
    $vw_business_consulting_demo_import_completed = get_option('vw_business_consulting_demo_import_completed', false);

    // If the demo import is completed, display the "View Site" button
    if ($vw_business_consulting_demo_import_completed) {
      echo '<p class="notice-text">' . esc_html__('Your demo import has been completed successfully.', 'vw-business-consulting') . '</p>';
      echo '<span><a href="' . esc_url(home_url()) . '" class="button button-primary site-btn" target="_blank">' . esc_html__('View Site', 'vw-business-consulting') . '</a></span>';
    }

        // POST and update the customizer and other related data 
        if (isset($_POST['submit'])) {

        // Check if Contact Form 7 is installed and activated
        if (!is_plugin_active('contact-form-7/wp-contact-form-7.php')) {
          // Install the plugin if it doesn't exist
          $plugin_slug = 'contact-form-7';
          $plugin_file = 'contact-form-7/wp-contact-form-7.php';

          // Check if plugin is installed
          $installed_plugins = get_plugins();
          if (!isset($installed_plugins[$plugin_file])) {
              include_once(ABSPATH . 'wp-admin/includes/plugin-install.php');
              include_once(ABSPATH . 'wp-admin/includes/file.php');
              include_once(ABSPATH . 'wp-admin/includes/misc.php');
              include_once(ABSPATH . 'wp-admin/includes/class-wp-upgrader.php');

              // Install the plugin
              $upgrader = new Plugin_Upgrader();
              $upgrader->install('https://downloads.wordpress.org/plugin/contact-form-7.latest-stable.zip');
          }
          // Activate the plugin
          activate_plugin($plugin_file);
        }    

		  // ------- Create Nav Menu --------
            $vw_business_consulting_menuname = 'Main Menus';
            $vw_business_consulting_bpmenulocation = 'primary';
            $vw_business_consulting_menu_exists = wp_get_nav_menu_object($vw_business_consulting_menuname);

            if (!$vw_business_consulting_menu_exists) {
                $vw_business_consulting_menu_id = wp_create_nav_menu($vw_business_consulting_menuname);

                // Create Home Page
                $vw_business_consulting_home_title = 'Home';
                $vw_business_consulting_home = array(
                    'post_type' => 'page',
                    'post_title' => $vw_business_consulting_home_title,
                    'post_content' => '',
                    'post_status' => 'publish',
                    'post_author' => 1,
                    'post_slug' => 'home'
                );
                $vw_business_consulting_home_id = wp_insert_post($vw_business_consulting_home);
                // Assign Home Page Template
                add_post_meta($vw_business_consulting_home_id, '_wp_page_template', 'page-template/custom-home-page.php');
                // Update options to set Home Page as the front page
                update_option('page_on_front', $vw_business_consulting_home_id);
                update_option('show_on_front', 'page');
                // Add Home Page to Menu
                wp_update_nav_menu_item($vw_business_consulting_menu_id, 0, array(
                    'menu-item-title' => __('Home', 'vw-business-consulting'),
                    'menu-item-classes' => 'home',
                    'menu-item-url' => home_url('/'),
                    'menu-item-status' => 'publish',
                    'menu-item-object-id' => $vw_business_consulting_home_id,
                    'menu-item-object' => 'page',
                    'menu-item-type' => 'post_type'
                ));

                // Create About Us Page with Dummy Content
                $vw_business_consulting_about_title = 'About Us';
                $vw_business_consulting_about_content = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam...<br>
                Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960 with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br>
                There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which dont look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isnt anything embarrassing hidden in the middle of text.<br>
                All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.';
                $vw_business_consulting_about = array(
                    'post_type' => 'page',
                    'post_title' => $vw_business_consulting_about_title,
                    'post_content' => $vw_business_consulting_about_content,
                    'post_status' => 'publish',
                    'post_author' => 1,
                    'post_slug' => 'about-us'
                );
                $vw_business_consulting_about_id = wp_insert_post($vw_business_consulting_about);
                // Add About Us Page to Menu
                wp_update_nav_menu_item($vw_business_consulting_menu_id, 0, array(
                    'menu-item-title' => __('About Us', 'vw-business-consulting'),
                    'menu-item-classes' => 'about-us',
                    'menu-item-url' => home_url('/about-us/'),
                    'menu-item-status' => 'publish',
                    'menu-item-object-id' => $vw_business_consulting_about_id,
                    'menu-item-object' => 'page',
                    'menu-item-type' => 'post_type'
                ));

                // Create Services Page with Dummy Content
                $vw_business_consulting_about_title = 'Services';
                $vw_business_consulting_about_content = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam...<br>
                Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960 with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br>
                There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which dont look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isnt anything embarrassing hidden in the middle of text.<br>
                All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.';
                $vw_business_consulting_about = array(
                    'post_type' => 'page',
                    'post_title' => $vw_business_consulting_about_title,
                    'post_content' => $vw_business_consulting_about_content,
                    'post_status' => 'publish',
                    'post_author' => 1,
                    'post_slug' => 'services'
                );
                $vw_business_consulting_about_id = wp_insert_post($vw_business_consulting_about);
                // Add Services Page to Menu
                wp_update_nav_menu_item($vw_business_consulting_menu_id, 0, array(
                    'menu-item-title' => __('services', 'vw-business-consulting'),
                    'menu-item-classes' => 'services',
                    'menu-item-url' => home_url('/services/'),
                    'menu-item-status' => 'publish',
                    'menu-item-object-id' => $vw_business_consulting_about_id,
                    'menu-item-object' => 'page',
                    'menu-item-type' => 'post_type'
                ));

                // Create Pages Page with Dummy Content
                $vw_business_consulting_pages_title = 'Pages';
                $vw_business_consulting_pages_content = '
                Explore all the pages we have on our website. Find information about our services, company, and more.
                Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960 with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br>
                All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.';
                $vw_business_consulting_pages = array(
                    'post_type' => 'page',
                    'post_title' => $vw_business_consulting_pages_title,
                    'post_content' => $vw_business_consulting_pages_content,
                    'post_status' => 'publish',
                    'post_author' => 1,
                    'post_slug' => 'pages'
                );
                $vw_business_consulting_pages_id = wp_insert_post($vw_business_consulting_pages);
                // Add Pages Page to Menu
                wp_update_nav_menu_item($vw_business_consulting_menu_id, 0, array(
                    'menu-item-title' => __('Pages', 'vw-business-consulting'),
                    'menu-item-classes' => 'pages',
                    'menu-item-url' => home_url('/pages/'),
                    'menu-item-status' => 'publish',
                    'menu-item-object-id' => $vw_business_consulting_pages_id,
                    'menu-item-object' => 'page',
                    'menu-item-type' => 'post_type'
                ));
               
                // Create Blog Page 
                $vw_business_consulting_blog_page_title = 'Blog';
                $vw_business_consulting_blog_page_query = new WP_Query(array(
                    'post_type'      => 'page',
                    'name'           => sanitize_title($vw_business_consulting_blog_page_title),
                    'post_status'    => 'publish',
                    'posts_per_page' => 1
                ));
                if (!$vw_business_consulting_blog_page_query->have_posts()) {
                    $vw_business_consulting_blog_page = array(
                        'post_type'   => 'page',
                        'post_title'  => $vw_business_consulting_blog_page_title,
                        'post_status' => 'publish',
                        'post_author' => 1,
                    );
                    $vw_business_consulting_blog_page_id = wp_insert_post($vw_business_consulting_blog_page);
                    update_option('page_for_posts', $vw_business_consulting_blog_page_id);
                    wp_update_nav_menu_item($vw_business_consulting_menu_id, 0, array(
                        'menu-item-title'      => __('Blog', 'vw-business-consulting'),
                        'menu-item-url'        => get_permalink($vw_business_consulting_blog_page_id),
                        'menu-item-status'     => 'publish',
                        'menu-item-object-id'  => $vw_business_consulting_blog_page_id,
                        'menu-item-object'     => 'page',
                        'menu-item-type'       => 'post_type',
                    ));
                }

                // Create Contact Page with Dummy Content
                $vw_business_consulting_about_title = 'Contact';
                $vw_business_consulting_about_content = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam...<br>
                Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960 with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br>
                There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which dont look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isnt anything embarrassing hidden in the middle of text.<br>
                All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.';
                $vw_business_consulting_about = array(
                    'post_type' => 'page',
                    'post_title' => $vw_business_consulting_about_title,
                    'post_content' => $vw_business_consulting_about_content,
                    'post_status' => 'publish',
                    'post_author' => 1,
                    'post_slug' => 'contact'
                );
                $vw_business_consulting_about_id = wp_insert_post($vw_business_consulting_about);
                // Add Contact Page to Menu
                wp_update_nav_menu_item($vw_business_consulting_menu_id, 0, array(
                    'menu-item-title' => __('Contact', 'vw-business-consulting'),
                    'menu-item-classes' => 'contact',
                    'menu-item-url' => home_url('/contact/'),
                    'menu-item-status' => 'publish',
                    'menu-item-object-id' => $vw_business_consulting_about_id,
                    'menu-item-object' => 'page',
                    'menu-item-type' => 'post_type'
                ));

                // Set the menu location if it's not already set
                if (!has_nav_menu($vw_business_consulting_bpmenulocation)) {
                    $locations = get_theme_mod('nav_menu_locations'); // Use 'nav_menu_locations' to get locations array
                    if (empty($locations)) {
                        $locations = array();
                    }
                    $locations[$vw_business_consulting_bpmenulocation] = $vw_business_consulting_menu_id;
                    set_theme_mod('nav_menu_locations', $locations);
                }

        }   


        // Set the demo import completion flag
        update_option('vw_business_consulting_demo_import_completed', true);

        // Display success message and "View Site" button
        echo '<p class="notice-text">' . esc_html__('Your demo import has been completed successfully.', 'vw-business-consulting') . '</p>';
        echo '<span><a href="' . esc_url(home_url()) . '" class="button button-primary site-btn" target="_blank">' . esc_html__('View Site', 'vw-business-consulting') . '</a></span>';
    

        // sidebar //
        set_theme_mod( 'vw_business_consulting_openclose_text', 'Contact Us' ); 
        set_theme_mod( 'vw_business_consulting_baropen_icon', 'fas fa-bars' );
        set_theme_mod( 'vw_business_consulting_barclose_icon', 'fas fa-window-close' );
        set_theme_mod( 'vw_business_consulting_phone_text', 'Hot Line' );
        set_theme_mod( 'vw_business_consulting_phone_number', '+00 1234 567 890' );
        set_theme_mod( 'vw_business_consulting_phone_no_icon', 'fas fa-phone' );
        set_theme_mod( 'vw_business_consulting_email_text', 'Email' );
        set_theme_mod( 'vw_business_consulting_email_address', 'xyz123@gmail.com' );
        set_theme_mod( 'vw_business_consulting_email_address_icon', 'fas fa-envelope-open' );

        // slider section start //  
        set_theme_mod( 'vw_business_consulting_banner_image', get_template_directory_uri().'/assets/images/defaultbanner.png');

        set_theme_mod( 'vw_business_consulting_banner_small_title', 'Trusted By 2.5 million People' );
        set_theme_mod( 'vw_business_consulting_banner_small_title_icon', 'fas fa-smile' );
        set_theme_mod( 'vw_business_consulting_tagline_title', 'We Can Help You To Grow Your Business' );
        set_theme_mod( 'vw_business_consulting_designation_text', 'It is a long established fact that a reader will be distracted by the readable con of the page when looking at its layout ' );
        set_theme_mod( 'vw_business_consulting_banner_image_col2', get_template_directory_uri().'/assets/images/banner1.png');
        set_theme_mod( 'vw_business_consulting_slider_year1', 'Creative Team' );
        set_theme_mod( 'vw_business_consulting_banner_image_col4', get_template_directory_uri().'/assets/images/banner2.png');
        
        // contact form shortcode
            $cf7title = "Contact Page";
            $cf7content = '
            <div class="mb-3 select">
              [select* OpenThisSelectMenu class:form-select "Select Your Services" "Management Consulting" "Financial Consulting" "IT Consulting" "Marketing Consulting" "Human Resources Consulting" "Environmental Consulting"]
              </div>
              <div class="bugdets">
              [text* text-339 class:form-control placeholder "Bugdets"]
              </div>
              <div class="email">
              [email* email-680 class:form-control placeholder "Mail Here"]
              </div>
              <div class="time">
              [text* text-818 class:walcf7-timepicker placeholder "Time"]
              </div>
              <div class="date">
              [text* text-795 class:walcf7-datepicker placeholder "Date"]
              </div>
              <div>
               <button type="submit" class="btn btn-appointment">Make An Appiontment Now<i class="fas fa-arrow-right"></i></button>
            </div>
            [_site_title] "[your-subject]"
            [_site_title] <support@example.com>
            From: [your-name] <[your-email]>
            Subject: [your-subject]

            Message Body:
            [your-message]

            --
            This e-mail was sent from a contact form on [_site_title] ([_site_url])
            [_site_admin_email]
            Reply-To: [your-email]

            0
            0

            [_site_title] "[your-subject]"
            [_site_title] <support@example.com>
            Message Body:
            [your-message]

            --
            This e-mail was sent from a contact form on [_site_title] ([_site_url])
            [your-email]
            Reply-To: [_site_admin_email]

            0
            0
            Thank you for your message. It has been sent.
            There was an error trying to send your message. Please try again later.
            One or more fields have an error. Please check and try again.
            There was an error trying to send your message. Please try again later.
            You must accept the terms and conditions before sending your message.
            The field is required.
            The field is too long.
            The field is too short.
            There was an unknown error uploading the file.
            You are not allowed to upload files of this type.
            The file is too big.
            There was an error uploading the file.';

            $cf7_post = array(
            'post_title'    => wp_strip_all_tags( $cf7title ),
            'post_content'  => $cf7content,
            'post_status'   => 'publish',
            'post_type'     => 'wpcf7_contact_form',
            );
            // Insert the post into the database
            $cf7post_id = wp_insert_post( $cf7_post );

            add_post_meta($cf7post_id, "_form", '
            <div class="mb-3 select">
              [select* OpenThisSelectMenu class:form-select "Select Your Services" "Management Consulting" "Financial Consulting" "IT Consulting" "Marketing Consulting" "Human Resources Consulting" "Environmental Consulting"]
              </div>
              <div class="bugdets">
              [text* text-339 class:form-control placeholder "Bugdets"]
              </div>
              <div class="email">
              [email* email-680 class:form-control placeholder "Mail Here"]
              </div>
              <div class="time">
              [text* text-818 class:walcf7-timepicker placeholder "Time"]
              </div>
              <div class="date">
              [text* text-795 class:walcf7-datepicker placeholder "Date"]
              </div>
              <div>
               <button type="submit" class="btn btn-appointment">Make An Appiontment Now<i class="fas fa-arrow-right"></i></button>
            </div>
            ');

            $cf7mail_data  = array('subject' => '[_site_title] "[your-subject]"',
                'sender' => '[_site_title] <support@example.com>',
                'body' => 'From: [your-name] <[your-email]>
            Subject: [your-subject]

            Message Body:
            [your-message]

            --
            This e-mail was sent from a contact form on [_site_title] ([_site_url])',
                'recipient' => '[_site_admin_email]',
                'additional_headers' => 'Reply-To: [your-email]',
                'attachments' => '',
                'use_html' => 0,
                'exclude_blank' => 0 );

            add_post_meta($cf7post_id, "_mail", $cf7mail_data);
                      // Gets term object from Tree in the database.
            $cf7shortcode = '[contact-form-7 id="'.$cf7post_id.'" title="'.$cf7title.'"]';
            set_theme_mod( 'vw_business_consulting_banner_form_shortcode',$cf7shortcode );       
  

        // Contact Section start //
        set_theme_mod( 'vw_business_consulting_about_image_col1', get_template_directory_uri().'/assets/images/about1.png'); 
        set_theme_mod( 'vw_business_consulting_about_img_year', '20' );
        set_theme_mod( 'vw_business_consulting_about_img_text', 'Year Of Experience' );
        set_theme_mod( 'vw_business_consulting_about_image_col2', get_template_directory_uri().'/assets/images/about2.png'); 
        set_theme_mod( 'vw_business_consulting_pichart_icon', 'fas fa-chart-bar' );
        set_theme_mod( 'vw_business_consulting_about_img_year1', 'Creating a Business With Authentic Integrity' );
        set_theme_mod( 'vw_business_consulting_about_img_text1', 'Participation' );
        set_theme_mod( 'vw_business_consulting_about_us_small_title', 'About Us' );
        set_theme_mod( 'vw_business_consulting_about_tagline_title', 'Our Skilled Team Grow Your Business.' );
        set_theme_mod( 'vw_business_consulting_about_content_text', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500, when an unknown printer took a galley of type and scrambled it to make a type specimen book' );


        set_theme_mod( 'vw_business_consulting_services_number', '3' );
        $vw_business_consulting_tab_array = array("Our Mission", "Our Vission", "Our Stories");

        for($vw_business_consulting_tab_index=1; $vw_business_consulting_tab_index <= 3; $vw_business_consulting_tab_index++) {

            $vw_business_consulting_theme_mod_key = 'vw_business_consulting_services_text' . $vw_business_consulting_tab_index;
            $vw_business_consulting_theme_mod_value = $vw_business_consulting_tab_array[$vw_business_consulting_tab_index - 1];
            set_theme_mod($vw_business_consulting_theme_mod_key, $vw_business_consulting_theme_mod_value); 

            set_theme_mod( 'vw_business_consulting_about_tab_text'.$vw_business_consulting_tab_index, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500, when an unknown printer took a galley of type and scrambled it to make a type specimen book' );
            set_theme_mod( 'vw_business_consulting_about_tab_text_count'.$vw_business_consulting_tab_index, '80+' );
            set_theme_mod( 'vw_business_consulting_about_tab_team_member'.$vw_business_consulting_tab_index, 'Expert Team Member' );
            set_theme_mod( 'vw_business_consulting_about_image'.$vw_business_consulting_tab_index, get_template_directory_uri().'/assets/images/admin'.$vw_business_consulting_tab_index.'.png' );
            set_theme_mod( 'vw_business_consulting_about_client_name'.$vw_business_consulting_tab_index, 'Johni Verma' );
            set_theme_mod( 'vw_business_consulting_about_client_designation'.$vw_business_consulting_tab_index, 'Ceo & Manager' );
            set_theme_mod( 'vw_business_consulting_button_about_icon'.$vw_business_consulting_tab_index, 'fas fa-arrow-right' );


            $vw_business_consulting_listtext_array = array("One-stop Solution","One-stop Solution", "Effective Solution","Effective Solution", "Leading Marketing", "Leading Marketing");
            for($vw_business_consulting_i=1; $vw_business_consulting_i<=6; $vw_business_consulting_i++){

                set_theme_mod( 'vw_business_consulting_about_list_icon'.$vw_business_consulting_i, 'fas fa-check' );
                // title setting
                $vw_business_consulting_theme_mod_key = 'vw_business_consulting_about_page_list' . $vw_business_consulting_i . $vw_business_consulting_tab_index ;
                $vw_business_consulting_theme_mod_value = $vw_business_consulting_listtext_array[$vw_business_consulting_i - 1];
                set_theme_mod($vw_business_consulting_theme_mod_key, $vw_business_consulting_theme_mod_value); 
            }
        }

        
        //Copyright Text
        set_theme_mod( 'vw_business_consulting_footer_text', 'By VWThemes' );             
    }
  ?>
  
	<p><?php esc_html_e('Please back up your website if it’s already live with data. This importer will overwrite your existing settings with the new customizer values for VW Business Consulting', 'vw-business-consulting'); ?></p>
    <form action="<?php echo esc_url(home_url()); ?>/wp-admin/themes.php?page=vw_business_consulting_guide" method="POST" onsubmit="return validate(this);">
        <?php if (!get_option('vw_business_consulting_demo_import_completed')) : ?>
            <input class="run-import" type="submit" name="submit" value="<?php esc_attr_e('Run Importer', 'vw-business-consulting'); ?>" class="button button-primary button-large">
        <?php endif; ?>
        <div id="spinner" style="display:none;">         
            <img src="<?php echo esc_url(get_template_directory_uri()); ?>/assets/images/spinner.png" alt="" />
        </div>
    </form>
    <script type="text/javascript">
        function validate(form) {
            if (confirm("Do you really want to import the theme demo content?")) {
                document.getElementById('spinner').style.display = 'block';
                return true;
            } 
            else {
                return false;
            }
        }
    </script>
</div>

