--- swfobject_api.module 2009-03-25 17:36:01.000000000 +0100 +++ swfobject_api.module 2009-03-25 17:36:10.000000000 +0100 @@ -114,10 +114,10 @@ function swfobject_api_ensure_swfobject( // Load the swfobject library and our add-on to activate it. drupal_add_js(drupal_get_path('module', 'swfobject_api') .'/swfobject.js', 'module', 'header'); // Load the JS which creates loads the params into the page - drupal_add_js(drupal_get_path('module', 'swfobject_api') .'/swfobject_api.js', 'module', 'footer'); + drupal_add_js(drupal_get_path('module', 'swfobject_api') .'/swfobject_api.js', 'module', 'header'); $done = TRUE; } - drupal_add_js($settings, 'setting', 'footer', FALSE, TRUE, FALSE); + drupal_add_js($settings, 'setting', 'header', FALSE, TRUE, FALSE); }