var xmlHttp

function name_change()
{
//alert(mid);
//alert(gid);
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request")
return
} 

var url = "../AjaxPhpFiles/namechange.php"; // The server-side script
//url=url+"?fid="+mid+"&gid="+gid
//alert(url);
xmlHttp.onreadystatechange=proFriChangenamechange
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
} 


function proFriChangenamechange() 
{ 
 	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	{ 
	    //document.getElementById("updatestatus1").innerHTML="";
		document.getElementById("name").innerHTML=xmlHttp.responseText
	} 
} 



function name_change1()
{
//alert(mid);
//alert(gid);
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request")
return
} 

var url = "../AjaxPhpFiles/namechange1.php"; // The server-side script
//url=url+"?fid="+mid+"&gid="+gid
//alert(url);
xmlHttp.onreadystatechange=proFriChangenamechange123
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
} 


function proFriChangenamechange123() 
{ 
 	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	{ 
	    //document.getElementById("updatestatus").innerHTML="";
		document.getElementById("name").innerHTML=xmlHttp.responseText
	} 
} 

function contact_email()
{
//alert(mid);
//alert(gid);
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request")
return
} 

var url = "../AjaxPhpFiles/contactemail.php"; // The server-side script
//url=url+"?fid="+mid+"&gid="+gid
//alert(url);
xmlHttp.onreadystatechange=proFriChangecontactemail
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
} 


function proFriChangecontactemail() 
{ 
 	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	{ 
	    //document.getElementById("updatestatus1").innerHTML="";
		document.getElementById("contact").innerHTML=xmlHttp.responseText
	} 
} 



function contact_email1()
{
//alert(mid);
//alert(gid);
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request")
return
} 

var url = "../AjaxPhpFiles/contactemail1.php"; // The server-side script
//url=url+"?fid="+mid+"&gid="+gid
//alert(url);
xmlHttp.onreadystatechange=proFriChangecontactemail123
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
} 


function proFriChangecontactemail123() 
{ 
 	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	{ 
	    //document.getElementById("updatestatus").innerHTML="";
		document.getElementById("contact").innerHTML=xmlHttp.responseText
	} 
} 

function change_pwd()
{
//alert(mid);
//alert(gid);
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request")
return
} 

var url = "../AjaxPhpFiles/changepwd.php"; // The server-side script
//url=url+"?fid="+mid+"&gid="+gid
//alert(url);
xmlHttp.onreadystatechange=proFriChangechangepwd
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
} 


function proFriChangechangepwd() 
{ 
 	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	{ 
	    //document.getElementById("updatestatus1").innerHTML="";
		document.getElementById("pwd").innerHTML=xmlHttp.responseText
	} 
} 



function change_pwd1()
{
//alert(mid);
//alert(gid);
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request")
return
} 

var url = "../AjaxPhpFiles/changepwd1.php"; // The server-side script
//url=url+"?fid="+mid+"&gid="+gid
//alert(url);
xmlHttp.onreadystatechange=proFriChangechanfepwd123
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
} 


function proFriChangechanfepwd123() 
{ 
 	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	{ 
	    //document.getElementById("updatestatus").innerHTML="";
		document.getElementById("pwd").innerHTML=xmlHttp.responseText
	} 
} 


function GetXmlHttpObject()
{ 
var objXMLHttp=null
if (window.XMLHttpRequest)
{
objXMLHttp=new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp
}
