function jf_form_main()
{
    if (!current_user_can('edit_pages')) {
        wp_die(__('You do not have sufficient permissions to access this page', uds_billboard_textdomain));
    }
    $ver = rand(1, 10);
    wp_register_script('jf_scripts', JOE_FORM_URL . 'js/joe_form.js', array('jquery'), $ver);
    wp_enqueue_script('jf_scripts', array('jquery'));
    $jf_form = new jf_form();
    $formName = $jf_form->getFormName();
    $recipients = $jf_form->getRecipients();
    if ($_POST['jf_action'] == 'insertFormName') {
        $insertFormName = $jf_form->insertFormName($_POST['formName']);
    }
    if ($_POST['jf_action'] == 'insertRecipients') {
        $insertRecipients = $jf_form->insertRecipients($_POST['recipients']);
    }
    include 'pgs/jf_form_admin.php';
}