function includeDependencies()
 {
     $admin_options = parent::getAdminOptions();
     $include_defaults = false;
     $include_datepicker = false;
     // faster algorithm? this is in O(m*n) n = # of forms and m = # of posts
     if ($admin_options['form_page_inclusion_only'] == 1) {
         global $posts;
         $forms = parent::selectAllForms();
         $active_forms = array();
         foreach ($forms as $form) {
             $form_pages = parent::unserializeFormPageIds($form);
             foreach ($posts as $i => $p) {
                 if (in_array($p->ID, $form_pages)) {
                     $active_forms[] = $form;
                     break;
                 }
             }
         }
         if (!empty($active_forms)) {
             $include_defaults = true;
             if ($admin_options['enable_jquery'] == 1) {
                 foreach ($active_forms as $form) {
                     $fields = parent::getAttachedFieldsArray($form->id);
                     foreach ($fields as $fid) {
                         $field = parent::selectField($fid);
                         if ($field->field_type == 'Date') {
                             $include_datepicker = true;
                             break;
                         }
                     }
                 }
             }
         }
     } else {
         $include_defaults = true;
         $include_datepicker = true;
     }
     if ($include_defaults) {
         if ($admin_options['enable_jquery'] == 1) {
             if ($include_datepicker) {
                 add_action('wp_print_styles', array(&$this, 'insertDatePickerStyles'), 1);
                 add_action('wp_enqueue_scripts', array(&$this, 'insertDatePickerScripts'), 1);
             }
             add_action('wp_enqueue_scripts', array(&$this, 'insertFrontEndScripts'), 1);
         }
         add_action('wp_print_styles', array(&$this, 'insertFrontEndStyles'), 1);
     }
 }