var xmlHttp

function pagination(page)
{
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  }
//var url="test_sub.php";
var url="feedback-caller.php";
url = url+"?starting="+page+"&action=call_page";
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
} 

function stateChanged(){ 
	if(xmlHttp.readyState==3){ 
	document.getElementById("car_loader").innerHTML = "loading...";
	}
if(xmlHttp.readyState==4){ 
	document.getElementById("car_loader").innerHTML ="";
	document.getElementById("page_contents").innerHTML=xmlHttp.responseText;
	}
}


function pagination1(page)
{
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  }
//var url="test_sub.php";
var url="feedback-body-caller.php";
url = url+"?starting="+page+"&action=feedback_body";
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=stateChanged1;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
} 

function stateChanged1(){ 
	if(xmlHttp.readyState==3){ 
	document.getElementById("car_loader1").innerHTML = "loading...";
	}

if(xmlHttp.readyState==4){ 
	document.getElementById("car_loader1").innerHTML ="";
	document.getElementById("page_contents1").innerHTML=xmlHttp.responseText;
	}
}
 
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;
}
