A function code that points to the next location by pressing enter


function tofocus(itemname)    //Press enter to set the next position
        {
            var a
            a=eval("document.vouch."+itemname)
            a.focus()
        }
 Used in a control onkeypress="javascrip:if(window.event.keyCode==13){tofocus('nextformname')} Extract the next control name