--- thickbox.module	2009-09-07 08:07:01.000000000 -0700
+++ thickboxNew.module	2010-05-23 12:14:14.000000000 -0700
@@ -95,9 +95,11 @@ function _thickbox_active() {
  */
 function _thickbox_doheader() {
   global $user;
-  static $already_added = FALSE;
+  static $already_added;
   if ($already_added) {
     return; // Don't add the JavaScript and CSS multiple times.
+  } else {
+    $already_added = TRUE;
   }
 
   if(_thickbox_active()) {
