function sendps() {
	var tempStr
	tempStr=document.form1.username.value;
	if(tempStr.length <2) {	
		window.alert("Please enter your Account No.");
		return false;
	}	
	if(tempStr.length >6) {	
		window.alert("Please enter a your Account No.");
		return false;
	}	
	
	//tempStr=document.form1.email.value;
	//if(tempStr.length >1) {	
	//	if(tempStr.length <5) {	
	//		window.alert("Please enter a valid email address.");
	//		return false;
	//	}	
	//	if (emailCheck(tempStr) == false) {return false;}	
	//}	
	else {
		tempStr=document.form1.username.value;
		if(tempStr.length <2 ) {
			window.alert("Invalid Account No..");
			return false;
		}	
		tempStr=document.form1.password.value;
		if(tempStr.length <3 ) {
			window.alert("Invalid password.");
			return false;
		}	
		document.form1.submit();
	}
}

