var xmlHttp
function getimage(str)
{ 
//alert(str);
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 } 
var url="getimage.php"
url=url+"?id="+str
url=url+"&sid="+Math.random()
xmlHttp.onreadystatechange=stateChanged 
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
//setTimeout('showUser(1)',10000); 
}

function stateChanged() 
{ 
if (xmlHttp.readyState!=4 )
 { 
 document.getElementById("description").innerHTML=""
 } 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("description").innerHTML=xmlHttp.responseText 
 } 
}
var xmlHttp1

function gettitle(str)
{ 
//alert(str);
xmlHttp1=GetXmlHttpObject()
if (xmlHttp1==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 } 
var url="gettitle.php"
url=url+"?id="+str
url=url+"&sid="+Math.random()
xmlHttp1.onreadystatechange=stateChanged1 
xmlHttp1.open("GET",url,true)
xmlHttp1.send(null)
//setTimeout('showUser(1)',10000); 
}

function stateChanged1() 
{ 
if (xmlHttp1.readyState!=4 )
 { 
 document.getElementById("title").innerHTML=""
 } 
if (xmlHttp1.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("title").innerHTML=xmlHttp1.responseText 
 } 
}



function GetXmlHttpObject()
{
var xmlHttp=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp;
}