var xmlHttp
var strcommentid
var blnreply

function showUser(str,str2,blogid)
{ 
strcommentid=str
blnreply=str2
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var url="blog_comment_php.php"
url=url+"?q="+str
url=url+"&blnreply="+str2
url=url+"&blogid="+blogid
url=url+"&sid="+Math.random()

xmlHttp.onreadystatechange=stateChanged 
xmlHttp.open("GET",url,true)
xmlHttp.send(null)

xmlHttp2=GetXmlHttpObject()
if (xmlHttp2==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var url2="blog_comment_php2.php"
url2=url2+"?q="+str
url2=url2+"&blnreply="+str2
url2=url2+"&blogid="+blogid
url2=url2+"&sid="+Math.random()

xmlHttp2.onreadystatechange=stateChanged2
xmlHttp2.open("GET",url2,true)
xmlHttp2.send(null)

xmlHttp3=GetXmlHttpObject()
if (xmlHttp3==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var url3="blog_comment_php3.php"
url3=url3+"?q="+str
url3=url3+"&blnreply="+str2
url3=url3+"&blogid="+blogid
url3=url3+"&sid="+Math.random()

xmlHttp3.onreadystatechange=stateChanged3
xmlHttp3.open("GET",url3,true)
xmlHttp3.send(null)
}





function stateChanged() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("txtBox"+strcommentid).innerHTML=xmlHttp.responseText
 } 
}

function stateChanged2() 
{ 
if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
 { 
 document.getElementById("txtReply"+strcommentid).innerHTML=xmlHttp2.responseText
 } 
}

function stateChanged3() 
{ 
if (xmlHttp3.readyState==4 || xmlHttp3.readyState=="complete")
 { 
 document.getElementById("txtBottomReply").innerHTML=xmlHttp3.responseText
 } 
}

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