function showCategoryPager(strURL) {
		document.getElementById('ajaxLoader').style.postition = "absolute";
		document.getElementById('ajaxLoader').style.top = "350px";
		document.getElementById('ajaxLoader').style.left = "310px";
		document.getElementById('ajaxLoader').display = '';
			
    var xmlHttpReq = false;
    var self = this;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
    }
    self.xmlHttpReq.open('POST', strURL, true);
    self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    self.xmlHttpReq.onreadystatechange = function() {
        if (self.xmlHttpReq.readyState == 4) {
            updateResult(self.xmlHttpReq.responseText);
        }
    }
    self.xmlHttpReq.send(strURL);
}

function updateResult(str){
    document.getElementById("divResultset").innerHTML = str;
    document.getElementById('ajaxLoader').display = 'none';
}

function articlePager(strURL,catid) {
    var xmlHttpReq = false;
    var self = this;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
    }
    self.xmlHttpReq.open('POST', strURL, true);
    self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    self.xmlHttpReq.onreadystatechange = function() {
        if (self.xmlHttpReq.readyState == 4) {
            updatePagerResult(self.xmlHttpReq.responseText,catid);
        }
    }
    self.xmlHttpReq.send(strURL);
}

function updatePagerResult(str,catid){
    document.getElementById("div_"+catid).innerHTML = str;
}

