// JavaScript Document
function valides(theForm)
{
	if(theForm.emailtxt.value=="")
	{
		alert("Please enter your email address");
		theForm.emailtxt.focus();
		return false;
	}
	if(!checkEmail(theForm))
	{
		alert("Invalid email address");
		theForm.emailtxt.focus();
		return false;
	}
	return true;
}
function checkEmail(theForm) 
{
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(theForm.emailtxt.value)){
		return (true)
	}
	return (false)
}