var xmlHttp
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;
}


var vote_facts=null;
function openPopup(id)
{ 
	
//alert(str);
//alert(id);
//vote_facts=id;
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var url="keywords_inc/keywordAjax.php";
//url=url+"?vote="+str;
url=url+"?id="+id;
xmlHttp.onreadystatechange=getKeywordDetails; 
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
}



function getKeywordDetails() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
// document.getElementById("vote_"+vote_facts).innerHTML=xmlHttp.responseText 
keyArr=xmlHttp.responseText.split("<||>");
displayKeworddetails(keyArr[0],keyArr[1]);
 } 
}