added between line 111-123 a browser support check of .focus()
replace the document.getElementById() call by the element it self .
Merge pull request #3 from nkeshi/master

Added keepFocus support for FireFox