var xmlHttp;
function fnValidateEmail()	{
	var email=document.getElementById("EmailAddress").value; 
	if (email.length>0)	{
		xmlHttp=GetXmlHttpObject();
		if (xmlHttp==null)	{
			alert ("Your browser does not support this feature.");
			return;
		}     
		var url="asyncAddAuthen.php";
		url=url+"?email="+email;
		url=url+"&sid="+Math.random();
		xmlHttp.onreadystatechange=function()	{
			if (xmlHttp.readyState==4)	{
				document.getElementById("Email").innerHTML=xmlHttp.responseText;
			}
		}
		xmlHttp.open("GET",url,true);
		xmlHttp.send(null);
	}
	else	{
		document.getElementById("EmailAddress").innerHTML="";
	}
}
