Index: nice_menus.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/nice_menus/nice_menus.js,v
retrieving revision 1.5.2.2
diff -u -r1.5.2.2 nice_menus.js
--- nice_menus.js	30 Apr 2007 16:08:16 -0000	1.5.2.2
+++ nice_menus.js	1 Jul 2007 01:44:37 -0000
@@ -4,13 +4,33 @@
 if (document.all) {
   function IEHoverPseudo() {
       $("ul.nice-menu li.menuparent").hover(function(){
-          $(this).addClass("over").find("> ul").slideDown("fast");
+          $(this).addClass("over").find("> ul").slideDown("fast").addShim();
         },function(){
-          $(this).removeClass("over").find("> ul").slideUp("fast");
+          $(this).removeClass("over").find("> ul").removeShim().slideUp("fast");
         }
       );
     }
 
     // This is the jquery method of adding a function to the BODY onload event.  (See jquery.com)
     $(document).ready(function(){ IEHoverPseudo() });
-}
\ No newline at end of file
+}
+
+$.fn.addShim = function() {
+  return this.each(function(){
+	  if(document.all && $("select").size() > 0) {
+	    var ifShim = document.createElement('iframe');
+			ifShim.style.width=$(this).width()+1+"px";
+      ifShim.style.height=$(this).find("> li").size()*23+4+"px";
+			ifShim.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)";
+		  ifShim.style.zIndex="0";
+    $(this).prepend(ifShim);
+      $(this).css("zIndex","99");
+		}
+	});
+};
+
+$.fn.removeShim = function() {
+  return this.each(function(){
+	  if (document.all) $("iframe", this).remove();
+	});
+};
