<!--
// (c) May 2002, R. Rajesh Jeba Anbiah
// rrjanbiah@yahoo.com, http://RajeshAnbiah.itgo.com
function chkLoginForm(frm)
{
	//Is cookie enabled?
	if (!navigator.cookieEnabled)
		{
			alert( "Error: Your browser is not cookie enabled!\n You must enable cookies to access this site!" );
			return( false );
		}


	var msg = Array("valid email !!\n[Your Login Id is your email address]", "password !!");
	var obj = Array(frm.email, frm.password);
	var i;
	var ok = true;
	for (i=0 ; ok && i<2 ; ++i)
	  if (i==0)		// email
			ok = (obj[i].value.match(/(\w@\w+\.\w)/gi)!= null);
		  else
			ok = (obj[i].value.match(/(\w+)/gi)!= null);
	if (!ok)
		{
			--i;
			alert("Please enter your "+msg[i]);
			obj[i].focus();
			obj[i].select();
		}
	return(ok);
}
//-->