var xmlHttp1
var loadstatustext="<img src='loading1.gif' /> Requesting Content..."
function showUser1(literature_type,block,status,lang_id,search_key,search_by,country_id,str,np)
{ 
document.getElementById('txtHint1').innerHTML=loadstatustext
search_key = search_key || "0"
search_by = search_by || "0"
str = str || "0"
np = np || "0"


xmlHttp1=GetXmlHttpObject1()
if (xmlHttp1==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 } 
var url1="getliterature.php"
url1=url1+"?literature_type="+literature_type
url1=url1+"&block="+block
url1=url1+"&status="+status
url1=url1+"&lang_id="+lang_id
url1=url1+"&search_key="+search_key
url1=url1+"&search_by="+search_by
url1=url1+"&country_id="+country_id
url1=url1+"&s="+str
if (np!=0)
{
url1=url1+"&np="+np
}
url1=url1+"&sid1="+Math.random()
xmlHttp1.onreadystatechange=stateChanged1 
xmlHttp1.open("GET",url1,true)
xmlHttp1.send(null)
}

function stateChanged1() 
{ 
if (xmlHttp1.readyState==4 || xmlHttp1.readyState=="complete")
 { 
 document.getElementById("txtHint1").innerHTML=xmlHttp1.responseText 
 } 
}

function GetXmlHttpObject1()
{
var xmlHttp1=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp1=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttp1=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp1=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp1;
}
