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