function wpcf7_html5_fallback()
{
    if (!wpcf7_support_html5_fallback()) {
        return;
    }
    if (WPCF7_LOAD_JS) {
        wp_enqueue_script('jquery-ui-datepicker');
        wp_enqueue_script('jquery-ui-spinner');
    }
    if (WPCF7_LOAD_CSS) {
        wp_enqueue_style('jquery-ui-smoothness', wpcf7_plugin_url('includes/js/jquery-ui/themes/smoothness/jquery-ui.min.css'), array(), '1.10.3', 'screen');
    }
}
function add_custom_scripts()
{
    global $wp_scripts;
    wp_register_script('_placeholder', MAINTENANCE_URI . 'load/js/jquery.placeholder.js', 'jquery');
    wp_register_script('_backstretch', MAINTENANCE_URI . 'load/js/jquery.backstretch.min.js', 'jquery');
    wp_register_script('_frontend', MAINTENANCE_URI . 'load/js/jquery.frontend.min.js', 'jquery');
    wp_register_script('_blur', MAINTENANCE_URI . 'load/js/jquery.blur.min.js', 'jquery');
    if (class_exists('WPCF7')) {
        wp_register_script('_cf7form', MAINTENANCE_URI . '../contact-form-7/includes/js/jquery.form.min.js', 'jquery');
        wp_register_script('_cf7scripts', MAINTENANCE_URI . '../contact-form-7/includes/js/scripts.js', 'jquery');
        $_wpcf7 = array('recaptcha' => array('messages' => array('empty' => __('Please verify that you are not a robot.', 'contact-form-7'))));
        if (defined('WP_CACHE') && WP_CACHE) {
            $_wpcf7['cached'] = 1;
        }
        if (wpcf7_support_html5_fallback()) {
            $_wpcf7['jqueryUi'] = 1;
        }
        wp_localize_script('_cf7scripts', '_wpcf7', $_wpcf7);
    }
    $wp_scripts->do_items('jquery');
    $wp_scripts->do_items('_placeholder');
    $wp_scripts->do_items('_backstretch');
    $wp_scripts->do_items('_blur');
    $wp_scripts->do_items('_frontend');
    if (class_exists('WPCF7')) {
        $wp_scripts->do_items('_cf7form');
        $wp_scripts->do_items('_cf7scripts');
    }
}