<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- John Munn  (jrmunn@home.com) -->

<!-- Begin
 function putFocus(formInst, elementInst) {
  if (document.forms.length > 0){
        if (document.forms[formInst]) {
                for (i=elementInst;i<document.forms[formInst].length;i++) {      
                        if(document.forms[formInst].elements[i].type!='hidden') { 
                                document.forms[formInst].elements[i].focus();
                                break;
                        }
                }
        }
  }              
 }
// The second number in the "onLoad" command in the body
// tag determines the form's focus. Counting starts with '0'
//  End -->