// JavaScript Document
function verify()
{
	if(Trim(document.frm.email.value)=="")
	{
		alert("Please Enter Email !");
		document.frm.email.focus();
		return false;
	}
	else if(!isEmail(document.frm.email.value,1,0) || (document.frm.email.value.length==0)){
		alert("Invalid Email Address !");
		document.frm.email.focus();		
		return false;
	}
	if(document.frm.txt_password.value=="")
	{
		alert("Please Enter Password !");
		document.frm.txt_password.focus();
		return false;
	}
	document.frm.action.value = 'login';
	return true;
}