
					function focusthecursor(form)

                     {
                         document.form1.UID2.focus();  
                       }
			
			function ValidateForm(theForm)
				{
				if (theForm.UID2.value == "")
					{
					alert("Please enter a value for the \"Username\" field.");
					theForm.UID2.focus();
					return (false);
					}

				if (theForm.UID2.value.length < 1)
					{
					alert("Please enter at least 1 characters in the \"Username\" field.");
					theForm.UID2.focus();
					return (false);
					}

				if (theForm.UID2.value.length > 50)
					{
					alert("Please enter at most 50 characters in the \"Username\" field.");
					theForm.UID2.focus();
					return (false);
					}

				if (theForm.PWD.value == "")
					{
					alert("Please enter a value for the \"Password\" field.");
					theForm.PWD.focus();
					return (false);
					}

				if (theForm.PWD.value.length < 1)
					{
					alert("Please enter at least 1 characters in the \"Password\" field.");
					theForm.PWD.focus();
					return (false);
					}

				if (theForm.PWD.value.length > 50)
					{
					alert("Please enter at most 50 characters in the \"Password\" field.");
					theForm.PWD.focus();
					return (false);
					}
				return (true);
			}


