 ind = FirstField.indexOf('document.',0);
					if(ind == 0)
					{
						eval(FirstField);
					}
					else
					{
						var Code = "document.forms[0]."+FirstField+".focus();";
						eval(Code);
					}
				} else {
					var Cnt = 0;
					while(document.forms[0].elements[Cnt] != null) {
						try {
							if(document.forms[0].elements[Cnt].type != "hidden" &&
									!document.forms[0].elements[Cnt].disabled &&
									!document.forms[0].elements[Cnt].readOnly) {
								document.forms[0].elements[Cnt].foc