Index: js/lightbox.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/lightbox2/js/lightbox.js,v
retrieving revision 1.5.2.6.4.23
diff -u -r1.5.2.6.4.23 lightbox.js
--- js/lightbox.js 22 Feb 2008 16:55:05 -0000 1.5.2.6.4.23
+++ js/lightbox.js 7 Mar 2008 20:44:18 -0000
@@ -334,7 +334,8 @@
   start: function(imageLink) {

     // replaces hideSelectBoxes() and hideFlash() calls in original lightbox2
-    $("select, embed, object").hide();
+    $("select[display!='none'], embed[display!='none'], object[display!='none']").addClass("lightbox_hidden");
+    $("select.lightbox_hidden, embed.lightbox_hidden, object.lightbox_hidden").hide();

     // stretch overlay to fill page and fade in
     var arrayPageSize = Lightbox.getPageSize();
@@ -675,7 +676,7 @@
     $('#lightbox').hide();
     $("#overlay").fadeOut();
     // replaces calls to showSelectBoxes() and showFlash() in original lightbox2
-    $("select[display!='none'], object[display!='none'], embed[display!='none']").show();
+    $("select.lightbox_hidden, embed.lightbox_hidden, object.lightbox_hidden").show();
   },

