function Check_Form_Validator2(theform)

{

	if (theform.username.value=="") 

	{

		alert('please input username£¡');

		theform.username.focus();

		return false; 

	}

	 if (theform.username.value.length < 2)

	  {

		alert('username cannot less than 2 character!');

		theform.username.focus();

		return (false);

	  }

	if (theform.username.value.length > 20){

	  

		alert('username cannot more than 20 character!');

		theform.username.focus();

		return (false);

	 }



	if (theform.password.value=="") {

		alert('please input password!');

		theform.password.focus();

		return false; 

	}

}