// JavaScript Document

function check_email (object)
{
	var object;
	var mail;
	var testAt, testDot;
	
	if (object)
	{
		mail = object.value;
		testAt = mail.split('@');
		
		if (testAt.length > 1)
		{
			testDot = testAt[1].split('.');
			
			if (testDot.length > 1 && testDot[1])
				return false;
		}
	}
	
	return true;
}
