function formValidation()
{
	var b_correct=true;
	if(b_correct && func_trim(document.frm_login.txt_username.value)=="") 
	{
		b_correct=false;
		alert("Please give the Registration Number");
		document.frm_login.txt_username.focus();
	}
	if(b_correct && document.frm_login.txt_password.value=="") 
	{
		b_correct=false;
		alert("Please give the password");
		frm_login.txt_password.focus();
	}
	return b_correct;
}