// JavaScript Document

function checklogin()
{
		if(Trim(document.frmlogin.txtusername.value)=="")
		{
			alert("Enter your login name.");
			document.frmlogin.txtusername.focus();
			return false;
		}
		if(Trim(document.frmlogin.txtpassword.value)=="")
		{
			alert("Enter your Password.");
			document.frmlogin.txtpassword.focus();
			return false;
		}
	
	return true;
}

function checkfgpwd()
{
		if(Trim(document.frmlogin.txtemail.value)=="")
		{
			alert("Enter your login Email.");
			document.frmlogin.txtemail.focus();
			return false;
		}
	return true;
}

function setFocus()
{
	document.frmlogin.txtusername.focus();
	document.frmlogin.txtusername.select();
	return false;
}
