Index: vertical_tabs.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/vertical_tabs/vertical_tabs.info,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 vertical_tabs.info
--- vertical_tabs.info	16 Dec 2008 06:53:16 -0000	1.1.2.1
+++ vertical_tabs.info	4 May 2009 23:38:04 -0000
@@ -1,3 +1,3 @@
 name = Vertical Tabs
 description = Provides vertical tabs for the node form.
-core = 6.x
\ No newline at end of file
+dependencies = jstools
\ No newline at end of file
Index: vertical_tabs.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/vertical_tabs/vertical_tabs.js,v
retrieving revision 1.3.2.10
diff -u -p -r1.3.2.10 vertical_tabs.js
--- vertical_tabs.js	3 Apr 2009 07:01:20 -0000	1.3.2.10
+++ vertical_tabs.js	4 May 2009 23:38:05 -0000
@@ -41,7 +41,7 @@ Drupal.behaviors.verticalTabs = function
       $('.vertical-tabs-' + k).remove();
     });
 
-    $('div.vertical-tabs').html(ul).append(fieldsets);
+    $('div.vertical-tabs').append(ul).append(fieldsets);
 
     // Adjust the min-height property of each field area to match the height of the vertical tabs list, then hide them.
     if ($.browser.msie && $.browser.version.substr(0,1) == "6") {
Index: vertical_tabs.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/vertical_tabs/vertical_tabs.module,v
retrieving revision 1.1.2.16
diff -u -p -r1.1.2.16 vertical_tabs.module
--- vertical_tabs.module	3 Apr 2009 07:07:31 -0000	1.1.2.16
+++ vertical_tabs.module	4 May 2009 23:38:06 -0000
@@ -6,23 +6,9 @@
  */
 
 /**
- * Implementation of hook_theme().
- */
-function vertical_tabs_theme() {
-  return array(
-    'vertical_tabs' => array(
-      'arguments' => array('form_element' => NULL),
-    ),
-    'vertical_tabs_js_css' => array(
-      'arguments' => array('js' => NULL, 'css' => NULL, 'settings' => NULL, 'form_id' => NULL),
-    ),
-  );
-}
-
-/**
  * Implementation of hook_form_alter.
  */
-function vertical_tabs_form_alter(&$form, $form_state, $form_id) {
+function vertical_tabs_form_alter($form_id, &$form) {
   // Check to see which form we are in. Since the node form's form id is not
   // just node_form, we can't implement a function for all node forms, so we are
   // stuck implementing the global form_alter and checking if there is the
@@ -122,7 +108,7 @@ function vertical_tabs_form_alter(&$form
 }
 
 function vertical_tabs_node_type_form($node_type) {
-  module_load_include('inc', 'node', 'node.pages');
+  include_once(drupal_get_path('module', 'node') .'/node.pages.inc');
 
   // Build a psuedo-node for a sample node form.
   $node = (object) array(
@@ -261,11 +247,11 @@ function theme_vertical_tabs_js_css($js,
   static $js_added = array();
   if (!isset($js_added[$form_id])) {
     drupal_add_js(array('verticalTabs' => $settings), 'setting');
-    drupal_add_js(drupal_get_path('module', 'vertical_tabs') .'/vertical_tabs.js', 'theme');
+    jstools_add_js(drupal_get_path('module', 'vertical_tabs') .'/vertical_tabs.js', 'theme');
     drupal_add_css(drupal_get_path('module', 'vertical_tabs') .'/vertical_tabs.css', 'theme');
-    foreach ($js as $path) {
-      drupal_add_js($path, 'theme');
-    }
+    //foreach ($js as $path) {
+    //  jstools_add_js($path, 'theme');
+    //}
     foreach ($css as $path) {
       drupal_add_css($path, 'theme');
     }
