function putFocus(formInst, elementInst) { 
      if (document.forms[0]) {
        if (document.forms[0].length > 1) {
		  if (document.forms[0].elements[0].type!='button'&&document.forms[0].elements[0].type!='hidden'&&document.forms[0].elements[0].type!='reset'&&document.forms[0].elements[0].type!='submit'&&document.forms[0].elements[0].disabled!=true) {
	        document.forms[0].elements[0].focus();
		  }
        }
      }
    }
  // The second number in the "onLoad" command in the body
  // tag determines the form's focus. Counting starts with '0'
