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