Index: misc/autocomplete.js
===================================================================
--- misc/autocomplete.js	(revision 34716)
+++ misc/autocomplete.js	(working copy)
@@ -38,9 +38,19 @@
 
   $(this.input)
     .keydown(function (event) { return ac.onkeydown(this, event); })
-    .keyup(function (event) { ac.onkeyup(this, event); })
-    .blur(function () { ac.hidePopup(); ac.db.cancel(); });
-
+    .keyup(function (event) { ac.onkeyup(this, event) })
+    .blur(function ()
+    {
+        if($.browser.msie)
+        {
+            if(parseInt(jQuery.browser.version) == 6)
+            {
+                if(document.activeElement.getAttribute('id').indexOf('autocomplete')==-1) { ac.hidePopup(); ac.db.cancel(); }
+                else { input.focus(); }
+            }
+        }
+        else { ac.hidePopup(); ac.db.cancel(); }
+    });
 };
 
 /**
