function pwlenchk(inp){
	chk1 = /^[a-z\d]{6,12}$/i;
	chk2 = /[a-z]/i;
	chk3 = /\d/;
	return chk1.test(inp) && chk2.test(inp) && chk3.test(inp);
}

