var xmlHttp3

function get_mail(a)             /* to Check Email correct or not */
{
  xmlHttp3=GetXmlHttpObject3()

  if (xmlHttp3==null)
  {
    alert ("Browser does not support HTTP Request")
    return
  }

  var url="ajex/mail.php?mail="+a
  xmlHttp3.onreadystatechange=stateChanged5
  xmlHttp3.open("GET",url,true)
  xmlHttp3.send(null)
}

function stateChanged5()
{
  if (xmlHttp3.readyState==4 || xmlHttp3.readyState=="complete")
  {
     document.getElementById('a3').innerHTML=xmlHttp3.responseText
  }
}


function get_profileid(a)             /* to Check Email correct or not */
{
  xmlHttp3=GetXmlHttpObject3()

  if (xmlHttp3==null)
  {
    alert ("Browser does not support HTTP Request")
    return
  }

  var url="ajex/profile_id.php?proid="+a
  xmlHttp3.onreadystatechange=stateChanged35
  xmlHttp3.open("GET",url,true)
  xmlHttp3.send(null)
}

function stateChanged35()
{
  if (xmlHttp3.readyState==4 || xmlHttp3.readyState=="complete")
  {
     document.getElementById('a1').innerHTML=xmlHttp3.responseText
  }
}





function GetXmlHttpObject3()
{
  var xmlHttp3=null;
  try
  {    // Firefox, Opera 8.0+, Safari
    xmlHttp3=new XMLHttpRequest();
  }
  catch (e)
  { //Internet Explorer
    try
    {
      xmlHttp3=new ActiveXObject("Msxml.XMLHTTP");
    }
    catch (e)
    {
      xmlHttp3=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
  return xmlHttp3;
}



