diff -r ce069a06906c -r cfc6c30c5e2d includes/template.php --- a/includes/template.php Wed Jul 08 18:53:45 2009 -0400 +++ b/includes/template.php Wed Jul 08 22:27:24 2009 -0400 @@ -607,23 +607,7 @@ JSEOF; - } - $js_foot = << - - -JSEOF; + $js_foot = ''; if ( !empty($this->js_preload) ) { @@ -640,7 +624,27 @@ } $scripts = implode(',', $this->js_preload); $js_foot .= "\n "; + + } + + $js_foot .= << + + +JSEOF; } + $this->assign_bool(array( 'fixed_menus' => false,