
var xmlHttpLSed
function showOtherLSed(pg, par)
{ 
xmlHttpLSed=GetXmlHttpObjectLSed()
if (xmlHttpLSed==null)
 {
 alert ("Browser tidak support HTTP Request")
 return
 } 
var url="include/show-more-last-searched-in-action.php"
url=url+"?pg="+pg
url=url+"&par="+par
url=url+"&sid="+Math.random()
xmlHttpLSed.onreadystatechange=stateOtherLSed
xmlHttpLSed.open("GET",url,true)
xmlHttpLSed.send(null)
}

function stateOtherLSed() 
{ 
if(xmlHttpLSed.readyState != 4)
{
 document.getElementById("lsed_content").innerHTML = '<span class="textCilik">Mohon tunggu...</span>';
}
if (xmlHttpLSed.readyState==4 || xmlHttpLSed.readyState=="complete")
 { 
 document.getElementById("lsed_content").innerHTML=xmlHttpLSed.responseText 
 } 
}

function GetXmlHttpObjectLSed()
{
var xmlHttpLSed=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttpLSed=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttpLSed=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttpLSed=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttpLSed;
}