
var xmlHttpMore
function showMeMoreComment(nid, pnum)
{ 
xmlHttpMore=GetXmlHttpObjectMore()
if (xmlHttpMore==null)
 {
 alert ("Browser tidak support HTTP Request")
 return
 } 
var url="include/show-more-comment-in-action.php"
url=url+"?nid="+nid
url=url+"&pnum="+pnum
url=url+"&sid="+Math.random()
xmlHttpMore.onreadystatechange=stateOtherMore
xmlHttpMore.open("GET",url,true)
xmlHttpMore.send(null)
}

function stateOtherMore() 
{ 
if(xmlHttpMore.readyState != 4)
{
 document.getElementById("memuatProgress").innerHTML = '<span class="validIjo">Sedang memuat, mohon tunggu...</span>';
}
if (xmlHttpMore.readyState==4 || xmlHttpMore.readyState=="complete")
 { 
 document.getElementById("nxtComm").innerHTML=xmlHttpMore.responseText;
 document.getElementById("memuatProgress").innerHTML = '';
 } 
}

function GetXmlHttpObjectMore()
{
var xmlHttpMore=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttpMore=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttpMore=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttpMore=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttpMore;
}