Firstly I would advise to put anything more than a small snippet of code into a function, it's easier to read, maintain and re-use.
Code:
function focusOnElement(FormName, ElementName)
{
var oElement = document.forms[FormName].elements[ElementName];
if (oElement && oElement.focus)
{
oElement.focus();
}
}
You can now use this to focus on any element where it will accept it:
Code:
<input onclick="document.nemoName.submit();" onblur="focusOnElement('nemoName', 'nemonico');" type="button" tabindex="2" value="Aceptar">
You don't need the script block following the button.
--
Joe