function loginvalidation()
 {
			if(document.login.txt_email.value=="")
			{
			alert('Please enter email id ');
			document.login.txt_email.focus();
			return false;
			}
			var email = document.login.txt_email.value;
			var pat = /^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$/;
			if(!email.match(pat))
			{
			alert('Please Enter the proper email');
			document.login.txt_email.focus();
			return false;
			}
        if(document.login.txt_pass.value=="")
   {
    alert('Please enter password');
	document.login.txt_pass.focus();
	return false;
   }		   
   
   
 
 return true;
 
 }

