@@ -0,0 +1,357 @@
+# emulate behaviour of other browsers%0Adef focus(elem):%0A    JS(%22%22%22%0A        try %7B%0A            elem.focus();%0A        %7D catch (e) %7B%0A            // Only trap the exception if the attempt was mostly legit%0A            if (!elem %7C%7C !elem.focus) %7B%0A                // Rethrow the probable NPE or invalid type%0A                throw e;%0A            %7D%0A        %7D%0A    %22%22%22)%0A

add ie6 specific Focus.focus function