function showuser(str)
  { 
   document.getElementById("check_default").style.display="none";
  // document.getElementById("check_pcode_default").style.display="none";

  xmlHttp=CreateXmlHttpObject();
 // xmlHttp2=CreateXmlHttpObject();
  if (xmlHttp==null)

  {

  alert ("Browser does not support HTTP Request")

  return

  } 
 
  var url="check_user_local2.php"

  url=url+"?qparam="+str

  url=url+"&sid="+Math.random()
  
  xmlHttp.onreadystatechange=stateChanged 

  xmlHttp.open("GET",url,true)

  xmlHttp.send(null)

  }
  
  
  function stateChanged() 

  { 

    if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
    { 
    document.getElementById("check").innerHTML=xmlHttp.responseText;
	
    } 
	
  } 
  /*########################################################*/
  function showuser_pcode(str)
  { 
   //document.getElementById("check_default").style.display="none";
   document.getElementById("check_pcode_default").style.display="none";

  //xmlHttp=CreateXmlHttpObject();
  xmlHttp2=CreateXmlHttpObject();
 
 if (xmlHttp2==null)

  {

  alert ("Browser does not support HTTP Request")

  return

  } 
  
   var url2="check_user_local3.php"

  url2=url2+"?qparam2="+str

  url2=url2+"&sid="+Math.random()
 
  xmlHttp2.onreadystatechange=stateChanged4 

  xmlHttp2.open("GET",url2,true)

  xmlHttp2.send(null)
  }
  function stateChanged4() 

  { 

	if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
    { 
    document.getElementById("check_pcode").innerHTML=xmlHttp2.responseText;
	
    } 

  } 
 /* HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH */
 function showuser_new(str)
  { 
   document.getElementById("check_default_new").style.display="none";
   //document.getElementById("check_pcode_default_new").style.display="none";

  xmlHttp=CreateXmlHttpObject();
  //xmlHttp2=CreateXmlHttpObject();
  if (xmlHttp==null)

  {

  alert ("Browser does not support HTTP Request")

  return

  } 
 /*if (xmlHttp2==null)

  {

  alert ("Browser does not support HTTP Request")

  return

  } */
  
  var url="check_user_local2.php"

  url=url+"?qparam_new="+str
  
  url=url+"&sid="+Math.random()
 
  xmlHttp.onreadystatechange=stateChanged2 

  xmlHttp.open("GET",url,true)

  xmlHttp.send(null)


  /*var url2="check_user_local3.php"

  url2=url2+"?qparam_new2="+str

  url2=url2+"&sid="+Math.random()
 
  xmlHttp2.onreadystatechange=stateChanged2 

  xmlHttp2.open("GET",url2,true)

  xmlHttp2.send(null)*/
  }
  
   function stateChanged2() 

  { 

    if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
    { 
    document.getElementById("check_new").innerHTML=xmlHttp.responseText;
	
    } 
	
	/*if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
    { 
    document.getElementById("check_pcode_new").innerHTML=xmlHttp2.responseText;
	
    } */

  } 
 /*HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH*/
  


  
 
 function showuser_new_pcode(str)
  { 
   //document.getElementById("check_default_new").style.display="none";
   document.getElementById("check_pcode_default_new").style.display="none";

 // xmlHttp=CreateXmlHttpObject();
  xmlHttp2=CreateXmlHttpObject();
  
if (xmlHttp2==null)

  {

  alert ("Browser does not support HTTP Request")

  return

  } 
  
 
  var url2="check_user_local3.php"

  url2=url2+"?qparam_new2="+str
  
  url2=url2+"&sid="+Math.random()
 
  xmlHttp2.onreadystatechange=stateChanged5

  xmlHttp2.open("GET",url2,true)

  xmlHttp2.send(null)
  } 
  
  function stateChanged5() 

  { 

	if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
    { 
    document.getElementById("check_pcode_new").innerHTML=xmlHttp2.responseText;
	
    } 

  } 
/*#################################################################################*/
function CreateXmlHttpObject()

  { 

  var objXMLHttp=null

  if (window.XMLHttpRequest)

  {

  	objXMLHttp=new XMLHttpRequest()

  }

  else if (window.ActiveXObject)

  {

  objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")

  }

  return objXMLHttp

  }
  
  
   
