Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.611.2.14
diff -u -F^f -r1.611.2.14 common.inc
--- includes/common.inc	27 Dec 2007 09:21:23 -0000	1.611.2.14
+++ includes/common.inc	12 Jan 2008 14:18:47 -0000
@@ -1611,10 +1611,10 @@ function drupal_clear_css_cache() {
  *   If the first parameter is NULL, the JavaScript array that has been built so
  *   far for $scope is returned.
  */
-function drupal_add_js($data = NULL, $type = 'module', $scope = 'header', $defer = FALSE, $cache = TRUE) {
+function drupal_add_js($data = NULL, $type = 'module', $scope = 'footer', $defer = FALSE, $cache = TRUE) {
   if (!is_null($data)) {
-    _drupal_add_js('misc/jquery.js', 'core', 'header', FALSE, $cache);
-    _drupal_add_js('misc/drupal.js', 'core', 'header', FALSE, $cache);
+    _drupal_add_js('misc/jquery.js', 'core', 'footer', FALSE, $cache);
+    _drupal_add_js('misc/drupal.js', 'core', 'footer', FALSE, $cache);
   }
   return _drupal_add_js($data, $type, $scope, $defer, $cache);
 }

