//http://www.regular-expressions.info/email.html
function validate_email(email)
{
	if (email.match(/^[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i))
	{
		//alert("Email Address is Valid");
		return true;
	}
	else
	{
		//alert(email + " is not a valid email address");
		return false;
	}
}


function validate_request_login()
{
	if  (!validate_email(document.getElementById('email').value)) { alert('A valid email address is mandatory'); return false; }
	
	if (!document.getElementById('country').value) { alert('Country is mandatory'); return false; }
	
	return true;
}
